Krydos Posted November 20, 2024 Posted November 20, 2024 The grey background on the text is being caused by these lines in the file /home/admin/web/rvwars.helioho.st/public_html/css/rvwars.css #news p { background-color:#eeeeee; } Let us know if you can't find those lines to remove them, and I can do it for you.
HelioHost Posted November 20, 2024 Author Posted November 20, 2024 I did a search for that in Visual Studio with no results. But I am done for tonight. Gotta go eat. I will look some more tomorrow PM. Stan Engel, WA2UET Ghent, NY
Krydos Posted November 20, 2024 Posted November 20, 2024 I commented them out for you. Make sure you clear your browser cache otherwise your browser will likely continue showing the grey stripes because it doesn't download the .css file each time you load the page.
HelioHost Posted November 21, 2024 Author Posted November 21, 2024 Thanks, but I don't know where they were. Stan Engel, WA2UET Ghent, NY
HelioHost Posted November 21, 2024 Author Posted November 21, 2024 I just looked at that CSS file with notepad. Interesting, but I don't understand it's purpose. Why not put that info right in the index file? Stan Engel, WA2UET Ghent, NY
Krydos Posted November 21, 2024 Posted November 21, 2024 On most websites the css, js, and images don't change very often, but the index file may be dynamic and change each time the page is loaded. Browser automatically cache static resources to save bandwidth and speed up page loading times. If the browser has to download all of the static resources each time the page is refreshed it will slow things down. It's not a big deal to inline css in a simple, small website, but on a massive site where the css might be several MB it can start to add up fast.
Recommended Posts