xiaomah01 at 17h03
21
Dec
2011
how to Binding img size? in posting body
because my posting body img width too long...
become:
i want like this:
but i don't want to use "Images resize",because it will be load time slowly
can i use some css code to binding???
like:
because my posting body img width too long...
become:
- Click:

i want like this:
- Click:

but i don't want to use "Images resize",because it will be load time slowly
can i use some css code to binding???
like:
- Code:
img {
max-width: xxxpx; max-height: xxxpx;
}
1 Guest, on 21/12/2011 at 17h28
Yes, of course!
These codes will resize image automatically.
- Code:
max-width
max-height
min-width
min-height
These codes will resize image automatically.
2 xiaomah01, on 21/12/2011 at 17h54
Spankers wrote:Yes, of course!
These codes will resize image automatically.
what is the full code?
this?
- Code:
max-width
max-height
min-width
min-height
???
EDIT:
well solved myself~
- Code:
img {
max-width: 750px;
}
3 Guest, on 21/12/2011 at 18h01
Nope. That are the proprietes only. So, your code works, but all images on the forum will resized. Try:
P.S. Add this code before all codes you have in Stylesheet.
Don't forget to replace xxxpx.
- Code:
tr.post td.row1 div.postbody{
max-width: xxxpx !important;
max-height: xxxpx !important;
}
P.S. Add this code before all codes you have in Stylesheet.
4 Sanket, on 21/12/2011 at 19h09
Solved?
5 xiaomah01, on 21/12/2011 at 19h22
Sanket wrote:Solved?
yes right~
6 Guest, on 21/12/2011 at 19h22
Welcome. 
7 Sanket, on 21/12/2011 at 19h23
| Topic Solved & Locked |
Similar topics
Hi guys
Site Type: Invasion
Link to site : www.lastworldrpg.com
Issue:
What I want to do, is stretch the left side (column 1) out more much like I have done with the right side (column 3) thus increasing the size of the main forum (Column 2),
~~* Guide created by Mikey *~~
Hey guys, I'm going to try and teach you how to build basic webpages in HTML! I've seen several guides on this forum trying to teach HTML, but the main problem with them is either they are hard to understand/follow, and/o
*note that this was a fanfiction idea of mine*
PLOT:
Guess what people? Our little Shippo learned a new trick! The Body Switcher! All he has to do is mess around with his fox magic and throw it at people then BAM! Their mind and soul is switched with
Replies 1 to 7 on 7 for "how to Binding img size?(posting body)"
Search
Informations
7 Replies For the topic :
"how to Binding img size?(posting body)"
This topic has been viewed 636 times.
Last message :
21/12/2011 at 17h03 by "xiaomah01"





