Previous Message
Next Message

list of logos and names

Sent by Lysanne Lessard on 2 September 2004 20:08


I have a "partners" page on a site I am redoing in CSS2. Here is the actual
page: http://unesco.bell.uqam.ca/index2.htm. It's simple enough: logos and
names of the organisations. But I can't find an elegant way to reproduce
this (in 1 column) in CSS.  I have to put padding around my logo to make
space between each organisation, and I am not able to align the name in the
middle of the image.

You can see the page here:
http://unesco.bell.uqam.ca/temp/pages/partenaires.php

the HTML looks like this:
<p>
<a href="#"class="image"><img src="logo.jpg" /></a><a href="#">Organisation
name</a>
</p>

and the CSS:
p {
	clear: left;
	margin-top: 10px;
	border: 1px solid #B8C6D2;
}
a.image{
	width: 210px;
	float: left;
	padding: 10px;
}
a.image img{
	float: right;
	border: 0;
}

 Please help! I'm sure there is a much smarter way to go!


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: