The problem is, I believe, with the images themselves. If you use border=1 to create a border around each image button, you will see that they are not all the same size. Those buttons whose labels contain letters with descenders (style contains "y") are larger to allow space for the descender. I think that the best solution would be to edit the images themselves so that they all contain the same amount of space below (and above) the baseline. Modifying the size of the images will change the size of the letters and that would not look uniform either.

Alternatively, you could individually add padding to the bottom only of those buttons containing no descenders. You could create a class with this amount of padding and include that class in the image statement. i.e.
<img class= "buttonwithpadding">
and define class:


.class {paddint-bottom: 4px;}

The trick would be to reliably definie the correct amount of padding.

I'm no CSS expert so if someone else has additions/corrections to add to this suggestion, please do!!

cheers
jean

-------------------------------------------------------------------
Quilting and Whatnot:  http://www.quiltingwhatnot.com/
Patterns, tips, techniques.



----Original Message Follows----
From: [EMAIL PROTECTED]
To: [email protected]
Subject: [css-d] suggestions on centering nav Gifs?
Date: Mon, 16 May 2005 18:30:16 -0400

Hello guys,

http://www.thehatsource.com/index2.htm

I have nav gifs that are all up and down along the horizontal nav div. Can anyone suggest the best way to align them all? The only way I think I can do it is to put a class on each and individually position them. ANy suggestions would be great.

Thanks
Adam
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN� Premium right now and get the first two months FREE*.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to