Stylesheet Not Displaying Within Div Id Tab?
Solution 1:
The problem is the same as in your other question Pastebin will not generate a valid CSS file, but a text file.
Think of it in this way. Your website interprets your styles from a file with an extension of .css If this file is not .css but something else, it won't work.
Pastebin will not export your code as .css even if what is inside it is valid CSS code. The reason for this is that the service they provide is not hosting, but a way of sharing code snippets, that is why they only export what you create there as text files.
What you want to do is not possible with Pastebin.
Is there a special reason for having the css hosted somewhere else? it is generally not a good idea, unless you want to use a CDN service.
PD: Don't use the <font>
tag, this has been deprecated. Use instead a combination of <p>
, <span>
, <h#>
and add classes to them when you need specific styles.
Solution 2:
#navi:after{
content:"Hello";
}
Will work, as you mentioned.
Post a Comment for "Stylesheet Not Displaying Within Div Id Tab?"