|
Posted by El Kabong on 08/23/07 14:46
"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-F73CF8.13265623082007@news-vip.optusnet.com.au...
> In article <Ji6zi.12779$A57.11995@trnddc04>,
> "El Kabong" <davelong40@verizon.net> wrote:
>
>> "dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
>> news:doraymeRidThis-4F2D6C.18120421082007@news-vip.optusnet.com.au...
>> >I will be soon making up a page with a table of items. There will
>> > be a fair few rows. All not high, all tabular.
>> >
>
>> I've never done it but according to "CSS Cookbook" by Christopher
>> Schmitt,
>> (available at Amazon for $29.69 USD,) you can "use the target
>> pseudo-class
>> to define the look of the elements when the user clicks on the anchored
>> link."
>>
>> (Hope he doesn't mind me quoting him.)
>>
>> Here's how I think it would work in your example:
>>
>> .sku th,td:target {
>> background-color: #FFFF00;
>> color: #00000
>> font-weight: 800;
>> }
>>
>> And then you would include class="sku" in appropriate cell elements... I
>> think... maybe.
>>
>> If it works for you I may try it myself.
>
>
> I wonder if we can do this a little differently El? There will be
> a side-splitting joke in it for you. My instinct tells me this
> will not work.
>
> Go to http://tinyurl.com/24y5hp and copy the source code. Please
> try out your suggestion on it. (Don't forget to put a semicolon
> after "color: #000". Leave out that font-weight too perhaps) and
> test in different browsers.
>
> You are the man, you have the book with the secrets. <g>
But, but, I was trying to avoid being terminally embarrassed by letting you
work out the ugliness.
Oh well, I'll read a little more of the book, maybe.
:-|
El
Navigation:
[Reply to this message]
|