(*Disclaimer* – although this didn’t turn out to be the valid replacement for the underscore hack that I hoped it was, I thought I’d leave the post here as proof of what happens when you don’t check your facts thoroughly enough. Or more specifically, when you’re so tired, that you confuse a vaild HTML result to be valid CSS – hey ho!)
Today, I had one of those little CSS accidents, which led me to discover that an easy way to provide css for only IE (PC and Mac 5, 5.5 and 6) is to simply to add a comma after the the selector, but before the opening brace:
div, {
width: 80%;
}
Mozilla, Opera and Safari ignore the rule. It validates too!). I hope this is useful to someone.
The fact that IE 5 Mac applies the rule as well, could reduce its usefulness. If you have time, please test it further and let me know your results.
Everyone’s linking to this, and normally I stay away from repetition of other blogs, but this is far too useful.
As you all know, one of the biggest problems with testing sites on a PC, is that Windows only allows one installation of IE. However, a recent tutorial explained how the patent-friendly version of IE 6 inadvertently provided a way around this. By altering the installation files for IE 5 and 5.5, you could have the 3 last versions of IE on the same PC!
So here comes the really useful bit. Ryan Parman has done the work for you and created standalone versions of IE 5 and 5.5 ready to download. Get them while you can, they may not be up for long.
Archives by tag:
2006,
2007,
accessibility,
acoustic,
actionscript,
adobe,
adverts,
advice,
alternative,
ambient,
analog,
apple,
applecare,
appletv,
apps,
art,
articles,
atmedia,
attap,
audio,
australia,
awards,
ban,
basecamp,
bbc,
belkin,
bitmap,
blackhole,
blogs,
bluetooth,
bonecho,
books,
boxee,
boxmodel,
braindump,
british,
browser,
browsers,
browsers.mozilla,
bug,
bugs,
cairo,
cakes,
calendar,
camera,
camino,
cbbc,
cc,
cheerup,
cheese,
childreninneed,
christmas,
cms,
cocoalicious,
coda,
code,
collections,
colourblind,
colourblindness,
comedy,
comments,
comps,
conferences,
country,
covers,
craft,
cs5,
css,
css.webstandards,
danielsmonsters,
delicious,
dell,
design,
design.colourblindness,
desktops,
digital,
discussion,
dock,
doctorwho,
drawing,
dream,
dreams,
drwho,
education,
electronica,
email,
england,
events,
evernote,
expressionengine,
eyetv,
family,
feedback,
femalevocal,
figures,
firefox,
fireworks,
flash,
flexible,
flickr,
flock,
fonts,
foundries,
foundsounds,
fowd,
free,
frontrow,
ftp,
g5,
games,
gaming,
gardening,
garlic,
geek,
geekends,
geekery,
gifs,
gigs,
google,
googlereader,
grammys,
graphics,
greader,
grids,
gtd,
hacks,
handbags,
hardware,
harrypotter,
helvetica,
helvetireader,
heros,
hicksdesign,
history,
holiday,
hosting,
howto,
humanrights,
icab,
ical,
ichat,
icon and interface design,
icon design,
icons,
ideas,
illustration,
illustration/icon design,
illustrator,
illustrators,
im,
images,
indesign,
infographics,
inspiration,
installation,
intel,
interface,
interfaces,
internet,
internetexplorer,
interview,
interviews,
inventions,
ipad,
iphone,
iplayer,
ipod,
itunes,
javascript,
jobs,
journal,
justabitoffun,
leaflets,
lego,
leigh,
lifeio,
links,
list,
listening,
lists,
littlebigplanet,
logo,
logo and branding design,
logo design,
logos,
london,
londonbombing,
mac,
macmediacentre,
macmini,
macs,
macworld,
magazines,
making,
maps,
mediacenter,
mediacentre,
mediacentres,
mellow,
memes,
menus,
merchandise,
messages,
metal,
microformats,
microsoft,
modernart,
moleskine,
movabletype,
movies,
mozilla,
music,
myob,
natural,
nerdery,
news,
nintendo,
nostalgia,
nostradamus,
notes,
obituaries,
omniweb,
opacity,
opensource,
opera,
organisation,
os,
osx,
oxford,
oxfordgeeknight,
packaging,
panic,
panther,
paper,
parallels,
penguin,
people,
photo,
photos,
pimp,
plex,
plugins,
png,
podcast,
polygamy,
powerbook,
practice,
presentation,
presentations,
presents,
press,
print,
printmaking,
propoganda,
ps3,
published,
punditry,
questions,
quicksilver,
quotes,
radio,
radiohead,
raf,
railway,
rants,
resources,
responsive,
retorts,
retro,
review,
reviews,
riffs,
rip,
ripoffs,
rissington,
rss,
safari,
saft,
sage,
samantha,
science,
scifi,
scrapbook,
security,
server,
shelf,
shiira,
signage,
simplenote,
sites,
siteskin,
siteskins,
sixties,
skinning,
slides,
slowcore,
software,
solutions,
songbird,
sony,
sound,
spam,
speakers,
speaking,
sponge,
spotlight,
starflyer59,
starwars,
stationery,
store,
summerboard,
surveys,
svg,
sxsw,
syncing,
tagging,
talks,
tea,
teasing,
templates,
ten,
texpattern,
text,
texteditor,
texteditors,
textile,
textpattern,
thebeatles,
theme,
themes,
theming,
thenational,
theory,
tiger,
timeline,
tips,
toys,
tv,
typefaces,
typography,
ui,
updates,
updtes,
userstyles,
vector,
veer,
versions,
video,
wallpaper,
web,
webapp,
webapps,
webbies,
webfonts,
webkit,
website and logo design,
website design,
webstandards,
whitenoise,
why,
widgets,
wifi,
wii,
windows,
wireframing,
wishlists,
wordpress,
work,
working,
xhtml,
xul,
yojimbo,
youtube,
zengarden