<a href & background image & text

J

Jeff

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
 
M

Mark Parnell

Deciding to do something for the good of humanity, Jeff
Hello
G'day.

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>
 
V

Vhit

<alt.html , Jeff , (e-mail address removed)>
<[email protected]>
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 :)

www.vhit.co.uk/create_test.php

Recently did something similar but used checkboxs instead of text .

Depending on what you want to do and if you want to display a thumbnail
image in full you will need to set the width and height for the
background image unless its something that tiles .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top