Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Div doesn’t reach edge of browser page Re: Div doesn’t reach edge of browser page

#82882
WouterJ
Member

A browser put some standard margins and paddings on elements. You must reset them, look for the code on the post above.

Better is to reset youre hole CSS and then build op youre own styles. A good css reset is: http://meyerweb.com/eric/tools/css/reset/

You use inline style (height, style, width attributes). This isn’t a very good way to make you’re CSS. Beter is working with a stylesheet (.css file). And load this file in youre page with de link tag in the head.