SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2006
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layout Blocks Issue

    Hi,

    How do fix the slideshow in this link so that the main content fits snugly around it?

    Thanks!

    Code CSS:
    #slideshow {
        position:relative;
        height:186px;
    		width: 450px;
    		background-color:#000;
    }
     
    #slideshow IMG {
        position:absolute;
        top:0;
        left:0;
        z-index:8;
    border: none;padding:0;margin:0;
    }
     
    #slideshow IMG.active {
        z-index:10;
    }
     
    #slideshow IMG.last-active {
        z-index:9;
    }

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    It's sitting snugly in Firefox, so maybe you are viewing this on another browser. But you could try something like this:

    Code:
    #slideshow {
      position:relative;
      height:186px;
      width: 450px;
      background-color:#000;
      float: left;
    }

  3. #3
    SitePoint Evangelist
    Join Date
    Oct 2006
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just had to remove the width and height. Thanks!


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
  •