Profile
Achievement
charmcitycoder's Recent Snippets
- All /
« Prev 1 Next »
I saw this somewhere else, so I can't claim to have come up with it myself. Def life-saver!
0
674
posted 15 years ago by charmcitycoder
Thanks to perishablepress.com for this. Below is an example for ie6 max-height.
From their site:
"This method has been verified in IE6 and should also work in IE5. Simply change the values to suit your needs (code commented with explanatory notes...
1
923
posted 15 years ago by charmcitycoder
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text.
I first found this on the webdeveloper.com forums.
The kicker here for me was the "font-size:0"...
2
937
posted 15 years ago by charmcitycoder
Always always always backup client side validation with server side validation! =D
2
1011
posted 15 years ago by charmcitycoder
Remove that pesky dotted border around img elements, especially images inside <a> / link tags.
4
1005
posted 15 years ago by charmcitycoder
Many thanks to bloggingdeveloper.com for this one. Works like a charm. Usage is similar to server side built-in functions.
2
741
posted 16 years ago by charmcitycoder