Postioning Divs Question |
Postioning Divs Question |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Sep 2005 Member No: 225,723 ![]() |
Alright, Im positioning my divs on this layout:
http://www.xanga.com/HPlayouttesting Here's the code, so far. QUOTE <center> <img src="http://makeshiftwings.org/HPLayout.png"> </center> <div style="overflow:auto; width:400px; height:550px; margin-top:-350px; margin-left:-1px;"> <style type=text/css> /* remove regular modules */ table.footer, texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none} table.blogbody tr td {width:0px; padding: 0px;} </style> And yes, I've ended my div in the Website stats. Here's my problem: It only allows me to edit margin left in negative pixels. The problem is, I've made it to -1, and I haven't aligned it as far to the left as I would like it to be. If you look at it right now, the text is as far left as I can get it to go. If I try aligning it in postive numbers, it just doesn't move from it's current position. I tried setting the alignment to left, then postioning it, and it let me do that in positive numbers, and it worked, and I got it to the right place. However, the ad got moved to the left, and it was just bugging me. So can someone either expain why its only aligning in negative numbers, and what I can do to fix that. Or, how to align the ad into the center when I have th alignment set at left. Thanks a bunch! |
|
|
![]() |
![]()
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
There's a reason I gave it. When you set the alignment to left, you use that and it's fairly lined up. And........ Positive numbers work. But the centering prevents it from being moved properly, because everything is being moved from the center. If you were going to keep it on center, then take out the center tags for the image, which are redundant, but it won't do anything....
|
|
|
![]() ![]() |