Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Oct 2006
    Posts
    164
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Remove border on linked images

    I have removed the blue border around the images I put a link on, but now there is a space around the images. How do i remove the spaces so the 4 images look like one?

    Heres the problem:


    The code:
    Code:
    		<div id="top_nav">
    		<a href="#"><img src="images/top_nav_4.png" alt="shared hosting" width="220" height="45" class="image" /></a>
    		<a href="#"><img src="images/top_nav_3.png" alt="VPS" width="220" height="25" class="image" /></a>
    		<a href="#"><img src="images/top_nav_2.png" alt="dedicated hosting" width="220" height="27" class="image"/></a>
    		<a href="#"><img src="images/top_nav_1.png" alt="about us" width="220" height="33" class="image" /></a> </div>
    The css:
    http://www.ultimateflcl.com/

    And the Url:
    http://www.ultimateflcl.com/

    Thank you
    Last edited by Sman5109; 01-27-2007 at 05:59 PM.

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,722
    Thanks
    0
    Thanked 240 Times in 235 Posts
    Hi there Sman5109,

    try it like this...
    Code:
    
    .image {
    	border-style: none;
            display:block;
     }
    
    coothead

  • #3
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could do it with texts

  • #4
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,722
    Thanks
    0
    Thanked 240 Times in 235 Posts
    Quote Originally Posted by codingmasta
    You could do it with texts
    Errr, what are texts.

    coothead

  • #5
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    I think codingmasta was saying that the links could be produced using regular text rather than img-based text.

  • #6
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,722
    Thanks
    0
    Thanked 240 Times in 235 Posts
    Hi there Bill,

    It seems a long while since we were together on the same thread.
    Thanks for revealing codingmasta's thoughts.
    Looking at the image displayed in the post, I do not think that it would be possible though.
    And as the OP has already gone to the length of creating them, it is more practical to use...
    display:block;

    coothead
    Last edited by coothead; 01-26-2007 at 08:48 AM.

  • #7
    Regular Coder
    Join Date
    Oct 2006
    Posts
    164
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Thanks for the help guys!

    It worked


  •  

    Posting Permissions

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