Marshal Horn wrote: > Is there a way to create rel attributes for links through an external > style sheet? > I'm making a photo gallery, and have to add > rel=enlargeimage::mouseover to 24 anchor tags. (I'd use all-CSS, but > it wasn't giving me quite enough flexibility, so I must resort to > Javascript) > > Thanks! > Marshal Horn
Not understanding what you exactly want, I will ignorantly mention attribute selectors [1]. a[rel=""] {...} You may wish to use this purely CSS popup gallery which works in most browsers as a alternative solution. <http://css-class.com/test/demos/popup-gallery1.htm> Works in IE with a few hacks. See the embedded style. 1. <http://www.w3.org/TR/CSS21/selector.html#attribute-selectors> -- Alan http://css-class.com/ Nearly all men can stand adversity, but if you want to test a man's character, give him power - Abraham Lincoln ______________________________________________________________________ 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/