• Is there any safari specific hacks that you guys know off? My site looks good in IE/Firefox but on safari half the content is out of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s weird. Most of the time, what renders well in FF renders well in Safari as well. I guess the easiest way would be feeding a different stylesheet for Safari.

    Thread Starter basketball

    (@basketball)

    “What usually renders well in FF redners well in Safari.” That’s usually always true, strange thing is this is the first time my site has looked that bad in safari. Anyways how would a I feed a different stylesheet for Safari?

    In my theme Wuhan, I created a separate stylesheet for IE, since that’s the evil browser that creates most of the problems. You can probably modify the following code to feed a different .css for Safari:


    <?php if (eregi("MSIE",getenv("HTTP_USER_AGENT")) ||
    eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) { ?><link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style-ie.css"/><br>
    <?php } else { ?>

    Thread Starter basketball

    (@basketball)

    I’ll try that, thanks fuzzy_logic

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Safari Specific Hacks’ is closed to new replies.