Results 1 to 2 of 2

Thread: In need of some help with my CSS for my layout

  1. #1
    Join Date
    Aug 2006
    Location
    Dubai, UAE
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default In need of some help with my CSS for my layout

    This is my mockup: http://beta.investchallenge.com/

    The corresponding CSS for the page: http://beta.investchallenge.com/styles/layout.css

    I am trying to figure out how I can get my #content_right to by liquid and fill the enter remaining portion of the #content.

    Also, my #content seems to be off the radar in Firefox, but presents itself just fine in IE.

    Is there any glaring problems in my CSS?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    You are closing your div tags too soon.

    basically you have one table (although not opened) and 2 divs on it:

    Code:
    ------------------
               |           |
               |           |
        1     |      2    |
               |           |
    -----------------
    (more or less....) You open div for content 1 first, if you close that main div before you open div for content 2, then content 2 will be below content 1, which is what I am seeing on your page.

    in a shortened example try to make it like this:

    <div content1>
    <div for stuff>
    content here
    </div for stuff>
    <div for content 2>
    <div and other contents>
    </div and other contents>

    </div content 2>
    </div content 1>

    Hope that makes sense....
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •