Results 1 to 6 of 6

Thread: Tables in HTML

  1. #1
    Gorela
    Guest

    Default Tables in HTML

    I have the following HTML code to create a couple of side by side cells and was hoping someone could tell me where I have gone wrong. In IE 5+, Mozilla and Konqueror this gives me a grey cell on the left hand side and a larger white cell on the right. For some reason the grey cell doesn't appear in Netscape.

    Clues for the clueless appreciated.

    <table border="1" cellpadding="0" cellspacing="0" width="100%" height="700">
    <tr>
    <td bgcolor="#888888" align="left" width="13%" height="700">
    </td>
    <td bgcolor="#FFFFFF" align="left" width="87%" height="700">
    </td>
    </tr>
    </table>

  2. #2
    SoniKalien
    Guest

    Default Re: Tables in HTML

    Netscape has a few bugs...

    If a small grey cell and large white cell is what you're after, then congrats. The only thing I would do is remove the height from the <td> sections since you have already specified them in the <table> tag.

  3. #3
    Sam H
    Guest

    Default Re: Tables in HTML

    What version of netscape is it not displaying properly?

    As I don't have netscape to test the code out on, I posted your message on an HTML board to see what the Web design experts had to say. You can view it here

    http://www.htmlhelp.com/bbs/wdgbbs.c...play;num=80170


  4. #4
    antmannz
    Guest

    Default Re: Tables in HTML

    Netscape traditionally doesn't render a table cell with nothing in it.

    Alter your code to this:
    [pre]<td bgcolor="#888888" align="left" width="13%" height="700"></td>[/pre]

  5. #5
    antmannz
    Guest

    Default Re: Tables in HTML

    Ah ... bugger; that space is supposed to be a non-breaking space character, the forum won't let me display it as code so .....

    where you see "Insert non-breaking space here" should have:
    & n b s p ;
    with no spaces in it, but I'm sure you know that anyway

    <td bgcolor="#888888" align="left" width="13%" height="700">"Insert non-breaking space here"</td>

  6. #6
    Gorela
    Guest

    Default Re: Tables in HTML

    Thanks Soni, Antzman and Sam for the help. I'll make the mods and see what transpires.

    I have also checked your link John and there is a mention of non standard table height and nothing wrong in 4.7. Rather strange as I was checking in Netscape Communicator 4.79 and I found it to be harder with loose code than the other three browsers.

    Thanks again!

Similar Threads

  1. Get rid of gaps in HTML tables.
    By Brain_Cell_Anon in forum PressF1
    Replies: 1
    Last Post: 18-08-2006, 07:58 AM
  2. Tables websites should die
    By ad_267 in forum PC World Chat
    Replies: 78
    Last Post: 02-06-2005, 08:12 AM
  3. SQL: Temporary Tables
    By Erin Salmon in forum PressF1
    Replies: 2
    Last Post: 17-11-2003, 04:38 PM
  4. Tables in HTML
    By Chilling_Silently in forum PressF1
    Replies: 12
    Last Post: 20-06-2003, 05:06 PM
  5. Replies: 3
    Last Post: 12-10-2001, 07:37 PM

Posting Permissions

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