CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Full Screen Width with CSS (http://www.codingforums.com/showthread.php?t=228022)

cgeller100 05-28-2011 12:38 AM

Full Screen Width with CSS
 
I am using divs to layout my page, one 20% and one 80% across. However, the 80% doesn't cover the whole screen and there are about 20pixels of whitespace on the right. How do I get the divs to cover the whole screen?

Thank You

[CODE]
#desc {width: 20%;float: left; margin-top: 0px; position: absolute; top: 0px; left: 0px; }
#headline {width: 80%; float: right; margin-left: 0px; margin-top: 0px;}
[CODE]

alykins 05-28-2011 12:41 AM

in CSS

* {margin:0px; padding:0px;}

to remove bowser settings

cgeller100 06-04-2011 12:19 AM

Partly Solved
 
This gets rid of about half the whitespace on the right but there are still about 10 more pixels. Any other ideas? Thank You

Ahlahn 06-04-2011 01:46 AM

#headline {width: 80%; float: right; margin-left: 0px; margin-top: 0px; padding:0px;}


All times are GMT +1. The time now is 08:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.