- This topic is empty.
-
AuthorPosts
-
March 15, 2013 at 1:39 pm #128381wragen22Member
interesting… i wonder if it’s a chrome issue..
March 15, 2013 at 1:49 pm #128383wragen22Member@Pualie_d hmmm.. removed inline-block.. Still not working though. I added inline-block so that the click area for cursor woud not extend across the whole row but only the text.
What is interesting is the inline block seems to be causing the issue with color artifacts.
March 15, 2013 at 3:10 pm #128391AlenParticipantI was mentioning, to fix HTML first before you do any testing, because invalid syntax might not render your design correctly.
March 15, 2013 at 4:25 pm #128406wragen22Memberthe syntax is only minor differences, I don’t see how that would cause issues. I especially don’t like the whole roles thing and would rather uses classes.
March 15, 2013 at 4:34 pm #128409Paulie_DMember>What is interesting is the inline block seems to be causing the issue with color artifacts.
Sorry, that was the issue I was fixing. I haven’t looked at the other thing yet.
March 15, 2013 at 4:57 pm #128411AlenParticipantYou have `div` elements declared outside of HTML Doctype declaration, this has nothing to do with CSS and “rules”. I’ve coded a sample structure for you, you can modify it if you like, but it’s valid syntax… you can eliminate `role` or just add appropriate classes to the HTML elements.
[Role is part of WAI-ARIA](http://www.w3.org/WAI/intro/aria), it’s for assisted technologies and screen readers.
March 15, 2013 at 9:19 pm #128429wragen22Memberok, You’re right I did have order out of place, but outside of that I think my markup is fine.
March 16, 2013 at 12:58 am #128441wragen22MemberOk, cleared cache and works. Still not too sure what to do about in-line block. @Paulie_D do you recommend anything else for getting the desired results?
March 16, 2013 at 4:13 am #128444Paulie_DMemberWould you use inline-block by default for whatever you are using this for?
If not then your problem is resolved.
March 16, 2013 at 4:45 pm #128494wragen22MemberYes. Any idea as to why this would cause the color artifacts to go wrong? Possibly the inline-block is not extending the whole width of the h1 s ?
March 16, 2013 at 6:19 pm #128506Paulie_DMemberAt a guess, it’s a browser rendering issue as the font is italicized.
March 19, 2013 at 4:22 pm #128816wragen22MemberHmmm… the font style is italicized, however it’s actually regular. I wonder if it’s an issue with font-squirrel?
March 20, 2013 at 2:22 am #128906chrisburtonParticipant@wragen22 Instead of setting it as “italic”, set it as “oblique” and see if that solves it.
March 20, 2013 at 7:06 am #128923Paulie_DMemberWith the display on the h1 set to inline or inline block the text is actually rendering partly outside of the…erm…h1 ‘block’.
As such, it’s not being affected by the hover color change.
**I have no idea why this should be so** but a few pixels of horizontal padding fixes the color issue.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.