Different behaviour of IE and Gecko

D

David Graham

Not really a new post - tried before on the 10/01/06 - hope I'm not breaking
any of the rules.
http://locusmeus.com/test/thumbswithcaptionscentered.html
Hi
I thought I would put a line of code into the page above to outline the
tables in white as below:

table{
width:115px;
margin-top:0px;
margin-bottom:0px;
padding:0px;
text-align:center;
display:inline;
border: 2px solid rgb(255,255,255);
}

This works as expected in IE6 and Opera 8.51 but in Mozilla 1.7.12 and
Firefox 1.5 the white outline of the tables is a rectangular box under each
caption. Rarely does Opera agree with IE6 and disagree with gecko browsers -
why is Mozilla and Firefox having a hard time with this extra line of code.
Also, why do you have two inline instructions as the line below
html>body table { display:inline-table; }
does the same thing as the next to last line in the table block rule doesn't
it? Is this child selector thingy only recognised by certain browsers?
thanks in advance for any help you might offer
just on a learning exercise
One last question, why does having the images in a table centre them
vertically?
David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top