Results 1 to 7 of 7
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    390
    I'm having a problem with the way tables are rendering in IE and hoping somebody can suggest a fix.

    In Mozilla and Opera, the tables appear like this:

    h3TABLE HEADLINE/h3
    bColumn Header/b.....bColumn Header/b
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl

    In IE, the same table appears like this:

    h3TABLE HEADLINE/h3

    bColumn Header/b.....bColumn Header/b
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl
    blah blah blah bl.....blah blah blah bl

    (The "....." represents 20 pixel wide cells seperating the two columns.)

    How do I get IE to stop inserting a space between the header row, which is a merged cell, and the cells below it?

    Thanks in advance.

  2. #2
    Full Member
    Join Date
    January 18th, 2005
    Posts
    322
    I think IE is inserting the extra space because of your h3 tag. Try adding style = “display: inline” to your heading tag.

    Jason
    “I get on my knees and pray, we don’t get fooled again!” – Who said that? I said that!

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    Posts
    390
    I changed the tag to read as follows and it didn't make a difference. Any ideas?

    Thanks.

    <h3 style=“display:inline”>

  4. #4
    ABW Ambassador affiliatemakeover's Avatar
    Join Date
    January 18th, 2005
    Location
    Cleveland, OH
    Posts
    821
    A. Live with the space it makes.
    B. Change the H3 code to font size=14 or whatever.

    This is one of the stupidest html bugs I've been dealing with for years. So much so, that I completely got away from using the headline commands altogether.

    Why that space shows up? I have no idea. Ponderous. Maybe somebody knows how to get around it? I've never heard of in over the last 6 years or so.

    __________________
    Jim Kukral
    Direct of Emarketing/Brand Manager
    KowaBunga! Technologies
    http://www.kowabunga.net

  5. #5
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    Using header tags can be good for search engine optimization.

    If you don't like how they look by default (who does???), you have total control over how they appear with style sheets.

    Besides Jason's suggestion, you can directly control the space above and below the h tags:

    For example, put this inside some <style> tags in the header (or use your favorite way of loading styles)
    <pre class="ip-ubbcode-code-pre">h3 {
    font-size:1em;
    padding-top:5px;
    padding-bottom:3px;
    }</pre>

    We could have a holy war about whether the browser support is there to go CSS whole-hog, but having good command of CSS can at least be a great tool to have in your kit.

    --
    scott@befree.com

  6. #6
    ABW Ambassador erninator's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,054
    You might try using this in your &lt;head&gt;&lt;/head&gt; section:

    &lt;STYLE TYPE="text/css"&gt;
    H3 {style=“display:inline”}
    &lt;/STYLE&gt;


    Within your table use &lt;H3&gt;blablabla&lt;/H3&gt;

    I tried it on one of my pages and the space below the header was removed. Using IE 6.0.

    Ernie

    It may be that my sole purpose in life is simply to serve as a warning to others.

  7. #7
    Full Member
    Join Date
    January 18th, 2005
    Posts
    390
    Tried both style tag suggestions and neither worked.

    I know pretty much nothing about CSS and style tags, so if there is anything else I can try, please let me know.

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. CSS or Tables?
    By Cheesehead in forum Programming / Datafeeds / Tools
    Replies: 32
    Last Post: July 10th, 2007, 02:35 AM
  2. Can't Get Images to Appear in Tables
    By sweat in forum WebMerge (Fourthworld.com)
    Replies: 4
    Last Post: May 7th, 2006, 01:40 PM
  3. Tables in database
    By greentea in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: February 23rd, 2004, 04:55 PM
  4. HTML Tables....
    By eggerda in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: January 14th, 2004, 05:59 AM

Posting Permissions

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