CSS is acting weird
-
Hi everyone,
Yesterday the weirdest thing happened. I was looking at my blog for the first time in about a week, and I noticed that after every item in my menu, it said “020 110” (or something like that).
Home020 110 About020 110 Contact020 110 Healthy and Fitness020 110 etc. etc.
I went to my CSS code and saw it right there in my code:
#access ul > li a:after {
content: “020 110”;
}The thing is, my code used to say:
#access ul > li a:after {
content: ” | “;
}I absolutely did NOT go into my code and change it from ” | ” to “020 110”. Any thoughts on how this would happen?
The blog I need help with is: (visible only to logged in users)
-
It could be because the “content” CSS property requires special characters like “|” to be encoded. Try changing this:
content: " | ";To this:
content:'07C';For background, this is a good article: http://css-tricks.com/css-content/
- The topic ‘CSS is acting weird’ is closed to new replies.