Make div with absolute position expand and fill the rest of the page

Posted by Clox on Stack Overflow See other posts from Stack Overflow or by Clox
Published on 2010-03-15T10:49:29Z Indexed on 2010/03/15 11:09 UTC
Read the original article Hit count: 192

Filed under:
|
|
|

I have a div with absolute positioning, which serves as a kind of horizontal line, with a background image with x-repition. I want its width to fill up the whole page, but its x-position isn't 0 so I can't just give it width 100%. How do I do it?

© Stack Overflow or respective owner

Related posts about css

Related posts about div