Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How do I get the background colour to work on other browsers?
I'm making my first website with html and it works on Internet Explorer but when I try it on Firefox the background colour doesn't work. How do I fix that?
I used a style sheet but I put the colour on the normal pages because I didn't klnow how to put it on the style sheet. Is that why it doesn't show up in firefox?
3 Answers
- 1 decade agoFavorite Answer
Use CSS with your HTML http://www.w3schools.com/css/default.asp
Placing this in the head of your webpage should work:
<style type="text/css">
body {background-color: #hexhere; }
</style>
- darrenforster99Lv 61 decade ago
<html>
<head>
<style>
div.bgblack
{
background : #000 ;
}
.bgblack p
{
color : #fff ;
}
</style>
</head>
<body>
<div class="bgblack">
<p>The background is black</p>
</div>
</body>
That will display background black and text white for everything within div tags of class bgblack.