Hi
My problem I want to create a container that holds text and image, floated left
If a image is not visible I want the text to text fill the whole width;
Can some tell why when I set a min-width firefox ignores it
.ContentArticle span{
float:left;
position:relative;
width:auto;
max-width:auto;
min-width:354px;
padding-left:30px;
display:inline;
border:1px solid blue;
}
.ContentArticleImage{
float:right;
border:1px solid;
}
<div class="ContentArticleImage"><img src="../Images/hifi_room01.jpg" alt="" title="" /></div>
<div class="ContentArticle">
<span>gzsgasgdgdsgsgsgsgsgsdgsg</span>
</div>
My problem I want to create a container that holds text and image, floated left
If a image is not visible I want the text to text fill the whole width;
Can some tell why when I set a min-width firefox ignores it
.ContentArticle span{
float:left;
position:relative;
width:auto;
max-width:auto;
min-width:354px;
padding-left:30px;
display:inline;
border:1px solid blue;
}
.ContentArticleImage{
float:right;
border:1px solid;
}
<div class="ContentArticleImage"><img src="../Images/hifi_room01.jpg" alt="" title="" /></div>
<div class="ContentArticle">
<span>gzsgasgdgdsgsgsgsgsgsdgsg</span>
</div>