OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Is this css legal?
This page's ID:
28044
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Heh.. well legal sounds a bit harsh, but... I have a DIV element which contains other html, headings, paragraphs etc... I want to make it so that when I click anywhere in the DIV it links back to a page in the website. So basically I changed the surrounding DIV to a link A element. Is this okay to do? I cant see how else you can make a whole area clickable (short of having a link display:block and z-indexing it above the other element). Are you allowed to have child nodes of the anchor element other than a text node? [code] <a href="somewhere"> <h1>Some heading</h1> <p>Some paragraph</p> <img src="animage.jpg" /> </a> [/code]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »