SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    nested div wrap problem

    HEre's a good one. I have 2 divs, one inside the other. I want the text in the outer div to wrap around the inner div. Mozilla displays this right, but IE does not. Here's the page:

    http://hearandnow.livingpages.net

    Here's my code:
    Code:
    <div id="leftcontent">
            <div id="logo">
                <p class="image">
                <a class="image" href="http://www.1158.net">    
                <img class="image" src="1158logo.gif" width="200" height="151" alt="Hear &amp; Now" />
                </a>
            </div>
        <h1>September Events at Hear &amp; Now</h1>
    .
    .
    .
    </div>
    and my relative CSS:
    Code:
    #leftcontent {
        float:left;
        width:67%;
        background:#fff;
        border-right:2px solid #000;
        border-bottom:2px solid #000;
        margin-right:15px;
        padding-bottom:20px;
        font-size: 8pt;
        }
     #logo {
        float: right;
        position : relative;
        }
     .image {float: right; }
    Any ideas?
    Last edited by Sketch; Aug 17, 2002 at 12:38.
    Aaron Brazell
    Technosailor




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •