Previous Message
Next Message

mixed units for table padding

Sent by fantasai on 9 August 2007 11:11


Trevor Nicholls wrote:
> I hope this requirement is simple!
> 
> I am trying to align a table caption with a table cell.
> The table has a 2 pixel border.
> The table cell has 0.25em padding.
> This means that the table caption needs padding of 0.25em + 2px.
> The browser is IE.
> 
> Is this possible without making assumptions about font sizes?

Does your caption have a border or backgrounds? Because if not,
   margin: 2px;
   padding: 0.25em;
might work

~fantasai
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: