Previous Message
Next Message

Table cell and rollover

Sent by Jack Pivac on 23 November 2004 20:08


Possibly this will help? It was posted in response to a similar question 
of mine. Worked great for me.

Check out the very excellent "Taming Lists" by Mark Newhouse -
http://www.alistapart.com/articles/taminglists/
His solution is to set a width of 100% for the anchor block. Then use the
child selector ">" to reset the width to "auto" for other browsers.

Cheers
Jack

Bert Mahoney wrote:
> 
> I have an issue with a table cell that changes it's background color 
> when I rollover the content within that cell.
> 
> I would appreciate any insight from anyone on the list who has dealt 
> with changing cell background colors on rollovers.
> 
> There are 2 specific problems:
> 
> One. The type shift's it's line-height when I rollover. I have the 
> line-height specified so I'm not sure what is happening to the text to 
> make it jump.
> 
> Second. The color that show's up on the rollover does NOT fill the 
> container. There is some "white space." I want the color to fill the 
> cell on the rollover.
> 
> The is here and the css is within the same file:
> http://www.ojaiconcierge.com/beta/test.html
> 
> Thanks for any help.
> Bert
> 
> 
> -- 
> Bert Mahoney :: bert{at}hamiltonberchman{dot}com
> HamiltonBerchman Associates
> web :: print :: photography
> 
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> 
> 

-- 

Jack Pivac
Delphinus Technology
http://www.delphinus.co.nz/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
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: