Forums

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

Home Forums CSS [Solved] Flexible Inner Div, fixed with outer divs

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #188375
    ClintonLee83
    Participant

    Here is the code:

    http://codepen.io/anon/pen/YPzvGX

    I’m trying to get:
    -the www div to be fixed width floating left,
    -the domaininput div to be flexible with browser resize
    -the selector div to be fixed width floating right.
    *with 10px fixed space between each element.

    example:

    |-www-| |——–blue——–| |-orange-|

    browser width is resized:

    |-www-| |–blue–| |-orange-|

    It’s been driving me crazy :D

    #188376
    ClintonLee83
    Participant

    #188414
    ClintonLee83
    Participant

    Thank you for responding Atelierbram!

    I sat down with a friend and finally figured it out :D

    The problem was inherited styling was over riding the divs on my website.

    This is the code we used to make it work:

    http://codepen.io/anon/pen/QwWVev

    It’s a great function for responsive layouts.

    Thanks for the direction!

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