how do you set the background color of a <h1> tag?
Announcement
Collapse
No announcement yet.
<h1> tag causing problems
Collapse
X
-
my limited experience with using BG tags in the forum resulted in changing the background of the page instead of the post :laugh:
Maybe Mr. Tweak locked it down before I caused another mishap:?:The reason a diamond shines so brightly is because it has many facets which reflect light.
Comment
-
One common way to do this is with CSS.
e.g. In the HEAD section of an HTML page:
<style>h1 { background: #00aa00; color: #ff00ff; }</style>
Always specify background and color together. It doesn't do to specify green text
if your viewer's browser is set to have green backgrounds.
HTML includes color config for table cells as well.
My preferred reference/tutorial for CSS is http://www.htmlhelp.com/reference/css/ , but you can find a bunch more at http://www.w3.org/Style/CSS/learning
Comment
Comment