dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: table spacing in NS4

  1. #1
    Join Date
    Dec 2002
    Posts
    30

    table spacing in NS4

    Is there a way to recreate this border="0" cellspacing="0" cellpadding="0" in NS4 with CSS? I've tried

    table { border: 0px; border-width: 0px; margin: 0px; padding:0px; }
    tr { border: 0px; border-width: 0px; margin: 0px; padding:0px; }
    td { border: 0px; border-width: 0px; margin: 0px; padding:0px; }

    but it still leaves a little bit of space. Any ideas?

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473
    You must be a glutton for punishment.

    Tables are one of NS 4's biggest problems. Most styles do not work properly on tables, especially the TABLE and TR tags where they don't work at all. NS 4 will only apply styles on tags that are "containers". The TABLE and TR are not considered "containers", only the TD and TH (possibly CAPTION, but I never tried it).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles