Float element under image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #1

    Float element under image

    Hi, guys.

    You'll forgive me - it's been a while since I've done anything with HTML & CSS, and, as such, I'm rusty.

    Now, I have the typical "header" section of a webpage. That header is 130px tall, and in that header, there is an image that exceeds this height and so pushes the header down and any text following the header. However, I would like the text under the header to sit near-flush to it. See this page for an example. The HTML and CSS can be viewed via the source.

    Any ideas?
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    To the image's css add 'float:left'

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Brilliant.

      Thanks, Doc.

      Comment

      Working...