Re: Mozilla vs IE CSS differences

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 14 Gary Stainburn did spake thusly:

Hi Tim.

I've tried your suggestions as well as a few from other people and have not
managed to get it working in IE, although I did in Mozilla Firefox.

I've given up, removed the border/padding/margin from stylesheet, and added
border=1 cellpadding=0 cellspacing=0 to the HTML, which at least renders near
enough the same in both browsers and is near enough what I want.

What I actually wanted was just a single pixel wide, solid black box, with no
whitespace round it. What I've got is a 2 pixel (1 for each cell) grey
border.

If anyone knows how, from scratch, to do the .css file to achieve this, for
both browsers, then I'll be able to work from there. Otherwise, I'll make do.

You need to put <table border="0" cellspacing="1" cellpadding="foo"> where foo is the padding you want (or you can use css padding for the cell padding) then make the table background-color:#000; and the td background-color:#fff

Tables are irritating like that...

--
Scott van Looy - email:me@xxxxxxxxxxxxxx | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74  802C 7CF9 E526 44D9 D4A7
      -------------------------------------------
      |/// /// /// /// WIDE LOAD /// /// /// ///|
      -------------------------------------------

"Everything should be made as simple as possible, but not simpler."
-- Albert Einstein


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux