Forums

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

Home Forums CSS trying to fill a div tag

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #204246
    drotar
    Participant

    little help if you could. i am building a responsive
    site and would like to put a background box (red) behind 3 div tags already existing.

    we start with the .pageContent

    the three subsequent div tags are: .index1Left, .index1Center and .indexPageRight.

    this works perfectly, responsive, everything. what i need to do however is get a div behind these three divs and add a red background color (will change the color later) that changes size with the three div tags listed above.

    i added a div tag in front of the three tags listed above named .index1Behind unfortunately the only way i seem to be able to get the red box to appear is by making it absolute. when doing so it then makes all the div tags below jump to the top covering the red box and 3 div tags. Even if i add a clear:both this has no effect. i posted my code on git hub https://gist.github.com/anonymous/0a178d013fc97c57cf0a

    any advice would be greatly appreciated. thank you in advance for taking the tim

    #204247
    Paulie_D
    Member

    Codepen is more useful than a link to Github.com.

    Help us help you.

    #204248
    drotar
    Participant

    link to code pen is:

    http://codepen.io/drotars/pen/zGpBwe

    thanks, P. just want to get a responsive resizable red box (wrapper) behind the three div tags (Terac – light blue box and light gold box) and will resize with them

    http://thomasdrotardesign.com/htdocs/index.html

    #204249
    drotar
    Participant

    please make that a grey box #cccccc

    i changed it from red to better see if it was working

    for div tag .index1Behind

    #204250
    drotar
    Participant

    please make that a grey box #cccccc

    i changed it from red to better see if it was working

    for div tag .index1Behind

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