taxgirl
11-19-2005, 04:00 PM
I've always had the problem with people posting large pictures in my comments that streach my page, I was wondering if there was something that worked on myspace to inforce a maximum image size... like say it cant be wider than 500 pixels and it auto resizes it in the coding?
is that possible?
maybe java?
Thanks SOO much!
~beth.
PoorCookie
11-19-2005, 09:54 PM
<style>
.custom {resizing images for friends space}
td.text td.text table table table td a img {width:100px;}
.custom {resize the online now icon to normal size}
td.text td.text table table table td div img {width:80px;}
.custom {first 3 lines are for FF, first line is to resize the actual images within your comments}
td.text td.text table table td img {width:100px; max-width:100px; width:auto;}
.custom {this resizes the images that are links. width:90px; is the smallest they would display with this code and max-width:260px; is the max width it will display (only works in firefox)}
td.text td.text table table td a img {width:90px; max-width:100px; width:auto;}
.custom {resizes the online now picture to is default size}
td.text td.text table table td div img {width:80px;}
.custom {these next 3 lines is why ie sucks again... first line is to pic out the width of the images within your comments}
* html td.text td.text table table td img {width:100px;}
.custom {this line makes it to your friends pictures will be set to its default size, this will also resize the images that are links to this width also in IE only}
* html td.text td.text table table td a img {width:90px;}
.custom {fixes the online now image}
* html td.text td.text table table td div img {width:80px;}
</style>
:)
trebrown17
11-23-2005, 02:55 PM
can somebody please explain that code above?
What do you need to change? Do you just copy/paste the entire thing?