Hi,
After designing my website and the creation of my CSS File that i use on the tables,cell, e.t.c i intend editing the website and creating a new style of CSS but on right clich to applied the CSS i found that the CSS appear grayed off i.e i can applied the CSS to the site and the rest that i have created appear to be all normal html text could you pls help me with what is wrong. I use dreamwaver as my IDE use in designing the website. i have uninstall the software and reinstall it but the problem persisted is there anything that i am not doing well pls Help

Dani AI

Generated

Quick summary for (and to the helpers and ): when Dreamweaver shows stylesheet rules as gray it usually means either the stylesheet is not actually attached/loaded, the CSS has a syntax error, or the rule simply does not apply to the element you have selected. Reinstalling Dreamweaver rarely fixes those issues because they are about file setup or the CSS itself.

Practical checks (do these in order):

  • Confirm the file is really a .css file (not .txt) and saved.

  • Confirm the page head contains a correct link tag and the path is right. Example:

    <link rel="stylesheet" href="styles.css" type="text/css">
  • Test with a minimal reproducible pair: save this HTML and a styles.css in the same folder, open both in Dreamweaver and in a browser.

    <!doctype html>
    <html>
    <head>
      <meta charset="utf-8">
      <link rel="stylesheet" href="styles.css" type="text/css">
    </head>
    <body>
      <p class="test">Test</p>
    </body>
    </html>
    .test { color: red; }
  • In Dreamweaver’s CSS panel make sure you are viewing all rules (not a filtered view) — rules that cannot be applied to the currently selected element will appear dim/disabled.

  • Look for CSS syntax errors (missing brace or stray comment) — one error can invalidate the rest of the file.

  • If the stylesheet still doesn’t load, open the page in a web browser and use the dev tools / view source to confirm the stylesheet is being requested.

If the minimal test works but your real page fails, post (1) the head section with the link tag, (2) the exact stylesheet contents, (3) your folder layout and Dreamweaver version. That will let responders reproduce and pinpoint the problem faster.

Recommended Answers

All 2 Replies

hey plz post ur css and html

Hi,
After designing my website and the creation of my CSS File that i use on the tables,cell, e.t.c i intend editing the website and creating a new style of CSS but on right clich to applied the CSS i found that the CSS appear grayed off i.e i can applied the CSS to the site and the rest that i have created appear to be all normal html text could you pls help me with what is wrong. I use dreamwaver as my IDE use in designing the website. i have uninstall the software and reinstall it but the problem persisted is there anything that i am not doing well pls Help

please send the html code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.