Jump to content

font issue in CSS


HomanTech

What am I doing wrong?  

2 members have voted

  1. 1. What am I doing wrong?

    • Following is my header code, I can not get the color to render. Please help.[code]
      0
    • h1{ color: #2A5221 font-family: Arial, Helvetica}
      1
    • h2{ color: #800000 font-family: Arial, Helvetica}
      0
    • h3{ color: #033567 font-family: Arial, Helvetica}
      0
    • h4{ color: #2A5221 font-family: Arial, Helvetica}
      0
    • h5{ color: #033567 font-family: Arial, Helvetica}
      1
    • h6{ color: #800000 font-family: Arial, Helvetica}
      0
    • [code]
      0


Recommended Posts

I added the ; it did not change it.here is the code for my css file:

A:link    { color: 800000 }A:active  { color: navy; font-size: 115% }A:visited { color: 033567; font-size: 95% }BODY { background-image: url("images_description/background.gif") }'BODY { background color: white }body{	font-family: Times, Helvetica;	color: 555555;	font-size: small;}p{	font-family: Verdanda, Helvetica;	color: black;	font-size: small;	em-size: 5}table{	table-border-color-light: rgb(255,102,153);	table-border-color-dark: rgb(102,51,153); }h1{	color: #2A5221; font-family: Arial, Helvetica;}h2{	color: #800000; font-family: Arial, Helvetica;}h3{	color: #033567; font-family: Arial, Helvetica;}h4{	color: #2A5221; font-family: Arial, Helvetica;}h5{	color: #033567; font-family: Arial, Helvetica;}h6{	color: #800000; font-family: Arial, Helvetica;}ol{ margin: .5em 0 .5em 0}li{ type="square"}.leftcol{25%}.rightcol{75%}testmenu{}[code]the website address is:http://www.lifepak-pacemaker-defibrillator.comPlease help again.
Link to comment
Share on other sites

You still need to add them everywhere else. After every property.Example

A:visited { color: 033567; font-size: 95%-->;<--- }

Link to comment
Share on other sites

That's how I normally code CSS but I don't think that would make any difference.I noticed another error. A comment in CSS is /* this is a comment *//* = starts comment*/ = ends commentThey can be multiple lines.I'm not sure if that's what you wanted to do here:

-->'<--BODY { background color: white }

but add those ; for sure.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...