uCoz Community uCoz Modules Site News & Blogs Re-sizing Images (Site News) |
Re-sizing Images (Site News) |
Susmoy, because i liked the avatar and what do you mean with:
Quote (Susmoy) Please Answer if you want other please don't get angry.. you really should watch your words, And lets stay on-topic , if you have something to say to me do it through PM To busy building a passive income online ;)
|
Code .posttdMessage img { max-width:700px; max-height:700px; width:expression((this.width>700) ? "700px" : true); height:expression((this.height>700) ? "700px" : true);} can someone please help me with the code above? i want to make [img][/img] tags or images auto resize.. The code doesnt work on the site news but its working perfectly on the forum... how can I make it to work? Thanks. Post edited by Ronzky - Tuesday, 2011-05-17, 9:45 AM
|
Ronzky, please provide a website name and a link to the page where you want this to work.
Still, if I understood you correctly, try to add this to CP->Design->Design management (CSS): Code .eText img, .eMessage img { max-width:700px; max-height:700px; width:expression((this.width>700) ? "700px" : true); height:expression((this.height>700) ? "700px" : true);}\ |
.signatureHr {margin-top:20px;color:#CCCCCC;}
.posttdMessage img { max-width:700px; max-height:700px; width:expression((this.width>700) ? "700px" : true); height:expression((this.height>700) ? "700px" : true);} .postPoll {padding:5px;} i have use this code wok is nice thanks Natashko http://sdmteam.ucoz.org/forum/7-1113-1 |
| |||