problem with links

This is a discussion on "problem with links" within the Web Page Design section. This forum, and the thread "problem with links are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jun 4th, 2006, 06:32
New Member
Join Date: Apr 2005
Location: Texas
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
problem with links

I am having a problem when using images as links. I've made a menu with my own .gif buttons. It displays fine in Foxfire, but in IE all the buttons are surrounded by a blue box. How do I get that box to go away? I've changed all the aroperties to the background color, but it still throws the blue box around my images links.

Any help is greatly appreciated. I've searched, but I can't seem to find the answer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 4th, 2006, 07:44
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

If I'm correct the blue box your referring to that shows in IE is a border problem. I had that happen to me before. If you change the border to none it would most likely fix that issue. If it does not then get back with me and I'll help you some more.

Here is the part of the code that you may need to alter...

<a href="Site Url">
<img style="border-style:none;border-color;transparent;border-size:0px;" src="image Url">
</a>


That is what I done to fix that problem. You might need to alter the text in bold or take it out but if you work with that you should get the blue box taken off.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 4th, 2006, 14:48
New Member
Join Date: Apr 2005
Location: Texas
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

Yes that did it. Thank you very much. I knew it was something simple I wasn't doing but for the life of me I couldn't figure it out.

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jun 4th, 2006, 18:46
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

You welcome, if you could would you press the brownies button on my post for helping you if you haven't done so already.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jun 5th, 2006, 14:46
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

You could do it much easier than that. Simply blanket the entire site with it by doing this (in your stylesheet):

Code: Select all
a img {
border:none;
}
What that does is say for any image that is a link apply no border. It isn't necessary to tell it to be 0px and transparent. No border means just that

Tip: Whenever possible try to avoid inline styling as it can make for messy markup and usually isn't necessary.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 3rd, 2006, 08:17
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

Quote:
Originally Posted by jpmitchell
You could do it much easier than that. Simply blanket the entire site with it by doing this (in your stylesheet):

Code: Select all
a img {
border:none;
}
What that does is say for any image that is a link apply no border. It isn't necessary to tell it to be 0px and transparent. No border means just that

Tip: Whenever possible try to avoid inline styling as it can make for messy markup and usually isn't necessary.
Yes, you could have very easily done that. At the time though I wasn't thinking about it and just thought of the way I done it a while back when I first started learning Web Design. Thanks for the reminder !!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 7th, 2006, 20:43
Junior Member
Join Date: Jul 2006
Location: Coventry, UK
Age: 19
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with links

Quote:
Originally Posted by jpmitchell
You could do it much easier than that. Simply blanket the entire site with it by doing this (in your stylesheet):

Code: Select all
a img {
border:none;
}
What that does is say for any image that is a link apply no border. It isn't necessary to tell it to be 0px and transparent. No border means just that

Tip: Whenever possible try to avoid inline styling as it can make for messy markup and usually isn't necessary.


And this is EXACTLY why CSS rocks so much. Saves hours and hours of work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
problem, links

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PR4 links for sale...links in an excellent position agent14 Link Building and Link Sales 4 Sep 19th, 2008 16:09
Adding Links to buttons - problem fourtheye246 Flash & Multimedia Forum 2 Jun 13th, 2007 06:29
Blured Links (image links) bruno89 Web Page Design 2 Jul 25th, 2006 14:48
Different coloured links without modifying links? Webforumz Staff Web Page Design 12 Aug 29th, 2003 18:48


All times are GMT. The time now is 20:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved