Top "Css-hack" questions

A CSS hack is a technique which uses implementation bugs in the style sheet parser of a browser family or a particular version(s) of a browser to identify it and apply specific CSS properties, usually for the purpose of cross-browser consistency.

Targeting only Firefox with CSS

Using conditional comments it is easy to target Internet Explorer with browser-specific CSS rules: <!--[if IE 6]> ...include …

css firefox css-hack
How to write a CSS hack for IE 11?

How can I hack or write css only for IE 11? I have a website that looks bad in IE 11.I …

css css-selectors internet-explorer-11 css-hack
How to apply specific CSS rules to Chrome only?

Is there a way to apply the following CSS to a specific div only in Google Chrome? position:relative; top:…

css google-chrome css-hack
CSS \9 in width property

What is the meaning of this? I am guessing it is a browser hack, but I have not been able …

css width css-hack
Target IE9 Only via CSS

Just wondering given these IE hacks in my bag of tricks "\9" - for IE8 and below. "*" - for IE7 and …

html css internet-explorer-9 stylesheet css-hack
How to define specific CSS rules for IE9 alone?

Friends, please help me in defining specific css rule for IE9? For example like this /* IE 6 fix */ * html .twit-post .delete_…

css internet-explorer-9 css-hack
How to make CSS visible only for Opera

Is there a way to make some CSS rules visible only for Opera (9.5 +)?

css opera css-hack
IE8 CSS Hack - best method?

Can anyone recommend the best way to hack IE8 styling via CSS, I've recently been making IE8 render as IE7 …

css internet-explorer-8 ie8-compatibility-mode css-hack
What does the smiley face ":)" mean in CSS?

I spotted this CSS code in a project: html, body { :)width: 640px;} I have been around with CSS for a …

css css-hack
Are There Specific CSS Selectors Targeting IE10?

Since IE is getting rid of conditional comments in version 10, I'm in dire need to find a "CSS hack" targeting …

css internet-explorer css-selectors css-hack vendor-prefix