Jonathan T. Sage wrote:
HTML:
<div id="header"><a href="link.html"><span>Link Text</span></a></div>
CSS:
#header { postion etc, background-image: }
a#header { same size as header }
#header span { visibility: hidden; }
that second line should be #header a { ... }
<div id="header"><a href="link.html"><div>Link Text</div></a></div>
Invalid, as DIV is a block level element and can't be contained inside an
inline element like A.
So the first one, using the SPAN, is the right one of the two. Suggest
also ensuring that you have something like
#header a { display:block; etc etc }
as an inline element can't be assigned dimensions properly, otherwise.
--
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
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************