Stuart's Blog
  • Home
  • Galleries
    • Star Trek Online
  • Liquid
    • Download
    • Screenshots
    • Changelog
    • Help
  • About
KEEP IN TOUCH

Monthly archives for December, 2008

Add an Internet Explorer specific stylesheet

Dec24
2008
Leave a Comment Written by Stuart Clark

You can add a Internet Explorer (external link) specific stylesheet to your WordPress (external link) theme using the following code:

<!--[if lt IE 6]>   <link type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" media="screen" rel="stylesheet" /><![endif]-->

This will link to a Internet Explorer 6 only stylesheet using conditional comments, the ie6.css file should be located in the same place as the standard css file.

Posted in CSS - Tagged Internet Explorer

Firefox and pre font-size

Dec24
2008
Leave a Comment Written by Stuart Clark

My website stylesheet sets the overall font size to be 76.1%, this was working fine except for Firefox and the pre tag, it would render fine in Internet Explorer but Firefox would shrink the font size down. In order to get around this I used the following CSS:

pre, code {   font-size:  123.9%;   *font-size: 100.0%;}

The asterisk in front of the font-size command means it is strictly invalid CSS which is ignored by Firefox but is still parsed by Internet Explorer.

Posted in CSS - Tagged Firefox
Download Liquid

Popular Posts

  • Assassin’s Creed save game location
  • Fix Windows Update error code 80240025
  • .NET charting with ZedGraph
  • How to disable real-time protection in Microsoft Security Essentials
  • Grand Theft Auto IV command line options
  • Map a network drive in Windows 7
  • Nokia 5230 codes
  • Xfire shortcut keys
  • Assassin’s Creed and Xfire
  • How to load the web page instead of the RSS feed summary in Thunderbird 3

Archives

  • July 2011
  • October 2010
  • September 2010
  • July 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • May 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • October 2008

EvoLve theme by Theme4Press  •  Powered by WordPress Stuart's Blog