View Single Post
Old 12-29-2006, 01:26 PM  
Ramos
Custom User Title
 
Join Date: Dec 2004
Posts: 11,927
Quote:
Originally Posted by Jace View Post
This code will keep all images people post into your comments at a specific width so they don't skew your page layout all to hell

Code:
<style type="text/css">
td.text td.text table table table td a img {width:100px;}
td.text td.text table table table td div img {width:80px;}
td.text td.text table table td img {width:260px; max-width:260px; width:auto;}
td.text td.text table table td div img {width:80px;}
* html td.text td.text table table td img {width:260px;}
* html td.text td.text table table td a img {width:90px;}
* html td.text td.text table table td div img {width:80px;}
</style>
check it out on mine

http://www.myspace.com/afunkybeat

that was one of my biggest pet peaves, people putting images in my comments that were twice the size of my layout....now this code resizes all the images so my layout stays in tact
jace, if you got a sec shoot me an icq, I gotta ask ya something
__________________
blewit.com - Performance & Pleasure Training For Men.
Ramos is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote