OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
background image as a link?
This page's ID:
27332
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
I'm using stylesheets to load the images in the background like this : [code] #header{ height:100px; background: url(../imgs/topper.jpg) no-repeat; width: 750px; text-align:left; } #header h1{ padding:0px; margin:0px; } #header h1 span{ display: none; } [/code] Then in the html I have this : [code] <!-- ye ol' hide the text in a span trick --> <div id="header"><h1><span><a href="index.html">My Site</a></span></h1></div> [/code] It doesn't make it a link anymore because the span is set to display:none; So is there a better way to do this and to make that still a link? I really don't want to put any images in the html. Thanks in advance! Later, C:\ [img]http://www.danasoft.com/sig/cprompt.jpg[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »