Welcome to TalkGraphics.com
Results 1 to 5 of 5

Thread: Table Sizes

  1. #1
    Join Date
    Aug 2000
    Location
    Leigh, Lancashire, UK
    Posts
    436

    Default

    I'm having a problem with table sizes.

    I've got a table which I am giving a 4-pixel high background image. I apply a small font size to the table. I then make the table 4 pixels high. This formatting is mostly done by CSS (but some manually).

    I find that in some browsers (most annoyingly NS6), the table height is far from correct. Does anybody know why I could be experiencing this problem. All works fine in IE6 an NS4.



    <img="http://www.cashflowstore.com/temp/sig.gif">
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Leigh, Lancashire, UK
    Posts
    436

    Default

    I'm having a problem with table sizes.

    I've got a table which I am giving a 4-pixel high background image. I apply a small font size to the table. I then make the table 4 pixels high. This formatting is mostly done by CSS (but some manually).

    I find that in some browsers (most annoyingly NS6), the table height is far from correct. Does anybody know why I could be experiencing this problem. All works fine in IE6 an NS4.



    <img="http://www.cashflowstore.com/temp/sig.gif">
    IP

  3. #3
    Join Date
    Feb 2001
    Location
    Kinlochleven, Scottish Highlands
    Posts
    747

    Default

    Could it be anything to do with the CSS box model? Opera and Netscape 6 add padding (correctly, I believe) outside the specified dimensions, but IE (and possibly N4.x) inside. Been giving me a bit of bother for our new school site too!



    Peter</p>



    Peat Stack or Pete's Tack?</p>
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    NS Canada
    Posts
    212

    Default

    Hi Michael ...

    Do you have a URL or code we can look at?

    cfn ... Jen
    Jen Worden
    Web Developer
    www.meadoworks.com
    cfn ... Jen

    Jen Worden
    Web Developer
    www.meadoworks.com
    IP

  5. #5

    Default

    See, IE use 0 margins in CSS, where Netscape automatically apply some funny default margins - but not on all layers!
    I found that you can put an layer which is on 0,0 and it will be ok but then put other layer on top of it - the layer will be in Netscape shifted about the left and top marging. Simply set the margins to 0 in <body>, in my case this fixed the problem. (IMO Netscape is worst and worst)
    Uh, now I see you talk about tables...well don't know if this works for them too...

    Oscar
    IP

 

 

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
  •