WordPress.org

Support

Support » How-To and Troubleshooting » How to Create Fluid 'Table' Divs?

How to Create Fluid 'Table' Divs?

  • EarlSnappy
    Member

    @earlsnappy

    Hi I’m using the ‘fluid’ twenty eleven theme and am trying to create two columns and two rows that will create a table effect on the page. Each of the 4 divs will have an image and text.

    The css code I’ve got below works in normal screen size, but when the screen is reduced the alignment e.g. float left goes, and it only looks ok in the the minimum fluid screen width. I’ve tried – position: attribute, but that doesn’t work either. Any ideas? Thanks Earl

    #left {
    text-align: center;
    width: 200px;
    height: 200px;
    float: left;
    margin: 0px 0px 2em 4em;
    position:relative;
    }
    
    #right {
    text-align: center;
    width: 200px;
    height: 200px;
    float: right;
    margin: 0px 0px 2em 4em;
    position:relative;
    }

    [please mark any posted code – http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Create Fluid 'Table' Divs?’ is closed to new replies.