On Feb 9, 2017, at 3:37 AM, Greg Raven <[email protected]> wrote:
> The obvious response is that when working with CSS -- that is, cascading 
> style sheets -- you shouldn't have to edit every style sheet that has 
> attributes for that ID. You should only have to edit the last style sheet, 
> right? That's the whole point of cascading, especially for styled IDs, 
> because you can have only one of any given ID per page. That's why I usually 
> apply an ID to something that needs a link from elsewhere (including a jQuery 
> modifier), and use classes for CSS styling. 


No, not really.

You might have a single attibute “body” that is set in a style sheet for phone 
sized devices, and set differently in a style sheet for people whose language 
is German, and another style sheet if the user is unfortunate enough o be 
running IE.

So, editing a ‘single’ tag might easily mean having to find it in several 
different style sheets.

-- 
Apple broke AppleScripting signatures in Mail.app, so no random signatures.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to