[Pmwiki-users] (:noleft:) layout questions

Tom Holroyd tomh
Wed Dec 22 14:58:48 CST 2004


> well at least it works on my machine
> css layout styling seems to be quite tricky
> to adapt to different browsers.
> so it may be tables in the end... :(

I'm using

if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') == false) {
        $HTMLHeaderFmt['norm'] = "<style type=\"text/css\">\n" .
                "@import url(\$SkinDirUrl/myskin.css);\n</style>\n";
} else {
        $HTMLHeaderFmt['ie'] = "<style type=\"text/css\">\n" .
                "@import url(\$SkinDirUrl/ie.css);\n</style>\n";
}

I'm thinking of having the ie.css skin paint big red warning 
banners across the background, and redirect the user to the 
Firefox installation page.... :-)




More information about the pmwiki-users mailing list