Table Display Different in Different Browsers

Table Display Different in Different Browsers

Post by Colla » Mon, 31 Jan 2005 16:18:08


I've created 2 very simple (1 row x 3 column) tables in DW MX (not MX 2004) on
my computer, and have changed the table border colours to black (same colour as
the background of the page). There is some text in each cell.

The tables display exactly as I want them to when I preview them in IE, but
when I preview the pages in Opera and Mozilla (I don't have Netscape) the
borders of the tables display very clearly.

I knew I'd run into this kind of problem eventually.

Does anyone have any ideas here? I'm using the default settings of Opera and
Mozilla (i.e., as I downloaded them).
 
 
 

Table Display Different in Different Browsers

Post by Colla » Mon, 31 Jan 2005 16:47:57

I figured out the (or is it just "a") solution: set table border width to 0 (it
was set to 1).

But that doesn't answer the question- Why did the tables display as intended
(WYSIWYG) in IE, but not Mozilla or Opera?

 
 
 

Table Display Different in Different Browsers

Post by Tim Gallan » Mon, 31 Jan 2005 17:04:42


Let me guess here... you were using inline code?

If you use CSS, you should have infinitely better x-browser results with
borders.

tim
 
 
 

Table Display Different in Different Browsers

Post by Colla » Wed, 02 Feb 2005 05:22:03

Hi Tim,
Thanks for the response.

Yes, I was using inline code: I'm trying to teach myself Dreamweaver (with a
little help from a friend), and to learn relevant HTML at the moment, so I'm
kind of starting off with the basics (in this case using basic table
construction) before I progress to things like CSS.

But thanks for the information, because this is how I learn what works best,
and what doesn't work so well. In the last two days I've learned a lot about
both DW and HTML.

The only question for me is at what stage do I apply my knowledge to a
full-fledged project? I don't want to go about doing something one way that
could be done another way more efficiently, and that would provide more
possibilities for future development. Having to go back and do something again
would be a bit frustrating, so I'm currently taking working my way through
various topics (e.g., image optimizing; table construction) in order to learn.

Thanks, once again