Part of css not working? |
Part of css not working? |
KenHorse |
Aug 21 2020, 02:19 PM
Post
#1
|
Group: Members Posts: 3 Joined: 27-September 18 Member No.: 26,719 |
I have the following lines in a stylesheet.css on a Debian 10 (Buster) system, running the latest Apache2, PHP, etc., on a pc computer:
CODE RED { color:red; } I use <RED> in my HTML where needed and it works fine However, running the exact same file on a RaspBerry Pi running Raspbian Buster but the <RED> doesn't work. Where should I look? |
spalisetty |
Sep 2 2020, 02:43 AM
Post
#2
|
Novice Group: Members Posts: 22 Joined: 2-August 20 Member No.: 27,469 |
I have the following lines in a stylesheet.css on a Debian 10 (Buster) system, running the latest Apache2, PHP, etc., on a pc computer: CODE RED { color:red; } I use <RED> in my HTML where needed and it works fine However, running the exact same file on a RaspBerry Pi running Raspbian Buster but the <RED> doesn't work. Where should I look? What is red? is it a class or id or element? |
pandy |
Sep 2 2020, 08:10 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
I have no idea, since you didn't show the corresponding HTML. But the way your CSS is written, 'red' refers to an element RED, and such an element doesn't exist in HTML.
|
Lo-Fi Version | Time is now: 27th April 2024 - 06:28 AM |