ivanovitch wrote:
We're only talking a few pixels: the text does show the hover state,
but if I were to use a table cell, the entire cell would show it. At
present, the hover finishes at exactly the edge of the text, and not
to the div border.
Ah, hang on, missed the bit about the white space. Why not just set the
padding on both div.input and div.item to 0, and reapply the padding in
div.item a:link? Also, you don't need the width: 100%; and height: 100%
in the a:link
Something like
div.input {border-color: #ccc;border-width: 1px 1px 0px
1px;border-style: solid;padding: 0;}
div.item {padding: 0;border-bottom: #999;border-width: 0 0 1px
0;border-style: dotted;}
div.item a:link {padding: 5px; text-decoration: none; display: block;
}
--
Patrick H. Lauke
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************