TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-02-2008, 07:18 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 284
Thanks: 42
sarmenhb is on a distinguished road
Default why does this border show when i click on a image button

go to sdotb.com and click on an image using firefox. you will notice a red border show up. why does this happend is there a way to take it off?

i have set this css

img { border:0px; }

and it still shows.
__________________
IAD Design & Studio will provide all your needs regarding web design,logo design, and more...
visit http://www.iaddesignandstudio.com for more information.
Send a message via AIM to sarmenhb Send a message via MSN to sarmenhb Send a message via Yahoo to sarmenhb Send a message via Skype™ to sarmenhb
sarmenhb is offline  
Reply With Quote
Old 12-02-2008, 07:45 PM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 1,654
Thanks: 73
Wildhoney is on a distinguished road
Default

That will be the outline. I believe it is the following to remove it:

css Code:
outline: 0;

Though it could be outline: none. Have a try! Use the above method first though, as I am pretty certain it is 0.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-02-2008, 07:49 PM   #3 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 753
Thanks: 2
Salathe is on a distinguished road
Default

That's the outline CSS property and is a useful part of the usability of a website. It's most often used when an element is focused (whether clicked, tabbed or whatever) and I wouldn't advise removing this default behaviour. If you do really want to change it, the values are the same as you'd use for a border (width, line-type and colour).
__________________
Salathe is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB 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
image show galleeandfarel Absolute Beginners 1 09-30-2008 07:09 AM
Basic image link problem. Nor XHTML, HTML, CSS 7 03-25-2008 08:57 PM
The Big GD Guide - Part 2 Rendair Advanced PHP Programming 3 03-07-2008 12:14 AM
Image Reflections in PHP Rendair Advanced PHP Programming 15 01-22-2008 10:27 AM
How to create a gallery class Tanax Advanced PHP Programming 15 12-04-2007 06:13 PM


All times are GMT. The time now is 05:56 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0