IMS_Blog

Because I forget stuff. Part of norcimo.com

Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here

About This Post

Originally posted May 29 2004 at 01:05 under Web. 2 Comments. Trackbacks Disabled.

CSS Hacks

Normally I avoid using CSS hacks (apart from to fix problems with the most popular, non-standards compliant browser in the world of course). So it’s something of an irony that one of the few times I decide I need one it turns out I can’t find one to do just what I want. So, if anyone knows an Opera only hack, …

Comments (2):

1

Oddly, I’m sitting in my house on Hull Road, York pondering a similar thing, Googling for an answer - when I happened upon your blog entry!

I’m sure you’ll know of the CSS hacks at dithered.com… I’ve found that you can do a Mozilla+Opera-only CSS rule followed by a Mozilla-only rule to sort some things. And some kludges can be found at the CSScreator.com forum.

At the moment though, this doesn’t solve my current problem of div widths. Mozilla doesn’t want you to specify a width, IE doesn’t care, and Opera needs a width. No way around that one at the moment.

Jon (ex-York Electronics student who has failed to leave York, but managed to avoid working for Norwich Union)

Made by Jon on Jul 18, 2004 at 12:15

2

Eventually did come across a solution to this, thanks to css-discuss. See http://www.virtuelvis.com/archives/145.html for using CSS3 media selectors to target Opera. Who knows how long that will last as other browser catch up with CSS3, but for now it might do in a tight bind.

Made by Ian Scott on Nov 2, 2004 at 11:31

Post a comment

Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.

Please note this blog's comment policy

Trackbacks (0):

Trackback URL: http://www.norcimo.com/MT/mt-tb.cgi/20

Advanced...

This Crazy Fool

Who:
Dr Ian Scott
Where:
Croydon (and Gateshead), United Kingdom
Contact:
ian@norcimo.com
What:
Bullding Services Engineer (EngDesign), PhD in Physics (University of York), football fanatic (Newcastle United), open source enthusiast (mainly Mozilla)

More about me [Disclaimer]

You may subscribe to IMS_Blog using the RSS Feed, the Atom Feed or by email.

Creative Commons License

From May 29 Other Years

© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.