Positioning is off |
Positioning is off |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 79 Joined: Oct 2007 Member No: 583,422 ![]() |
I have been trying to do this layout all day and for the life of me I can't figure out what's wrong..
Everything is backwards. Where I want something to appear several pixels from the left it goes half way across the page but it works perfectly if i go from the right rather then the left. or I'm trying to position my news 160px from the top but it went to the bottom of my page. I set it to 0 and it still doesn't reach the top of my page. CODE <?php include('header.php'); ?> <div style="position:absolute;background-color:#ffffff; right: 342px; top:0px; width:494px;border= 1px solid #000000; overflow: auto; overflow-x: hidden;"> <div class="content"> <?PHP $number=5; $template="Lay1"; include("/home/trulysel/public_html/cutenews/show_news.php"); ?> <?php include('footer.php'); ?> thats the code. here's the site click here help? |
|
|
![]() |
![]()
Post
#2
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 79 Joined: Oct 2007 Member No: 583,422 ![]() |
Yes, I understand that. What I'm saying though is that when I set it to go to the left a certain amount of pixels it goes half way across the page.
Look at this code. CODE <DIV style="position: absolute; top: 160; left: 900px; width: 294px;"> <DIV CLASS="content2"> elite affiliates </div> <br> <DIV style="position: absolute; top: 260; left: 0; width: 294px;"> <DIV CLASS="content2"> latest images </div> one is set to left: 900 and one is left: 0 but look at the website and they're in the same place to the left but they won't position correctly. It's backwards web site |
|
|
![]() ![]() |