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
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-02-2008, 06:18 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 305
Thanks: 44
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.
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 12-02-2008, 06:45 PM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,215
Thanks: 90
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, 06:49 PM   #3 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,239
Thanks: 3
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@php.net
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
How to create a gallery class Tanax Advanced PHP Programming 22 06-23-2009 11:36 PM
image show galleeandfarel Absolute Beginners 1 09-30-2008 06:09 AM
Basic image link problem. Nor XHTML, HTML, CSS 7 03-25-2008 07:57 PM
The Big GD Guide - Part 2 Rendair Advanced PHP Programming 3 03-06-2008 11:14 PM
Image Reflections in PHP Rendair Advanced PHP Programming 15 01-22-2008 09:27 AM


All times are GMT. The time now is 12:17 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design