major help, with div? |
![]() ![]() |
major help, with div? |
Oct 7 2006, 10:02 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 140 Joined: Apr 2006 Member No: 399,166 |
ok i made this div but i want it to be centered but i dnt kno wht to do
can u help please heres how it is rite now My Webpage |
|
|
|
Oct 7 2006, 10:07 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Put the image in a div and align it to the center.
Then re-align all your divs. |
|
|
|
Oct 7 2006, 10:12 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 140 Joined: Apr 2006 Member No: 399,166 |
and how do i do tht??
|
|
|
|
Oct 7 2006, 10:17 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
um the same way you do text.
CODE <div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;"> <img src="IMAGEURLHERE"> </div> Change all the 0's to positions and numbers. |
|
|
|
Oct 7 2006, 10:31 PM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 140 Joined: Apr 2006 Member No: 399,166 |
i tried =[
it didnt work! =[[ ahh i need help = / |
|
|
|
Oct 7 2006, 10:32 PM
Post
#6
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
What is your overall layout code.
and how did you edit the code I gave you? I'm positive it works. |
|
|
|
Oct 7 2006, 10:38 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 140 Joined: Apr 2006 Member No: 399,166 |
liek it works...but it hid the ad?
|
|
|
|
Oct 7 2006, 10:39 PM
Post
#8
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Nope it doesn't. Unless you position your image over it. The top number for that code should be at least 150px or higher. Nothing lower and it won't cover your ad.
If you are still have trouble post your code dear. |
|
|
|
Oct 7 2006, 10:52 PM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 140 Joined: Apr 2006 Member No: 399,166 |
ooo ok lol
thank you soo much =]] |
|
|
|
![]() ![]() |