Re: [css-d] Validation Error -moz-outline
Hi, I'm getting rid of the ugly outline that appears on an image when it's used as a link. It doesn't seem to be set to default, as when I don't set -moz-outline I get the ugly borders when I click the links. Cheers, Tracy On Wednesday, August 24, 2005, at 03:40 am, Peter Williams wrote: Why do you need to declare outline and moz-outline for this image? Especially when you are setting them to none, isn't that the default? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Hi Philippe, Will do, thanks. As Zoe pointed out, it isn't causing a problem in browsers so I'm not going to worry about it too much... Cheers, and thanks to all who responded. Tracy On Wednesday, August 24, 2005, at 05:55 am, Philippe Wittenbergh wrote: BTW, you're better off by first specifying the vendor-specific property, and then the official one; vendor specific stuff could be processed slightly differently. In Tracy's case, apply it this way: #footer img { vertical-align: middle; -moz-outline:none; outline: none;} As a side note, DeerPark (and the upcoming Firefox 1.5) fully supports the official 'outline' property. And it supports the CSS3 'outline-offset' property. Philippe __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Tracy Shorrock wrote: I'm getting rid of the ugly outline that appears on an image when it's used as a link. It doesn't seem to be set to default, as when I don't set -moz-outline I get the ugly borders when I click the links. That ugly outline is actually a border, not an outline. Try this: a img {border-width: 0} -- http://www.mozilla.org/products/firefox/ - Get Firefox! http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox! Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Roger Roelofs wrote: Validation is a guide, not a law. :-) Exactly. :-) Validation is a means to an end (a well functioning page) not an end in itself. If you know why your page won't validate, and you know that this isn't causing a problem in any browsers (it isn't, in this case), you have nothing to worry about. Zoe -- Zoe M. Gillenwater Design Specialist UNC Highway Safety Research Center http://www.hsrc.unc.edu __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
I don't think so :-( It's weird though, because I think the specifications says that vendors can add their own property's in the -vendorname-property format. Evert Tracy Shorrock wrote: Hi, I keep getting a parse error on -moz-outline: none; when validating the following css: #footer img { vertical-align: middle; outline: none; -moz-outline: none;} Is there anyway to get around this? (apart from taking it out!) Cheers, Tracy __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Validation Error -moz-outline
Tracy, On Aug 23, 2005, at 9:46 PM, Tracy Shorrock wrote: Hi, I keep getting a parse error on -moz-outline: none; when validating the following css: #footer img { vertical-align: middle; outline: none; -moz-outline: none;} Is there anyway to get around this? (apart from taking it out!) It is a proprietary extension to css hence the -moz prefix. Your choices are to ignore the error or remove the rule. Validation is a guide, not a law. :-) Roger, Roger Roelofs Remember, if you’re headed in the wrong direction, God allows U-turns! ~Allison Gappa Bottke __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/