outline

How do I remove an active outline from jquery accordion?

天涯浪子 提交于 2019-12-08 14:41:42
问题 I am using Jquery Accordion. The active link has an outline. I have tried using css: #accordion a:focus { outline: none; } #accordion a:active {outline: none; font-weight:bold;} and also #accordion a:-moz-any-link:focus { outline: none; } None of these seem to work. Can anyone advise a setting or another option to remove the dotted outline around the active links? 回答1: You need to figure out the tab element's class being applied by the widget. For instance, .ui-state-focus { outline: none; }

Highlighting a table row with something other than background color

蓝咒 提交于 2019-12-08 07:38:50
问题 I'm trying to find a reasonable CSS style for highlighting a particular table row (i.e. on a click selection) that doesn't involve changing the background color, because the row colors already serve a purpose in my application. This probably means making the border stand out or doing something to the background that doesn't change its color. I've tried the following border: 2px ... with margin: -2px or something like that. However, it doesn't display too well, especially when the table is

Firefox outline around box-shadow on hover

て烟熏妆下的殇ゞ 提交于 2019-12-08 01:57:12
问题 This is my first question on StackOverflow, so I'll try to format it the right way. Basically, I have a div with a border and an outline. On hover, the div also gets a shadow, which, of course, should be outside of the outline. This goes well in all browsers, except for firefox. Firefox seems to render the outline outside of the box-shadow for some reason. An example can be seen here: http://rubencoolen.be/test.php This is my CSS: .block { background: #eceeeb; border: 3px solid white; outline

outline:none; does NOT WORK - Only -webkit-appearance:none; is working - what is wrong here?

橙三吉。 提交于 2019-12-06 21:58:00
问题 Edit: My concerns are for mobile websites. Let me get right to the point. No matter what I do, outline:none; does NOT remove any default highlighting/glows from input form elements using an Ipod Touch/Iphone. Everywhere I look, people say to use: input:focus { outline:none; } or input { outline:none; } .... and that this will remove the glow.... well it doesn't. Another major problem is that there IS NO DEFAULT GLOW. I create a blank page with no styling and just a form input, view the page

Can't get rid of dotted outline in Firefox links?

我与影子孤独终老i 提交于 2019-12-05 15:29:00
I have a list full of a imgs: <ul> <li><a href="#"><img src="test.png" /></a</li> <li><a href="#"><img src="test.png" /></a</li> <li><a href="#"><img src="test.png" /></a</li> (...) </ul> When I click them in Firefox, there's dotted outline (who the heck invented that and why? so ugly!). I want to get rid of them, but style "outlines" etc. doesn't seem to work, I've tried all of options below: #ul li img:active { -moz-outline-style: none; -moz-focus-inner-border: 0; outline: none; outline-style: none; } #ul li img:focus { -moz-outline-style: none; -moz-focus-inner-border: 0; outline: none;

Unwanted outline or border around button when clicked

随声附和 提交于 2019-12-05 12:39:21
问题 I have a styled button on my website. But when I click it, it creates an unwanted border or outline (I don't know which). How can I remove that border? Below is all the code that pertains to the button. button { border: hidden; cursor: pointer; outline: none; } <button>this is my button</button> 回答1: If you are talking about the dotted line in Firefox, I think what you're looking for is this: button::-moz-focus-inner { border: 0; } This is a thread on the topic: How to remove Firefox's dotted

outline:none; does NOT WORK - Only -webkit-appearance:none; is working - what is wrong here?

佐手、 提交于 2019-12-05 05:24:09
Edit: My concerns are for mobile websites. Let me get right to the point. No matter what I do, outline:none; does NOT remove any default highlighting/glows from input form elements using an Ipod Touch/Iphone. Everywhere I look, people say to use: input:focus { outline:none; } or input { outline:none; } .... and that this will remove the glow.... well it doesn't. Another major problem is that there IS NO DEFAULT GLOW. I create a blank page with no styling and just a form input, view the page via IOS mobile, and there is no glow/outline on the input elements... it is just blank. The only thing

Outline a transparent image using imagick PHP

我的未来我决定 提交于 2019-12-05 02:49:36
I have an image with a transparent background that I'd like to outline with a 5px border. In photoshop, I can stroke it to achieve this. I've tried using borderImage but it won't outline the penguin. $image = new Imagick(); $image->readImage('tux.png'); $image->borderImage(new ImagickPixel('red'), 5, 5); // no outline This is the image. This is what I want to achieve. I'll start at the command line and may do the PHP later, or let you work that bit out... Step 1 - Extract transparency As you have seen, -border outlines the whole image, but you actually want to outline the opaque areas only so

Outline applied to an anchor containing an image isn't the right height in Chrome

烂漫一生 提交于 2019-12-05 02:28:10
问题 For a site I'm working on, I'd like to have a dotted outline appear around links when they are focused/hovered/active. I'd like this to happen for text and image links. The issue I have is that whilst my code works great in Firefox and IE, in Chrome 7.0.517.41 the dotted outline is the same height as my text, not the height of the image. Sample code: <!DOCTYPE html> <html lang="en"> <head> <style type="text/css"> BODY { font: 15px/1.5 sans-serif; } a:focus, a:hover, a:active { outline: 1px

Unwanted outline or border around button when clicked

大憨熊 提交于 2019-12-03 22:26:49
I have a styled button on my website. But when I click it, it creates an unwanted border or outline (I don't know which). How can I remove that border? Below is all the code that pertains to the button. button { border: hidden; cursor: pointer; outline: none; } <button>this is my button</button> cesarsalazar If you are talking about the dotted line in Firefox, I think what you're looking for is this: button::-moz-focus-inner { border: 0; } This is a thread on the topic: How to remove Firefox's dotted outline on BUTTONS as well as links? VIP Use either of these CSS Styles a:active, a:focus,