html - CSS property width: 100%; make a page longer -



html - CSS property width: 100%; make a page longer -

i have totally simple layout, in page silver background , reddish div, possible see on image below. problem is, when add together reddish div layout page, page longer on length 100% (bottom on right corner - slider). problem caused this?

the css properties of reddish div are:

html, body { background-color: silver; margin: 0; padding: 0; } .red-div { overflow: hidden; width: 100%; position: absolute; top: 0; left: 0; }

.red-div { overflow: hidden; position: absolute; top: 0; left: 0; right:0; /* need */ }

that way, can forcefulness go end of browser. when 100%, not business relationship scrollbars. add together space , annoying side-scroll

css html width css-position

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -