OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
EM and EM
This page's ID:
25342
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]Slime:[/b] [quote]It would be possible, in theory, to write some JavaScript which detected the size of all images on the page and added CSS to set their width/height in em's - provided that you can tell how many pixels there are per em. Then they would resize with the text. But I don't know how to get the conversion factor.[/quote]I just gave the method in my previous post ;) Alas it requires to nest the IMG in a tag, so the purists of semantic XHTML markup may not like that solution.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail