Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Moz?

  1. #1
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts

    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?

  • #2
    Regular Coder kosstr12's Avatar
    Join Date
    Apr 2007
    Location
    Woodstock, Georgia
    Posts
    428
    Thanks
    7
    Thanked 5 Times in 5 Posts
    post a link to a site with this code and I might be able to help you

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    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.

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,695
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    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.

  • #5
    New Coder
    Join Date
    Oct 2007
    Posts
    10
    Thanks
    2
    Thanked 1 Time in 1 Post
    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.

  • #6
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    thanks for all of the info guys, i now know its not too necassary to use or know.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •