Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2007
    Location
    Indianapolis, IN
    Posts
    35
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Cross browser css issues and then some

    I am becoming quite frustrated with this project of mine. What it is, is a chart, that is built dynamically by a php script I have set up. It compares certain things, in this example, 3 items are being compared. It dynamically adds each item you want to compare in a list which is styled to be outputted almost like a table column.

    Visit the page here and see what I mean: http://home.indy.rr.com/shagie/compchart/

    It looks great in IE but I cannot get it to look correct in FF. I did at ONE TIME have it working great in both but uh.. messed it all up =( and cannot for the life of me get it looking well in both.

    After checking out my HTML code, you can see that i'm essentially building a table using only styled lists, it seemed like the easiest option to dynamically add columns instead of using an actual HTML table.

    Maybe there is a better method to all of this.. I am not sure. But that is why I am here asking you all for some help. Thanks.

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    Code:
    <div style="overflow:hidden;">
        <div class="lead">
        .
        </div>
    
        <div class="gift">
        .
        </div>
    </div>
    wrap a div around .lead and .gift
    A table would have been suitable.

  • Users who have thanked Fang for this post:

    Brandt (10-11-2007)

  • #3
    New Coder
    Join Date
    Feb 2007
    Location
    Indianapolis, IN
    Posts
    35
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Wow, there we go. Guess that works, but it is different than what I had working earlier. Thanks a lot.


  •  

    Posting Permissions

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