in reply to Re: (nrd) Use node # as CSS class names?
in thread Use node # as CSS class names?
Also, I'm not completely sure about CSS classes consisting of only numbers being legal, so we have:
And in your stylesheet:...posted by <a href="...?node_id=186362" class="id186362">adrianh</a>...
As for this idea being expensive at execution time, I hardly doubt so, as the node_id value should be known at page render time anyway for the href attribute; printing the same variable a second time should be rather trivial IMHO..id186362 { background-color: orange; }
--
Cheers, Joe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use node # as CSS class names?
by adrianh (Chancellor) on Dec 30, 2002 at 11:21 UTC |