Altering the link colour

P

PFJ

Hi,

If would point your eyes towards http://ahnews.music.salford.ac.uk/mmp you
will see that I'm on the final bits of a complete website redesign and
personally, I like it. I must say a big thank you to all on here who
helped me out with it. Come to Salford and I'll buy you a pint of
something nice :)

However, there is a little problem - if you look at the top there is a link
to the main Salford website with a blue box around it with two smaller
boxes to the right of it.

I have tried to say that there are no borders around links, changed the
link border color etc to be the same as the background colour, but to no
avail.

Could some kind soul please tell me how to do it?

TTFN

Paul
 
T

Toby A Inkster

http://ahnews.music.salford.ac.uk/mmp

However, there is a little problem - if you look at the top there is a link
to the main Salford website with a blue box around it with two smaller
boxes to the right of it.

a:link img { border: 0 !important; }

Also, you should try validating your page. You seem to be using a mix of
HTML and XHTML, which is not a good formula!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
(snip)
<link rel="top" title="University Home" href="http://dev.salford.ac.uk/" />

Glad to see things calming down on u.c.o.l now :)
 
A

Adrienne

Hi,

If would point your eyes towards http://ahnews.music.salford.ac.uk/mmp
you will see that I'm on the final bits of a complete website redesign
and personally, I like it. I must say a big thank you to all on here
who helped me out with it. Come to Salford and I'll buy you a pint of
something nice :)

However, there is a little problem - if you look at the top there is a
link to the main Salford website with a blue box around it with two
smaller boxes to the right of it.

I have tried to say that there are no borders around links, changed the
link border color etc to be the same as the background colour, but to
no avail.

Could some kind soul please tell me how to do it?

TTFN

Paul

<img src="someimage.gif" alt="some alt text" style="border:0px" />
 
P

Paul F. Johnson

Hi,

By the process of poking various fingers onto keys Toby A Inkster
generated this:
a:link img { border: 0 !important; }

Excellent - thanks Toby :)
Also, you should try validating your page. You seem to be using a mix of
HTML and XHTML, which is not a good formula!

Validation is next on the list - for the moment, it's more important to
get it up and to replace the current version (which should not be viewed
IMO when under the influence!)
Glad to see things calming down on u.c.o.l now :)

Tell me about it ;-) I think the primary reason is the noisiest on there
has had their internet account closed by their ISP...

TTFN

Paul
 
F

freddie

Adrienne said:
<img src="someimage.gif" alt="some alt text" style="border:0px" />





yes - or slightly more simply... <img src="someimage.gif" alt="some alt
text" border=0 />

freddie
 
A

Adrienne

That's not more simple; that's deprecated markup. Adrienne's example is
the correct one (although the unit is superfluous).

Yes, I know the unit is superfluous, it's habit. I find I get into less
trouble that way.
 

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

Forum statistics

Threads
474,075
Messages
2,570,554
Members
47,197
Latest member
NDTShavonn

Latest Threads

Top