Jump to content

width 100% problem


aebstract

Recommended Posts

Eh.. I hate these kinda problems with css. Anyway, I have a div that I have position absolutely top: 0 and left: 576. I want that div to fill in the remainder of the screen, going to the right. I put width 100% but that makes the whole page scroll and makes that div really wide, not just end at the side of the page. www.carbenco.com for the sample, the brown is what should end at the side of the screen, but continues. Here is the css for that div:

[code]#two {
position: absolute; top: 0px; left:576px;
background: url("brownbg.jpg");
width: 100%;
                height: 504px;
}
[/code]


Thanks!
Link to comment
https://forums.phpfreaks.com/topic/24014-width-100-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.