How to set width and height to [img] [/img] tags
|
|
jackass | Date: Tuesday, 2009 June 30, 8:03 PM | Message # 1
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| If you want to set width and height to [img] [/img] tags, then paste this code in CSS Code .posttdMessage img { max-width:700px; width:expression((this.width>700) ? "700px" : true); } .posttdMessage img { max-height:700px; height:expression((this.height>700) ? "700px" : true); } Where 700 you can set your size! We have set this in our forum as well Enjoy Taken from http://arnis.ucoz.lv/forum/29-122-2
|
|
| |
BadBoy | Date: Tuesday, 2009 June 30, 11:27 PM | Message # 2
|
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
| so that means i can post any large image between [img] [/img] tags and it will resize automatically in this forum? if yes that means we dont need rule on posting large images in this forum?
|
|
| |
jackass | Date: Tuesday, 2009 June 30, 11:46 PM | Message # 3
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| BadBoy, yes!
|
|
| |
jackass | Date: Wednesday, 2009 July 01, 4:40 PM | Message # 4
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| Hetor, it set size only for max resolution! Like in Photo album!
|
|
| |
jackass | Date: Wednesday, 2009 July 01, 7:02 PM | Message # 5
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| Hetor, No. You can test on your site if you want. It takes about 2 min
|
|
| |
BadBoy | Date: Friday, 2009 July 03, 10:34 AM | Message # 6
|
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
| Quote (Hetor) it will cut it jackass you gotta fix these, i righter if it just stretched
|
|
| |
jackass | Date: Friday, 2009 July 03, 3:38 PM | Message # 7
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| Maybe you will test it and than post here what to fix?
|
|
| |
barc00de | Date: Sunday, 2009 August 02, 1:12 AM | Message # 8
|
Lieutenant
Group: uCozer
Message: 55
[ ]
Offline
| How to do this for Site News
|
|
| |
jackass | Date: Sunday, 2009 August 02, 3:07 AM | Message # 9
|
Major general
Group: Administrator
Message: 433
[ ]
Offline
| This must to work on all site! I guess
|
|
| |
Z10 | Date: Sunday, 2009 August 02, 3:37 AM | Message # 10
|
Major
Group: uCozer
Message: 100
[ ]
Offline
| Quote (barc00de) How to do this for Site News barc00de, Why don't you try it out and see. Instead of asking questions and being lazy.
"When life gives you lemons, make orange juice. Sit back, relax, and let the world wonder how you did it."
|
|
| |
Leekinz | Date: Sunday, 2009 August 02, 3:40 AM | Message # 11
|
Lieutenant colonel
Group: uCozer
Message: 123
[ ]
Offline
| barc00de, Because it's CSS it will add it for all Modules, Forum, Guestbook, etc.
|
|
| |
kostova | Date: Thursday, 2009 August 13, 2:32 AM | Message # 12
|
Colonel
Group: Administrator
Message: 268
[ ]
Offline
| This doesn't have to be separated by two of the same selector. You can just do this instead: Code .posttdMessage img { max-width:700px; max-height:700px; width:expression((this.width>700) ? "700px" : true); height:expression((this.height>700) ? "700px" : true);}
|
|
| |
Krone | Date: Wednesday, 2009 October 14, 1:19 AM | Message # 13
|
Lieutenant
Group: uCozer
Message: 79
[ ]
Offline
| Were abouts to plae within the CSS?
http://www.gamescenterarcade.com/
|
|
| |
kostova | Date: Wednesday, 2009 October 14, 1:43 AM | Message # 14
|
Colonel
Group: Administrator
Message: 268
[ ]
Offline
| Krone, just place this anywhere in the css.
|
|
| |
EasyShareZ | Date: Saturday, 2009 October 17, 2:06 PM | Message # 15
|
Sergeant
Group: User
Message: 39
[ ]
Offline
| This was a great help, Thank you
|
|
| |