I have used php for this but CSS now has variables (though I have not
used that technique).

I had a situation a few years ago where I couldnt use js so I used
php to change color of rows on a table as needed. It worked perfectly
fine for what we needed.
-- 
Registered Linux User: #480675
Registered Linux Machine: #408606
Linux since June 2005

On Fri, Aug 6, 2021 at 12:12 PM Tom Livingston <tomliv+c...@gmail.com> wrote:
>
> On Thu, Aug 5, 2021 at 11:32 AM Sandy Feldman <sa...@sandyfeldman.com> wrote:
> >
> > Tom, I think what you're looking for is classes.
> >
> > so <h2 class="verybigh2">This is really big!</h2>
> >
> > <h2 class="purple">This is a purple heading</h2>
> >
> > or maybe .blog h2 {foo}
> >
> > Always use heading elements to structure the content. This will help the 
> > pages make sense to blind users, and google likes it too. Change what they 
> > look like at will.
> >
> > Does that help? Is this what you're looking for?
> >
> > --
> > Sandy
> > sandyfeldman.com
> > a11yready.com
>
> Yes, thanks Sandy. This seemed like a less than efficient way to deal
> with this and I was thinking I was missing some concept but it appears
> not.
>
> Any thoughts on a heading element in a component that could be in a
> different place in the document outline on different pages?
>
>
>
> Tom Livingston | Senior Front End Developer | Media Logic |
> ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com
>
>
> #663399
> ______________________________________________________________________
> css-discuss [css-d@css-discuss.org]
> 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/
______________________________________________________________________
css-discuss [css-d@css-discuss.org]
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/

Reply via email to