Borders around links

Discussion in 'HTML' started by Peter Campbell, Jul 2, 2003.

  1. 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
     
    Peter Campbell, Jul 2, 2003
    #1
    1. Advertising

  2. 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.

    "Sid Ismail" <> wrote in message
    news:...
    > On Wed, 2 Jul 2003 20:08:36 +0100, "Peter Campbell"
    > <no_spam@this_address.com> wrote:
    >
    > > Sorry, I've given my HTML book a loan of to someone otherwise I'd look

    up
    > > that!

    >
    >
    > Me too, but I have the Internet - see "border" in
    >
    > www (all aspects):
    > http://www.kayodeok.btinternet.co.uk/favorites/webdesign.htm
    > HTML http://www.blooberry.com/indexdot/html/index.html
    > CSS http://www.blooberry.com/indexdot/css/index.html
    > CSS articles: http://css.nu/pointers/
    >
    > Sid
    >
     
    Peter Campbell, Jul 2, 2003
    #2
    1. Advertising

  3. Peter Campbell

    Mr. Clean Guest

    In article <x4GMa.278$>,
    no_spam@this_address.com says...
    > 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!!!
     
    Mr. Clean, Jul 2, 2003
    #3
  4. "Mr. Clean" <> wrote in message
    news:...
    > In article <x4GMa.278$>,
    > no_spam@this_address.com says...
    > > 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!!!


    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! :)
     
    Peter Campbell, Jul 2, 2003
    #4
  5. Peter Campbell

    brucie Guest

    In post <x4GMa.278$>
    Peter Campbell said...

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


    --
    brucie a. blackford. 03/July/2003 06:55:40 am kilo.
    http://loser.brucies.com/
     
    brucie, Jul 2, 2003
    #5
  6. I was brought up in programming in BASIC and, for better or worse, commands
    they shall remain.

    "brucie" <> wrote in message
    news:bdvgso$11g515$...
    > In post <x4GMa.278$>
    > Peter Campbell said...
    >
    > > 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.
    >
    >
    > --
    > brucie a. blackford. 03/July/2003 06:55:40 am kilo.
    > http://loser.brucies.com/
     
    Peter Campbell, Jul 3, 2003
    #6
  7. Peter Campbell

    brucie Guest

    In post <E9QMa.3982$>
    Peter Campbell said...

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


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


    HTML is a markup language (thats what the ML stands for) not a
    programming language. you write or author HTML, not program it.

    please don't toppost
    How am I supposed to post my replies in a newsgroup?:
    http://allmyfaqs.com/faq.pl?How_to_post

    --
    brucie a. blackford. 03/July/2003 04:49:45 pm kilo.
    http://loser.brucies.com/
     
    brucie, Jul 3, 2003
    #7
  8. Peter Campbell

    Chris Morris Guest

    "Peter Campbell" <no_spam@this_address.com> writes:
    > 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; }

    --
    Chris
     
    Chris Morris, Jul 3, 2003
    #8
  9. "Peter Campbell" <no_spam@this_address.com> wrote in message
    news:E9QMa.3982$...
    > "brucie" <> wrote in message
    > news:bdvgso$11g515$...
    > > In post <x4GMa.278$>
    > > Peter Campbell said...
    > >
    > > > 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.
    > >
    > >

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


    --
    Karl Core
     
    EightNineThree, Jul 3, 2003
    #9
  10. Peter Campbell

    Mr. Clean Guest

    In article <1057235540.595727@news>, says...
    > Mr. Clean wrote:
    > >> 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?

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

    >
    > > DUH!!!

    >
    > "Duh!!!" indeed, the border attribute has long been deprecated[1] in favour
    > of the CSS border properties.
    >
    > img {
    > border-style: none;
    > }
    >


    DUH, yourself...I knew that but also could tell that the original poster wasn't
    quite up to that level...
     
    Mr. Clean, Jul 3, 2003
    #10
  11. > > > HTML doesn't have commands. it has elements and attributes to those
    > > > elements.


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


    Just because you're an arsehole, doesn't mean you should show it all the
    time.
     
    Peter Campbell, Jul 3, 2003
    #11
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. et

    Borders around links

    et, Sep 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    447
    =?Utf-8?B?c3Jpbmk=?=
    Sep 27, 2004
  2. George
    Replies:
    9
    Views:
    5,046
    George
    Oct 25, 2004
  3. Replies:
    1
    Views:
    1,039
    dorayme
    Feb 10, 2006
  4. Arne
    Replies:
    6
    Views:
    980
    ironcorona
    Jun 3, 2006
  5. vbAlex

    Removing borders around active links

    vbAlex, Jul 2, 2003, in forum: Javascript
    Replies:
    2
    Views:
    124
    Fred Serry
    Jul 2, 2003
Loading...

Share This Page