retrositelover
Programmer
- Oct 20, 2004
- 35
Hello,
on my sitemap, I use CSS to highlight cells (a:hover); display:block is dedicated to ensure the full cell colored on mouseover.
However, if I resize the browser to extreme levels (smallscreens) some cells have line breaks, and the one-word cells will then only color the background of this particular line, not the complete cell. Couldn't find a workaround in CSS/HTML for this problem; the line-height value doesn't seem to be decisive as this also occurs when not set.
thanks for reading
Joerg
on my sitemap, I use CSS to highlight cells (a:hover); display:block is dedicated to ensure the full cell colored on mouseover.
However, if I resize the browser to extreme levels (smallscreens) some cells have line breaks, and the one-word cells will then only color the background of this particular line, not the complete cell. Couldn't find a workaround in CSS/HTML for this problem; the line-height value doesn't seem to be decisive as this also occurs when not set.
thanks for reading
Joerg