HighDots Forums  

<a href & background image & text

alt.html alt.html


Discuss <a href & background image & text in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff
 
Posts: n/a

Default <a href & background image & text - 12-07-2005 , 06:25 PM






Hello

How shall an anchor be specified if this anchor shall have both a background
image and Text.
I want to create a link that uses a background image and the text is written
over the background image:

I don't know how to do it, so please if any of you know this, then please
tell me :-)

Jeff




Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: <a href & background image & text - 12-07-2005 , 06:40 PM






Deciding to do something for the good of humanity, Jeff
<it_consultant1 (AT) hotmail (DOT) com.NOSPAM> spouted in alt.html:

Quote:
Hello
G'day.

Quote:
How shall an anchor be specified if this anchor shall have both a background
image and Text.
In your CSS:

a:link.someclass { background-image: url('link/to/image.gif'); }

In your HTML:

<a href="page.html" class="someclass">Link text</a>

--
Mark Parnell
http://clarkecomputers.com.au


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.