Table border colours and Mozilla Firefox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use Dynamic Template and layout tables to provide the same main menu and
look for all the pages in the site. It works great as long as IE 5+ is used
to view the pages. But when Mozilla, or even IE for Mac is used to look at
them, the table borders are all of the sudden in a few different colours and
some of the table rows become a lot thicker than intended, makig the site
look v. messy (the functionality is still there though). What's the best way
of diagnosing the problem and fixing it? Which part of the code should I
start looking at? Many thanks.
 
HTML styles for making table borders are not well supported. If you want to
get down and dirty with your table borders, you willl need to use CSS for
that. Remove all table bordering styles from your HTML first though. The
easiest way to do that is to look at the code and convert things like this -

<table border="1" bordercolorlight="blue" bordercolordark="black"...

to -

<table ...

Then you can do -

table { border:1px dashed red; }

for example, in your stylesheet.
 
What's the best way of diagnosing the problem and fixing it?
*Learn* what is supported in the different browsers, and avoid using
non-standard, proprietary attributes.
bordercolorlight and bordercolordark

Bob Lehmann
 
Back
Top