Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    2

    How to make IMAGE link in web site without decoration with css?

    Hi,

    in my site their are images which links to another page, but i want to display it without any decoration, but it is a link so it has a blue border which i don't like. I want IMAGE without any decoration with css.
    I use link,alink,vlink in <body> tab but HTML 4.01 dues not support it.

  2. #2
    Guest Moderator ~ServerPoint~'s Avatar
    Join Date
    Nov 2007
    Posts
    1,846
    Can you please give more details?
    What exactly you need? Any screenshots for examples?
    ServerPoint.com - a true hosting company offering online presence solutions since 1998
    Web Hosting, colocation, dedicated servers, Virtual Private Server (VPS) hosting
    Wholly owned multi homed network, servers and facilities

  3. #3
    Senior Member
    Join Date
    Sep 2008
    Location
    Montesano, Wa
    Posts
    285
    use border=0 inside the image tag

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    23
    That will work most of the time but the apparent "proper" way to do it is this:

    HTML Code:
    <a href="http://www.somesite.com/">
    <img src="/boutellcomlogo.png" style="border-style: none"/>
    </a>
    or

    HTML Code:
    img
    {  border-style: none;
    }
    
    And then reference that style sheet in the head element of your page:
    
    
    <link href="/mystylesheet.css" rel="stylesheet" type="text/css"/>

  5. #5
    Registered User sequencehosting's Avatar
    Join Date
    Dec 2009
    Posts
    62
    As someone has already mentioned you can cancel the default in your CSS. I recommend you use the following:

    Code:
    img { 
    
    border-style: none; 
    
    }
    That will remove the border from every image you have on your site. I can't think of even one time when I would like to use the border
    Sequence Hosting - $1/mo cPanel hosting! - Why pay more for less?
    Professional cPanel Web Hosting From $1/month!
    ^ Premium Web Hosting! View Our Control Panel
    Web Hosting Affiliate Program - 20% Lifetime Commissions!

  6. #6
    Junior Member
    Join Date
    Mar 2010
    Posts
    12
    you can cancel the default in your CSS

  7. #7
    Junior Member
    Join Date
    Apr 2010
    Posts
    17
    If u r use dreamwever for creating website then follow the steps...
    - open your design in dreamwever
    - then select the image which you can give link.
    - click on that image - using the hyperlink option give the link..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.