• 0

CSS height


Question

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:

f9815_Screenshot%202010-05-13%20at%2022.33.49.png

The blue background should wrap around the other text right? Or am i being a CSS noob?

Thanks

Nicholas-c

Link to comment
https://www.neowin.net/forum/topic/901010-css-height/
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.