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 ![]() |
Personally I always shoot for XHTML 1.0 Strict but I think in your case you're better off with XHTML 1.0 Transitional, however this does cause the validator to see 275 errors 4 warnings...
![]() Also, just a question, why are you using inline styling? It slows down how fast people can access your site as compared to an external stylesheet. When the browser has to load the new CSS for each page instead of once from reference, older computers and dial-up practically asplode because they have to download the same exact CSS a million times. |
|
|
![]() ![]() |