Results 1 to 5 of 5

Thread: I'm in 3 Column CSS Hell - help!

  1. #1
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I'm in 3 Column CSS Hell - help!

    Hi All,

    Sorry to cry for help on my first post, but I'm pulling my hair out over this one - it should be easy!

    Background:
    I'm using a three column layout with multiple Divs running down the left and right columns.

    However, I need to offer the ability for the multiple divs to be either on the left or right depending upon a custom stylesheet that is applied dynamically, therefore I cannot wrap the multiple divs in a "left" div and "right" div - that would be too easy.

    Problem:
    The CSS works fine in IE, but in FF the right hand divs drop down to be level with the left div that was defined prior in the html.



    Question:
    How can I make all the divs align to the top as follows in FF?



    I thought of posting a stripped out version of my code, but that would have taken too long, so I tried modifying the sample code "stu nicholls | CSS PLaY | three column layout | simplest version possible", but still had no luck getting it to do what I can.

    The Code:
    Is located in the file here: http://www.funeralwishes.co.uk/test.cfm - don't forget to open in FF to see the problem

    The Plea:
    I never had this problem when the site was laid out using tables, but since changing to CSS layout all hell has broken loose . I hope someone can help. I look forward to your responses.

    Peace and respect.

    Jeremy.

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    your margins are causing the problem. Generally I allow for a 5% gap between float elements to account for the different renderings between browser models.

    Post your URL to the problematic code, so we can help you troubleshoot.

    if your site is not live, post the code wrapped in [cod.e][/c.ode] tags (without the dots)

  3. #3
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, Thanks for the reply. I'll give adjusting the margins ago tonight.

    All the CSS and HTML is included in the test.cfm file above.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    boogyman: hint: try using [co[b][/b]de][/code] instead of dots
    Last edited by Twey; 12-18-2007 at 08:36 PM. Reason: Seems to be harder to explain than to use :)
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by Twey View Post
    boogyman: hint: try using [co[b][/b]de][/code] instead of dots
    that had to be something else to type out 3 block code tags in 1 haha, but thanks for the hint

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
  •