Hey guys, Need a little help with CSS, It's only wrapping around the text and not an image...
The HTML
<div id="content">
One line of text... 13px high..
<div id="left">350px image</div>
<div id="right">Some text/form, smaller than image</div>
</div>
Question
Nicholas-c Veteran
Hey guys, Need a little help with CSS, It's only wrapping around the text and not an image...
The HTML
<div id="content"> One line of text... 13px high.. <div id="left">350px image</div> <div id="right">Some text/form, smaller than image</div> </div>The CSS
#content { margin: blah; width:740px; font etc etc etc } #left { padding-left:20px; width: 365px; float: left; } #right { padding-right: 40px; width: 300px; float: right; }The problem:
The blue background should wrap around the other text right? Or am i being a CSS noob?
Thanks
Nicholas-c
Link to comment
Share on other sites
2 answers to this question
Recommended Posts