http://outsourceage.com

  • Home
  • About Us
  • Portfolio
  • Blog
  • Services
  • Contact Us

Posts Tagged ‘css safari issue’

CSS Browser Selector

Saturday, July 17th, 2010

I got so stuck with a 1px margin making my layout look weird on safari. i have a well written code and understood only a hack like.

<!–[if Safari]> ??? possible?

no it is not but following example really helped me. I much appreciate

Clever technique to help you on CSS hacks.

CSS Browser Selector is a very small javascript with just one line which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser.

http://rafael.adm.br/css_browser_selector/

<style type="text/css">
.ie .example {
  background-color: yellow
}
.ie7 .example {
  background-color: orange
}
.gecko.example {
  background-color: gray
}
.win.gecko .example {
  background-color: red
}
.linux.gecko .example {
  background-color: pink
}
.opera .example {
  background-color: green
}
.konqueror .example {
  background-color: blue
}
.webkit .example {
  background-color: black
}
.example {
  width: 100px;
  height: 100px;
}
.no_js { display: block }
.has_js { display: none }
.js .no_js { display: none }
.js .has_js { display: block }
</style>

Tags: cross browser compatibility, css safari issue, Safari Exception script
Posted in HTML CSS, JS JQuery Ajax | 4 Comments »

Topics

  • Categories
    • Adobe Photoshop
    • Compatibility
    • Dreamweaver
    • HTML CSS
    • HTML5
    • JS JQuery Ajax
    • News
    • OSCommerce
    • PHP MY SQL
    • Psd to wordpress
    • Search Engines
    • SEO
    • Testimonial
    • wordpress
  • Our Portfolio - The stuffs what we did

    PSD to Wordpress, OS Commerce, Wordpress Plugin Development. Please, browse our portfolio.

    View Our Portfolio

  • What our customers say about us?

    Read our customer testimonials to find out why our clients keep returning to Glue for their projects.

    View Testimonials

Wordpress website design, Search Engine Optimzation, Theme Customization, plugin development

Facebook LinkedIn Twitter Flickr Odesk eBlogger

PSDtoWP Coversion

We convert your PSD design to a fully W3C standards compliant, cross browser compatible with WordPress theme, and that search engines love traffic would find its way to your website!

We ensure the proper usage of h1, h2, h3, alt, title and other html tags durring PSD to WP Conversion, timely delivery is what makes us apart of the competition.

Sitemap

  • Home
  • About Us
  • Services
  • Portfolio
  • Testimonials
  • Contact Us
  • Sitemap

Explore

  • Delicious
  • Digg
  • StumbleUpon
  • Ask
  • CSS Beauty
  • CSS Mania
  • slashdot.org
  • Smashing Magazine
  • Web 2.0
  • Joomla
  • WordPress
  • Valid XHTML
  • Valid CSS

© 2005-2011 All Rights Reserved. Outsourceage Tel: +9233 666 555 74. Email: info@outsourceage.com

Privacy Policy. Terms of use. Valid XHTML & CSS