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
|
|
![]() i like boobies, yes I do. I like boobies - how 'bout you? ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 620 Joined: Jun 2008 Member No: 662,457 ![]() |
Take a break, grab some toast... Seriously, stop looking at the code for a while an then come back haha.
Most of what needs to be fixed is just a bunch of alt tags - skip those for now and just fix the other problems. After that, revalidate and all that should be left to do is the alt tags. Personally I only ever fill those with alt="rabble" or something stupid that I can copypasta to make the whole process take like 5 minutes. I think the biggest problem with you source is that you didn't specify a doctype so your browser probably defaulted to one that isn't going to parse correctly with some of the codes you have. Trust me, specifying a doctype is extremely important and can make, or in this case, break a layout. |
|
|
![]() ![]() |