Centering Header Image |
Centering Header Image |
![]()
Post
#1
|
|
![]() Yes You Can Can Can ![]() ![]() ![]() ![]() Group: Member Posts: 103 Joined: Dec 2006 Member No: 488,190 ![]() |
How can I do it and have it work in all resolutions and browsers? Thanks!
|
|
|
![]() |
![]()
Post
#2
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Use a regular div code?
CODE .divname{ position: absolute; left: #px; top: #px; z-index: #;} or CODE .divname{ position: absolute; left: 50%; margin-left: #px; top:0%; margin-top: #px; } (they need style tags or if you have a .css file you can just stick it in there) and CODE <div class="divname">
<img src="urltoimage"> </div> |
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Sep 2006 Member No: 461,376 ![]() |
I center with the same css toyo loco posted, except mine has a small difference.
CODE #Image { left: 0px; POSITION: absolute; TOP: 0px; } ^in the css, with the zeros in CODE <div id="image"> <center><img src="image url"></center></div> ^in the body. ![]() |
|
|
![]() ![]() |