Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    527
    Plugin Contributions
    0

    Default CSS and Developer Tools in Chrom

    The attached image is a developers view of my wife's site. I am new to CSS and how it works. The background of the element shown has numerous struckout items and I am confused on how this works.

    Name:  Screen Shot 02-04-21 at 06.32 AM.jpg
Views: 193
Size:  55.8 KB

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: CSS and Developer Tools in Chrom

    Those strike-outs indicate that the associated styling is not being used by the browser. That can occur if a style is overridden by a style that occurs later on (and therefore gets higher priority) in one of the site's stylesheets.

    For the example you posted, that's just Chrome's way of letting you know that those older, pre-standardized, styles (e.g. those that start with moz-) are not used because a now-standard style has overridden them.

  3. #3
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    527
    Plugin Contributions
    0

    Default Re: CSS and Developer Tools in Chrom

    inside the css file for that particular element, there are at least three different backgrounds listed. How does the browser know which one to use?

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: CSS and Developer Tools in Chrom

    Quote Originally Posted by g2ktcf View Post
    inside the css file for that particular element, there are at least three different backgrounds listed. How does the browser know which one to use?
    oy! css can be very confusing....

    https://www.smashingmagazine.com/200...u-should-know/

    i would suggest doing a little reading...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    527
    Plugin Contributions
    0

    Default Re: CSS and Developer Tools in Chrom

    very helpful! I actually prefer good resources like this to simple answers (cause this answer clearly is not simple!)

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: CSS and Developer Tools in Chrom

    Another good CSS resource is https://www.w3schools.com/css/default.asp

 

 

Similar Threads

  1. Developer Tools Error Message Every Time
    By bumba000 in forum General Questions
    Replies: 21
    Last Post: 2 Nov 2017, 11:41 AM
  2. Developer's Tools
    By sharc316 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Oct 2011, 06:38 PM
  3. IE9 Developer Tools HTML1113: Document mode restart from Quirks to IE9 Standards
    By torvista in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jul 2011, 10:18 PM
  4. CSS Errors in FireFox Web Developer
    By Sweet ZouZou in forum General Questions
    Replies: 27
    Last Post: 29 Dec 2008, 03:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR