SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2002
    Location
    Vancouver Canada
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I prevent text from going under a floating ad aka put nothing below it?

    if you look at Wired.com you will see that below their left column, there is nothing below it except space. Looking at there CSS info for that I can't figure out how to do it. Here's their code
    Code:
    #colL {
      background:#000 url("../images/leftcol_bot.gif") bottom right no-repeat;
      position:absolute;
      width:25%;
      left:0;
      top:-15px;
      }
    #colL .content {
      padding:0 10px 15px 10px;
      color:#ccc;
      font-size:85%;
      line-height:135%;
      }
    look at my Dev site, and you can see that the text wraps below the google ad at the bottom. How do I prevent this? and Safari 1.2.3 doesn't support CSS columns yet.

    Thanks all.
    Get busy living or get busy dying
    --Stephen King

  2. #2
    Forums Designer
    Join Date
    Jun 2004
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set margin-left for your content area

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2002
    Location
    Vancouver Canada
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't work
    Get busy living or get busy dying
    --Stephen King

  4. #4
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    USA
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mac Write
    Doesn't work
    It will work when you remove the space between "#" and "content".

    BaenSidhe

  5. #5
    SitePoint Zealot
    Join Date
    Jul 2002
    Location
    Vancouver Canada
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OOPS fixed. Thanks. I am still completely new to CSS (2 weeks at it now beyond the basic a:link a:hover)
    Get busy living or get busy dying
    --Stephen King


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
  •