Current location: Hot Scripts Forums » General Web Coding » CSS » blue square around images


blue square around images

Reply
  #1 (permalink)  
Old 10-11-08, 10:02 AM
2door 2door is offline
Newbie Coder
 
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
blue square around images

How can I get rid of the blue square around an image with a link?

Cheers,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-11-08, 10:05 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
css Code:
  1. img { border: none; }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-12-08, 12:42 PM
Zefer's Avatar
Zefer Zefer is offline
Wannabe Coder
 
Join Date: May 2007
Posts: 190
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Nico View Post
css Code:
  1. img { border: none; }
That would work, but this is a bit better:
CSS Code:
  1. a img { border:none;}

cause it'll only take away the border on a link...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-12-08, 03:34 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
But images without link don't have a border by default.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-05-08, 11:50 PM
mityelir88 mityelir88 is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
either way. another option is <img border="0" /> but whatever
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotate Images OnLoad kgcr@juno.com JavaScript 5 04-11-09 05:48 AM
Flash: Unable to load Images from other subdomain Robd75 Flash & ActionScript 1 08-05-08 02:49 PM
Loading Images losse Flash & ActionScript 1 06-03-08 06:18 AM
uploading images in a single directory or not? macintosh PHP 15 03-16-08 08:41 AM
List images and zip before download jaimexyz Script Requests 0 09-01-03 04:01 PM


All times are GMT -5. The time now is 06:40 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.