Firefox/netscape and table borders

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Firefox/netscape and table borders

Post by anthony88guy »

This wont give me solid borders in Firefox like it does on IE.

Code: Select all

<table width=&quote;250&quote; border=&quote;1&quote; cellpadding=&quote;0&quote; cellspacing=&quote;0&quote; bordercolor=&quote;#000000&quote; bordercolorlight=&quote;#000000&quote; bordercolordark=&quote;#000000&quote;>
How would I get a solid border in firefox?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Thats not W3C standardised HTML (as far as i know).

Use CSS (stylesheets) to get custom borders in FF and IE.

http://www.w3schools.com/css/
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Post by anthony88guy »

Code: Select all

<table width=&quote;700&quote; height=&quote;400&quote; cellpadding=0 cellspacing=0 border=1 style=&quote;border-collapse:collapse;&quote; bordercolor=#000000>
That works, but I will look into CSS you have more power with it.
Post Reply