r/neocities • u/That1DurpyZombie • 13d ago
Help Class code in style sheet not working.
I'm trying to turn all of a class's background into blue, but when I put the code into my style sheet it wont work (the same code works perfectly fine in the style section on the main page). The stylesheet link isn't broken because the background is working perfectly fine. I'm VERY new to HTML coding so sorry if this is a really easy fix. I will answer any questions if needed
2
Upvotes



1
u/Redmega 13d ago
Hmm I don’t see anything wrong with your code. Are you sure that’s the same css file being loaded? Maybe you put the background image in another css file too? Try adding this to that file and see if stuff gets outlined red:
```
* {
outline: 1px solid red !important;
}
```
0
u/blob-h https://blobh.site 12d ago
why are we using the entire neocities url and not just a path