matt cook wrote:
[color=blue]
> DU <drunclear@hotNOSPAMmail.com> wrote in message news:<2qptcbF12mq9sU1@uni-berlin.de>...[/color]
[color=blue][color=green]
>>You have not provided an example, an url on this. So, it's kinda
>>difficult to understand, to guess what you mean, to guess what your code
>>actually is, what you expect and what you get.[/color]
>
> Simply, I have a TD tag (or a TR tag) with a class attached to it like
> this:
> <tr valign="top" bgcolor="#62C0FF" class="10pad">.
>
> 10pad looks like this:
> .10pad {
> padding:10px;
> }
>
> I expected Firefox to act like IE does and pad the cells it's applied
> to. I mentioned margins because a fix I found for a similar issue uses
> them.[/color]
Still no URL. I have working padding on a <td> here:
http://tranchant.plus.com/tmp/td
[color=blue]
> As for the background issue, I fixed that by setting the TR background
> instead of the TD. This works in Firfox, although it works differently
> to IE and needs a line of browser specific code to work on both.[/color]
The above URL also shows a working td background image via CSS. Both
features work fine in Firefox and IE.
POST A URL AND WE CAN HELP!!! Snippets of out-of-context code are no good.
[color=blue]
> I know I should be using DIVs instead of tables BTW :-)[/color]
Not necessarily <div>s: you can style and position other elements. But
if you know you should be not using tables, and tables are causing you
problems, stop using them.
--
Mark.
http://tranchant.plus.com/