[UPHPU] CSS question.

Connor Boyack cboyack at gmail.com
Tue May 30 19:33:34 MDT 2006


On 5/30/06, Wade Preston Shearer <lists at wadeshearer.com> wrote:
>
> The CSS "width" is the width of the box. The reason that you are
> getting horizontal scrolling is because of the border. Borders are
> outside of box and there for outside of the width. Your box is 100% +
> 2px and thus wider than the viewport.
>

Also, be sure to set

body{ margin:0; padding:0; }

so that you don't get the browser-default margin and padding screwing up
your layout width.

Connor

-- 
Connor Boyack
WebVid Productions
http://www.webvidpro.com/


More information about the UPHPU mailing list