0
about using css files on more than one page
I was on my programmer journey, and to save space, I decided to create an file called 'styleLayout.css', and in order to deploy it on more than one html page I connected all these html files with the styleLayoult file, but none accepted the styling that I had put it on.Question: can i only connect one css file to one html file? Grades: all files are at the same "directory level", so there are no problems with the 'href' of the 'link' Thanks for listening :)
4 Answers
+ 4
No, reusing CSS that way is good!
Are you sure that you added the stylesheet correctly? Your link should look something like
<link rel="stylesheet" href="./styleLayout.css" />
Maybe try the old
body { background: green; }
to see if anything is happening at all.
+ 2
JoĂŁo Hoffman Oh, yeah, maybe. If you can, start programming on a PC or laptop. You have a lot more control that way. (Also, a keyboard :D)
+ 1
Schindlabua I tried using './' but it still didn't work, I believe the problem is the app I use, thanks for everything :)
0
Schindlabua Yes man, maybe that's it, I'm in the struggle to get a computer, it really needs to be