Borders around links

P

Peter Campbell

Sorry if this is old hat or too simple a problem for everyone, but I was
doing up my website last night and using the <A HREF=""><IMG SRC="">
commands to make a picture a link, I realised I really don't like the border
that has been automatically added around the image. Any way to remove it?

Sorry, I've given my HTML book a loan of to someone otherwise I'd look up
that!

Peter
 
P

Peter Campbell

Believe it or not, I actually tried using the BORDER command (BORDER="0" in
actual fact) like I use in TABLE commands but it didn't seem to work.

I'll tell you what, I'll have a look at the links you kindly provided.
 
M

Mr. Clean

Sorry if this is old hat or too simple a problem for everyone, but I was
doing up my website last night and using the <A HREF=""><IMG SRC="">
commands to make a picture a link, I realised I really don't like the border
that has been automatically added around the image. Any way to remove it?

Sorry, I've given my HTML book a loan of to someone otherwise I'd look up
that!


<img src="..." border="0'>

DUH!!!
 
P

Peter Campbell

Mr. Clean said:
<img src="..." border="0'>

DUH!!!

Cheers. I was using the BORDER command in the <A> tag.

I assume you meant to put a closing " in your line instead of '?

Duh! :)
 
B

brucie

I was doing up my website last night and using the <A HREF=""><IMG SRC="">
commands to make a picture a link

HTML doesn't have commands. it has elements and attributes to those
elements.
 
P

Peter Campbell

I was brought up in programming in BASIC and, for better or worse, commands
they shall remain.
 
C

Chris Morris

Peter Campbell said:
Sorry if this is old hat or too simple a problem for everyone, but I was
doing up my website last night and using the <A HREF=""><IMG SRC="">
commands to make a picture a link, I realised I really don't like the border
that has been automatically added around the image. Any way to remove it?

HTML: <img border="0" ... >
or better, in an external CSS file
a img { border: 0; }
 
E

EightNineThree

Peter Campbell said:
I was brought up in programming in BASIC and, for better or worse, commands
they shall remain.


Just because you're old doesn't give you an excuse for fucking up the
nomenclature to suit yourself.
A web page isn't a program, it is a document that has been marked up for
display.

The act of "marking up" is a publishing practice that has been around far
longer than the Internet or even computers.
 
P

Peter Campbell

HTML doesn't have commands. it has elements and attributes to those
Just because you're old doesn't give you an excuse for fucking up the
nomenclature to suit yourself.
A web page isn't a program, it is a document that has been marked up for
display.

The act of "marking up" is a publishing practice that has been around far
longer than the Internet or even computers.

Just because you're an arsehole, doesn't mean you should show it all the
time.
 

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
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top