Sent by Randal Rust on 4 January 2005 17:05
On Tue, 4 Jan 2005 10:11:33 -0600, Collin Davis
[EMAIL-REMOVED]> wrote:
> I'm using unordered lists to build a sort of image gallery,
Why are you using <ul>s to do this? IMO, you are just making things
harder than they need to be. I would use a table for this, as it can
easily be argued that this is tabular data (although let's not).
> when I use a class selector to specify a different ul size for a specific ul, it
> isn't working. For some reason, when I use an id selector, it does.
Most likely, you are not being specific enough with the way you are
writing your rule when using the class. When you specify the ID, the
rule is more specific, carries more weight and is therefore applied by
the browser.
Now here is the problem with your approach -- you can only have one
instance of an ID on the page (you may know this), so you can't use
the ID. You must use the class.
> Any help on getting this to work would be appreciated.
Sorry, can't really help you there, as I wouldn't do it this way. I
just wanted to point out the issues that I noticed.
------------------
Randal Rust
______________________________________________________________________
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/