Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorgreg9885
    • CommentTimeJun 4th 2009
     permalink
    I am trying to get a background color to extend infinitely outward to the left of the page. If I use a negative margin, then it doesn't extend out past the container. I don't know any other way to do this... Any ideas??
    • CommentAuthorgreg9885
    • CommentTimeJun 4th 2009
     permalink
    Anyone have any ideas?????
    • CommentAuthordavist11
    • CommentTimeJun 5th 2009
     permalink
    Can you provide a URL?
    • CommentAuthorgreg9885
    • CommentTimeJun 5th 2009
     permalink
    I don't have a url to show... i guess i'm wondering if it's possible to have a negative margin extend outside the container?? Can I use z-index??
    • CommentAuthordavist11
    • CommentTimeJun 5th 2009
     permalink
    It's hard to figure out exactly what you are talking about without seeing any kind of visualization of what you are trying to achieve.
    • CommentAuthorgreg9885
    • CommentTimeJun 5th 2009
     permalink
    here's an image of what i'm talking about http://tinypic.com/r/xbjw21/5
    • CommentAuthordavist11
    • CommentTimeJun 5th 2009
     permalink
    So you are just trying to move an element outside of the container? Sure, use a negative margin or positioning.

    Beyond that advice, not sure anyone can help without seeing some code.
    • CommentAuthorgreg9885
    • CommentTimeJun 5th 2009
     permalink
    this is what i have

    #container{width:960px; display:block; overflow:auto; margin:0 auto 0 auto}

    #infinite-line{background-color:#000000; height:35px; width:99px; margin:0 0 0 -20px; position:relative;}
    • CommentAuthordavist11
    • CommentTimeJun 5th 2009
     permalink
    Remove overflow:auto from the container
    • CommentAuthorgreg9885
    • CommentTimeJun 5th 2009
     permalink
    yep, i'm an idiot... that makes sense. thanks a bunch!!
Add your comments
    Username Password
  • Format comments as (Help)