Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 13:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Image Center und bottm

Discussion on Image Center und bottm within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Raymond Reddington's Avatar
 
elite*gold: 45
Join Date: Nov 2013
Posts: 889
Received Thanks: 32
Image Center und bottm

Hey folgendes Problem ich doktore heute schon den ganzen Abend rum nen Bild

Center zu machen und an den bottom zu heften. Bekomme ich nicht hin. Bitte um suggestions.

HTML Code:
<div class="jumbotron">
<h1>Text</h1>
 <div class="templates">
 </div>
</div>
Wie mach ich das jetzt Center und Bottom fixed zugleich? Ich hab mit mehreren div's probiert und auch mehreren anderen dingen aber mit meiner Weißheit bin ich am ende ;(
Raymond Reddington is offline  
Old 04/11/2014, 15:44   #2

 
~ JWonderpig ~'s Avatar
 
elite*gold: 60
Join Date: Sep 2013
Posts: 1,427
Received Thanks: 248
so sollte es klappen, ob es sauber ist, ist eine andere Frage:
Code:
css {
   width: 200px
   position: fixed;
   bottom: 0;
   left: 50%;
   margin-left: -100px
}
Bei margin-left die Hälfte der Breite nehmen.
~ JWonderpig ~ is offline  
Old 04/11/2014, 20:17   #3
 
Raymond Reddington's Avatar
 
elite*gold: 45
Join Date: Nov 2013
Posts: 889
Received Thanks: 32
Quote:
Originally Posted by Caiv View Post
so sollte es klappen, ob es sauber ist, ist eine andere Frage:
Code:
css {
   width: 200px
   position: fixed;
   bottom: 0;
   left: 50%;
   margin-left: -100px
}
Bei margin-left die Hälfte der Breite nehmen.
Dachte ich auch. Geht aber nicht. Dockt das ganz unten an nicht im jumbotron unten
Raymond Reddington is offline  
Old 04/11/2014, 20:49   #4

 
~ JWonderpig ~'s Avatar
 
elite*gold: 60
Join Date: Sep 2013
Posts: 1,427
Received Thanks: 248
Dann wäre etwas mehr Code hilfreich.
~ JWonderpig ~ is offline  
Old 04/12/2014, 21:17   #5
 
ArgonQQ's Avatar
 
elite*gold: 1003
Join Date: May 2011
Posts: 690
Received Thanks: 107
Quote:
Originally Posted by Cosmac View Post
Dachte ich auch. Geht aber nicht. Dockt das ganz unten an nicht im jumbotron unten
"Position: fixed" steht auch für eine fixierte position.

D.h. wenn du scrollst, wird es immer an der selben position sein.

Wenn es in einem Div sein soll, bzw. in einem gewissen Bereich,
solltest du mehr Quelltext angeben!
ArgonQQ is offline  
Reply


Similar Threads Similar Threads
[CENTER]hello people would ask how do programs and functions[/CENTER]
07/20/2010 - S4 League - 7 Replies



All times are GMT +1. The time now is 13:24.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.