Forum Moderators: not2easy

Message Too Old, No Replies

CSS content div not fully stretched

         

raquibulbari

8:34 am on Mar 28, 2008 (gmt 0)

10+ Year Member



Hi,
i have a content div in my html, i put tables in the content div,
when the table size is larger than the width of the content div the content is not extending to right, i tried with setting width properties, normally i want the conten div to take 80% of the total width but want to extend when required, i need the solution for ie too. Min-width is not included in ie, if anybody can help that would be great for me.

Here is the css


content {
overflow:visible;
background: url(content_bg.gif) repeat;
color: #666666;
left: 10px;
margin-right: 30px;

min-height: 530px;
padding-bottom: 10px;
padding-top: 8px;
padding-left: 25px;
padding-right: 20px;
position: absolute;
text-align: left;

width: 80%;
top: 60px;
z-index: 1;
}


Regards
shimul

mattur

2:39 pm on Mar 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi raquibulbari,

You can use expressions in IE to set a min-width, see this thread: min-width in IE [webmasterworld.com]