Forums

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

Home Forums Design Trying to create CSS view of database table design layout

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252594
    stevesimo
    Participant

    Hi, I am trying to create a CSS layout to display a list of database table fields but without success. The main problem I am having is how to set the width of the inner div to match the outer container width. I expected the inner div to be the same width as the outer div although this is expanding to the entire width of the screen. Also The border which I have set on the outer div CSS is not displaying.

    I have uploaded my page code to: http://codepen.io/STEVESIMO/pen/XMMKYz

    Please can someone help point me in the right direction as I unsure what I am doing wrong to get this to display correctly. Thanks in advance.

    #252596
    Beverleyh
    Participant

    `outer_div` is the class applied to the outer element so when you target it in the CSS, it needs to have a dot/full-stop/period in front; `.outer_div`

    Currently, you just have `outer_div`

    #252635
    stevesimo
    Participant

    Thank you for your help, rookie mistake on my part.

    #252636
    Beverleyh
    Participant

    We’ve all been there :)

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