View Single Post
Old 12-29-2006, 03:13 PM  
seeric
..........
 
Industry Role:
Join Date: Aug 2004
Location: ..........
Posts: 41,917
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

yup i've got something similar on mine for over a year now. i hate when people post big ass images and it blows out your page.
seeric is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote