This is a discussion on "apply a style to ALL links EXCEPT..." within the Web Page Design section. This forum, and the thread "apply a style to ALL links EXCEPT... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
apply a style to ALL links EXCEPT...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
apply a style to ALL links EXCEPT...
i have this css declaration:
this is because i'm using lightbox, and when the corner [ x ] is clicked on to close, it keeps moving and it won't close so you're stuck in the lightbox. i was thinking of making the [ x ] bigger but that ruins the image. then i tried applying different position declarations on a.image but that didn't work, i was thinking of selecting each link by contextual selectors except a.image but that just bloats my CSS. so can this be accomplished with cross-browser compatible CSS or would it be more efficient to use a very short JS script?? help is much appreciated! |
|
|
|
||||
|
Re: apply a style to ALL links EXCEPT...
|
|
|||
|
Re: apply a style to ALL links EXCEPT...
thanks ryan! i found a solution by inserting the class "image" into the close links of lightbox through the lightbox.js and assigned this style to that class:
|
![]() |
| Tags |
| apply, style, links, except |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Fackbook style links and anchors | jelly46 | JavaScript Forum | 2 | Apr 20th, 2008 20:57 |
| Apply transition to a div | blkskull | JavaScript Forum | 0 | Feb 26th, 2008 14:00 |
| How to tell IE7 to use a pariticular style in a single style sheet | figo2476 | Web Page Design | 5 | May 25th, 2007 14:23 |
| Can you apply image replacement a ul? | rubyfruit | Web Page Design | 4 | Oct 12th, 2006 02:35 |
| Beginning to Apply my skillz... | courtjester | Classic ASP | 7 | Apr 5th, 2004 10:18 |