Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is my external stylesheet not working ?

external stylesheet working
0
Posted

Why is my external stylesheet not working ?

0

There may be several different reasons behind that, but one very common mistake is to have an external stylesheet that contains HTML markup in some form. An external stylesheet must contain only CSS rules, and if required, correctly formed CSS comments; never include any HTML syntax, such as

, in your external stylesheets. CSS comments are defined as anything that is placed between /* (the comment start mark) and */ (the comment end mark). I.e. as follows… /* This text right here is a correct CSS comment */ CSS comments may span multiple lines in the stylesheet. Nesting of CSS comments is not allowed. Another reason for external stylesheets (and even embedded and inline stylerules) not to function as expected may be that you have tried to make use of some CSS-features that are not supported in the browser you are using. Browser support for CSS varies and a good place to find out more about what is or is not supported is “The Mastergrid”… http://www.webre

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123