Forum Moderators: not2easy

Message Too Old, No Replies

Getting main div box to reach the top

         

Jamier101

8:25 pm on Oct 14, 2010 (gmt 0)

10+ Year Member



I seem to have a problem where I can't get the main div to reach the top of the screen and it always leaves a border, the best example I can find of what I'm after is on moneysavingexpert.com as they content fills the entire page leaving no top border.

Any idea's?

Major_Payne

10:22 pm on Oct 14, 2010 (gmt 0)



A better solution would be to post your CSS and HTML for the problem page here. As jsut a guess solution, try adding this to the very top of your CSS:


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


That is the Universal Selector and must be placed at the very beginning of all your CSS.

Ron