View Single Post
Old 12-29-2006, 01:22 PM  
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Myspace peeps, best code I have found in a long time for your profile!

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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote