Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS What is the use of “Inside” Divs?

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #37012
    egie
    Member

    What is the use of inside divs? For example:







    I have a pagewrap div but I don’t want to limit the width of my navigation. I want to repeat its background horizontally. Please help me. Thanks.

    #98310
    wolfcry911
    Participant

    There are many reasons one might use this, but if you don’t have reason – don’t use it. That simple really. One example might be if you wanted a background image to go full horizontal width, but wanted the content to maintain a (max) width, you could use the inside div to achieve that.

    #98312
    egie
    Member

    Thanks wolfcry911! How can I achieve that? I tried to put inside divs but the BG of my navigation still limiting its width, by the way its just a background-color :( My navigation is inside my pagewrap.

    #98318
    wolfcry911
    Participant

    egie, can you show us exactly what you have so we can better help?

    #98322
    egie
    Member

    Thanks Odd_E I’ll try that :)

    #98323
    egie
    Member

    Okay wolfcry911, i’ll show you wait :) Thanks for your concern :))

    #98326
    egie
    Member







    content






    There it is wolfcry911.
    I want my navigation like css-tricks.com has. The navigation is on top with full width as I resize my window. But the links are wrap like the content.

    #98548
    egie
    Member

    Odd_E : Thanks for your kindness i’ll going to try that one :)

    #98550
    egie
    Member

    @karlpcrowley : 504 Gateway Time-out
    At first I want to try that but i also have a pattern background for the body. I don’t know how to do that.

    #98561
    karlpcrowley
    Participant

    jsFiddle are just having some server issues so that’ll be back up soon hopefully

    #98920
    egie
    Member

    @Hompimpa – Hey thanks for your answer I’ll try these :)

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘CSS’ is closed to new topics and replies.