Git Product home page Git Product logo

Comments (10)

dhg avatar dhg commented on September 24, 2024

You just need to add a class .button to the tag and it will look exactly the same. This was intentional so that the style was tied to that class and not to the tag.

from skeleton.

thesealion avatar thesealion commented on September 24, 2024

No, this doesn't seem to work. I looked at the css and there are no rules for button.button or just .button, only for a.button.

from skeleton.

dhg avatar dhg commented on September 24, 2024

Right. Unless I'm mistaken (and I did a quick Firefox/Chrome check) adding the class button to the button element styles it properly. (e.g. <button class="button">Text</button>). Let me know if this is more specifically an IE issue or if there is something I am missing!

from skeleton.

thesealion avatar thesealion commented on September 24, 2024

Here's what it looks like in Firefox 7.0.1: http://charadeyouare.org/buttons.png
You can clearly see the difference. Adding the class has no effect.

from skeleton.

thesealion avatar thesealion commented on September 24, 2024

Any comment on that?

from skeleton.

dhg avatar dhg commented on September 24, 2024

Sorry for the belated response - yes those are definitely different! I will investigate and try to commit some changes soon. Thanks for pushing on the issue (been busy and tough to keep up). Thanks so much!

from skeleton.

necolas avatar necolas commented on September 24, 2024

This is because you've set a line-height value other than normal on L158

Taken from the normalize.css wiki:

button, input {}
line-height: normal : FF3/4 sets line-height using !important in the UA stylesheet. This declaration is to set all other browsers to match the FF3/4 style.

from skeleton.

dhg avatar dhg commented on September 24, 2024

Added line-height: normal, but still have the 1px difference in Firefox for button. Will have to investigate further.

from skeleton.

necolas avatar necolas commented on September 24, 2024

You probably need these lines: https://github.com/necolas/normalize.css/blob/master/normalize.css#L404

from skeleton.

dhg avatar dhg commented on September 24, 2024

@necolas You're the man. Fixed it. Glorious.

from skeleton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.