Log In · Register

 
 
Closed TopicStart new topic
pics n a div
dreamsbecomereal...
post Dec 28 2008, 09:02 PM
Post #1


Senior Member
***

Group: Member
Posts: 90
Joined: Jul 2008
Member No: 666,978



how do u make all pictures in a div the same size?
 
YourSuperior
post Dec 29 2008, 02:48 AM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



CODE
<div class="pictures">
<img src="piclocation.jpg" width="400" height="275" border="none">
<img src="piclocation.jpg" width="400" height="275" border="none">
<img src="piclocation.jpg" width="400" height="275" border="none">
</div>

Just edit the given width and height and make them the same on all of the image links.
 
Mickey
post Dec 29 2008, 05:56 AM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Or you can try this:

CODE
<style>
.class img {height:#px; width:#px;}
</style>

Replace "class" with the class of the DIV your images are in then replace the pound symbols with values according to the size you want.
 
tokyo-rose
post Jul 16 2009, 05:29 PM
Post #4


Senior Member
********

Group: Head Staff
Posts: 18,173
Joined: Mar 2005
Member No: 108,478



Topic Closed, and Moved to Myspace Resolved Topics. Please PM a moderator if you would like this reopened.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: