Squintz
07-30-2002, 07:47 PM
Is there a way to use differnt classes for images and set differnt positions for each class?
For example say i want to have <IMG.Header src = "imagename"> to position the image at the top of my page and span 100% in width then i wanted to position <IMG.left src= "Image name"> directly below the header and about 10% width and 100% length...
I want to do this so that i can make CSS sheets that are reusable...This way i can tell my customers "theese are the formats you can use and the all i would have to do is list the images in the HTML
<HTML>
<Body>
<img.Header src = "Firstimage">
<img.Left src = "SecondImage">
//and so on
with out having to re enter all the div paramaters each time...
</Body>
</HTML>
I would use pics of the same size for each class
<---Note im a newbie at web designin so if there is a better way of doing this let me know
For example say i want to have <IMG.Header src = "imagename"> to position the image at the top of my page and span 100% in width then i wanted to position <IMG.left src= "Image name"> directly below the header and about 10% width and 100% length...
I want to do this so that i can make CSS sheets that are reusable...This way i can tell my customers "theese are the formats you can use and the all i would have to do is list the images in the HTML
<HTML>
<Body>
<img.Header src = "Firstimage">
<img.Left src = "SecondImage">
//and so on
with out having to re enter all the div paramaters each time...
</Body>
</HTML>
I would use pics of the same size for each class
<---Note im a newbie at web designin so if there is a better way of doing this let me know