Forums / Templates, Stylesheets, Page Layout / force my pictures show the same width and the same height

force my pictures show the same width and the same height

Views: 1,062

Results 1 to 2 of 2
19 Sep 2012, 2:03 AM
#1
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

force my pictures show the same width and the same height

be default,it will show the same width or the the same height,how to make pictures show the same width and the same height?
any suggestion,:blink:

Thanks

one way is to make the original pictures all in the same width and the same height, but the pictures are too many,

is there other simple way by setting ,a little twist would be ok.

focus on the open source for online shoping website.
my site: best shop 24h.com

7 Oct 2012, 3:19 PM
#2
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Re: force my pictures show the same width and the same height

figured out,it is easy,

first ,add a <div class="bestnewproduct"> the code showing images</div>

second,add the following code at the bottom of stylesheet.css,

.bestnewproduct img
{
width: 182px;
height: 200px;
}

focus on the open source for online shoping website.
my site: best shop 24h.com