emulating default table borders in css
am 14.08.2007 09:59:13 von Pine nuthi ...
my web client really likes the "translucent" look of the default borders
that are used as part of the
A | B | C | D |
A | B | C | D |
A | B | C | D |
A | B | C | D |
A | B | C | D |
A | B | C | D |
A | B | C | D |
A | B | C | D |
Change border-spacing to 5px and cellspacing to 5 and MSIE accommodates
just fine.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: emulating default table borders in css
am 14.08.2007 21:54:55 von jkorpelaScripsit Jonathan N. Little:
> Jukka K. Korpela wrote:
>
>> The CSS counterpart to cellspacing="2" is border-spacing: 2px, but
>> this isn't supported by IE.
>
> Sure? Seem to work for me MSIE6 on Win2K
Strange. I tested (with your test document) both on MSIE 6 on Win98 and on
MSIE 7 on Win XP, and it completely ignores the border-spacing property.
Besides, the property is not mention in Microsoft's documentation, which
appears to be generally exhaustive regarding to CSS support in IE:
http://msdn2.microsoft.com/en-us/library/ms531207.aspx
> Change border-spacing to 5px and cellspacing to 5 and MSIE
> accommodates just fine.
When I test it, the table without cellspacing attribute (with border-spacing
set in CSS) keeps the default cellspacing of 2 pixels, no matter what I set
for border-spacing.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Re: emulating default table borders in css
am 14.08.2007 23:20:37 von lws4artJukka K. Korpela wrote:
> Scripsit Jonathan N. Little:
>
>> Jukka K. Korpela wrote:
>>
>>> The CSS counterpart to cellspacing="2" is border-spacing: 2px, but
>>> this isn't supported by IE.
>>
>> Sure? Seem to work for me MSIE6 on Win2K
>
> Strange. I tested (with your test document) both on MSIE 6 on Win98 and
> on MSIE 7 on Win XP, and it completely ignores the border-spacing
> property. Besides, the property is not mention in Microsoft's
> documentation, which appears to be generally exhaustive regarding to CSS
> support in IE:
> http://msdn2.microsoft.com/en-us/library/ms531207.aspx
>
>> Change border-spacing to 5px and cellspacing to 5 and MSIE
>> accommodates just fine.
>
> When I test it, the table without cellspacing attribute (with
> border-spacing set in CSS) keeps the default cellspacing of 2 pixels, no
> matter what I set for border-spacing.
>
Pardon, my error you're correct, must have looked at the wrong window.
Damn MSIE sucks...I don't use it but is sure is a pain to try and
accommodate it with a somewhat consistent look across browsers...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com