No, that did nothing, unfortunately. Here's the original post for others
reading this...
I'm trying to incorporate a drop-down menu that relies on CSS but was not
designed for using images. I need to alter the width for each <li> elt. in
order to get it to accommodate different sized images. Here is my code for <li>
elts globally:
#TJK_dropDownMenu li {
?cursor:pointer;
?float:left;
?width:20.23em;?
?max-width:25.0%;
?text-align:center;
?list-style-type:none;
?font-weight:bold;
}
Here is code for displaying a given elt:
<li id="AB"><a href="whatever"><img src="whatever"></a></li>
Now, I'd like to write code specific to that id "AB" that changes the width and
max-width elts. Easy if you know what you're doing, but I clearly don't :(
.AB li {
?width:2.23em;?
?max-width:2.5%;
}
does not work. I've fumbled around with a few variants with no success. A
pointer, please!
TIA,
Tony
-----Original Message-----
From: Gabriel Palacios <[EMAIL PROTECTED]>
To: [email protected]
Sent: Fri, 5 Oct 2007 3:41 am
Subject: Re: [css-d] Changing Width
i would try {
#AB a {
display:block;
width:..;
max-width:..;
}
btw didnt knew about the max-width property, thanks :D
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! -
http://mail.aol.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/