[BNM] Wandering, wandering in endless night - part 2376523 : css and doctype declarations
Nick Taylor
nick at tangerineworks.com
Tue Sep 4 12:59:39 BST 2007
OK, I give up.
Actually, I don't give up - not by a long shot, but things are starting
(damn that chick off battleship galactica is good-looking).... to get
untidy. Loose ends are multiplying and my sanity is starting to fray.
Ok - so. Curvy corners... the jquery thing that lets you do curvy
corners with
$('#soon-to-be-curvy-thing').curvy();
as opposed to loads of fiddley little gifs etc that get stuck to your
fingers etc appears to depend on
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
for IE not to screw up.
Unfortunately, this appears to stop css{ height:100% } for FF/Opera etc,
which is a bit of a bastard because this I need, and the alternative
appears to be putting an FF only hack into the javascript to change the
height to something in px.
I'm dubious about putting css (the style department) into js (the
behaviour department) - but then again, I'm doing it with curvy-corners
so why not? It's a moral conundrum that I've yet to fathom.
I doooo wish however, there was some way I could get css{ height:100% }
to work with some doctype that curvycorners in IE can cope with.
Any ideas?
Other than that, everything's fine.
Nick
More information about the BNMlist
mailing list. Powered by Wessex Networks