Justin Koivisto wrote:
> OK, I have the following:
>
> #elem{
> position: absolute;
> top: 85px;
> left: 100px;
> height: 76px;
> color: #000;
> background-color: #9AB9D6;
> }
>
> I want the width of it to be 100%-100px - Is this possible?
don't think so
> "width: auto;" didn't work, the background-color wasn't applied across
> the page. "width: 100%;" creates a nice vertical scroll bar - at all
> resolutions.
>
I guess there is no problem with the content - it's the background that is
causing trouble right? Perhaps a containing div with the relevant
background properties set would do it for you.
Tricky to tell unless you say what you're really trying to achieve.
--
William Tasso
Recommended reading ...
<a style='text-decoration: underline;' href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>
<a style='text-decoration: underline;' href="http://www.aww-faq.org/" target="_blank">http://www.aww-faq.org/</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: div element width with css