Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-01-2007, 08:17 PM   PM User | #1
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
Moz?

I frequently look into others CSS on the view css bar in firefox to see some of the ways people arrange the pages. I often stumble upon ths code very often:
Code:
*:focus { -moz-outline: 3px solid #10bae0; -moz-outline-offset: 1px; -moz-outline-radius: 5px; }
button:focus::-moz-focus-inner { border-color: transparent; }
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
border: 1px dotted transparent;
}
textarea:focus, button:focus, select:focus, input:focus { -moz-outline-offset: -1px; }
input[type="radio"]:focus {-moz-outline-radius: 12px; -moz-outline-offset: 0px; }
a:focus { -moz-outline-offset: 0px; }
what exactly does this do?
jcdevelopment is offline   Reply With Quote
Old 11-02-2007, 02:04 PM   PM User | #2
kosstr12
Regular Coder

 
kosstr12's Avatar
 
Join Date: Apr 2007
Location: Woodstock, Georgia
Posts: 428
Thanks: 7
Thanked 5 Times in 5 Posts
kosstr12 is on a distinguished road
post a link to a site with this code and I might be able to help you
kosstr12 is offline   Reply With Quote
Old 11-02-2007, 02:32 PM   PM User | #3
effpeetee
Senior Coder

 
effpeetee's Avatar
 
Join Date: Feb 2007
Location: Clapham Junction - London SW
Posts: 4,884
Thanks: 228
Thanked 204 Times in 203 Posts
effpeetee is an unknown quantity at this point
Quote:
Originally Posted by kosstr12 View Post
post a link to a site with this code and I might be able to help you
http://www.eskimo.com/~bloo/indexdot...seudoclass.htm

This is the only site I could find to explain some of it.

Frank
__________________
* Sources (updated: 21.11.2012.
Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.
effpeetee is offline   Reply With Quote
Old 11-02-2007, 02:42 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,600
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
I don’t know where you stumble upon such code frequently as I’ve barely seen these rules being used anywhere. And you know, I just put some of them into a search engine of my choice and guess what kinds of results I got? Yes, ANSWERS! You wouldn’t believe it!

In a nutshell: All CSS properties with the -moz prefix are non-standard, proprietary properties that only browsers using the Mozilla rendering engine understand and parse. They are ignored by all other browsers and will generate errors in any CSS validator that validate against the common standards set by the W3C. Some of them will become standards with the release of CSS3, and some won’t…

Explanatios on their functions can be found in the Mozilla Developer Center, among other sites.
__________________
Don’t click this link!
VIPStephan is online now   Reply With Quote
Old 11-02-2007, 05:28 PM   PM User | #5
jpm121
New Coder

 
Join Date: Oct 2007
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
jpm121 is an unknown quantity at this point
There's got to be more to it than that, for example, if you use Firebug to look at the first div inside body -> maincontainer, you'll see the same thing.

http://www.jpmeredith.com/deerfieldp...on/inside.html

Here's the thing -- I never typed any of that stuff in there. I wouldn't know a -moz-initial if one hopped up and mooned me, but there it is. If you look at the page source, it's not there!

It's something that Firebug must be injecting into the code.
jpm121 is offline   Reply With Quote
Old 11-02-2007, 05:53 PM   PM User | #6
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
thanks for all of the info guys, i now know its not too necassary to use or know.
jcdevelopment is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:21 PM.


Advertisement
Log in to turn off these ads.