ThemeShaper Forums » Thematic

[closed]

Better thematic css - a little help

(4 posts)
  • Started 10 years ago by Jamie Mitchell
  • Latest reply from Jamie Mitchell
  • This topic is not resolved
  1. Jamie Mitchell
    Member

    hey all...:)

    thematic's css can be a bit annoying (sorry Ian) it's seems to be a little complicated when it should be simple.

    say the 2 column right layout.

    studying the xhtml grid layout i see around the web, wouldn't it be better and easier to float everything to the left like so.

    (dimensions below are an example only from a project i'm working on, no secondary)

    #main {
        width:960px;
        margin:0 auto;
        overflow:hidden;
        position:relative;
    }
    #container {
        width:600px;
        float:left;
    }
    #content {
        margin:0 0 0 30px;
        width:560px;
        overflow:hidden;
    }
    .main-aside {
        width:300px;
        float:left;
        margin-left:30px;
    }
    #secondary {
        display:none;
    }

    if anyone can tell me if there is a problem with how i coded the 2 columns, please share...just trying to find the best way this should be done.

    Posted 10 years ago #
  2. Hi Jamie,

    will check this the next days. I'm currently working on a related project.

    Chris
    - currently on iPhone

    Posted 10 years ago #
  3. Jamie Mitchell
    Member

    hey thanks Chris, and hope you are well.

    i did the same thing with the 3 column layout, as the css loaded with thematic for the 3col looks pretty messed up in different browsers.

    but using the above, just floating everything to the left, with margin-left for each column, so far so good.

    got the idea from here.

    Posted 10 years ago #
  4. Jamie Mitchell
    Member

    just adding, i saw in the grid layout, they use display:inline too, i think this is for the ie double margin bug.

    looking forward to people's opinions.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.