Thank you: this is a great improvement, but not quite there. I've added the extra declaration as shown, but...
This addtion only hovers the text component, not the entire span area. A table cell would go to the ruled edges - it's only a few pixels, I know, but it's important. (and I've not solved the white text on hover, either!). On 14/11/05, The Visual Process <[EMAIL PROTECTED]> wrote: > This will get the background color through the whole div: > > div.item a:link {text-decoration: none; display: block; height: 100%; > width: 100%;} > > And if you want the hover text to turn white you'll have to take a look at > the way your classes and id's are working, the .author class is overriding > other settings from what I can see. > I'm in a rush to go out so maybe someone else can explain. > > > ivanovitch wrote: > Dear all > > I've been trying very hard to propel myself into the 21st century and > apply web standards and use good CSS as much as possible, but I'm > stuck on getting a div to honour a hover state that I am trying to > build. Guidance appreciated... > > The demo page is at http://imeet.com.au/aa2/ - it's cut right backto > highlight my problem. Ignore the content, and the site URL > > I'm trying to find a way to make blocks of text in a div (item) to > display the hover background for the entire div, and not just the > linked text. I'd also like the hover state to apply to only the divs > in question, and not all other linked text. What am I doing wrong? > > I can do this standing on my head and one hand behind my back using > tables, but I'm not going back now. And yes, I've googled myself to > death on this one, which is why I'm asking! > > Thanks in advance. > > I.K. > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > > > > > > > ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************