My manager asked me if it’s safe for us to dipslay user-generated CSS texts on the page, and my answer iss “No”
My friend and my co-worder Nicholas C. Zakas is against putting JavaScript into CSS based on lots of convincing reasons, too.
But in order to explain how it might work, I still need to do this with example codes which work on IE6 only.
Feel free to view the source and share this with your co-workers.
I tried to messed up the CSS to make it looks unlikely normal JavaScript or CSS.
Just have fun to do a little code review!
Example: (require IE6)
http://www.hedgerwow.com/360/dhtml/css_embed_js_for_ie6.html
j | 17-Mar-07 at 8:17 pm | Permalink
I dig your blog, I always find very useful and unique tech approaches. I was wondering if you could explain your post CSS 3 text-overflow: ellipsis.
http://www.hedgerwow.com/360/dhtml/text_overflow/demo2.php
I notices a section with -o-text-overflow.
What does that do?
patrick shi | 21-Mar-07 at 3:08 am | Permalink
hi, Hedger.
This is Patrick here from Singapore.
I downloaded your yahoo! weather application, when i was playing around with it i found that if the zip code has letters like ‘a,b,c’ inside, the suggest function won’t work properly. may i know how to fix it?
Sorry that i can’t find your contact email address, so i leave a message here.
hope you can help me out. if you are kindly enough to help, you can contact me at: [email protected]
many thanks
Patrick
hedgerwang | 03-Apr-07 at 10:04 pm | Permalink
-o-text-overflow. is for Opera
wow gold | 18-Feb-09 at 11:05 pm | Permalink
An hour in the morning is worth two in the evening