Diversions
07-24-2008, 02:39 PM
So I am finally migrating from MS Front Page to real php and css websites with the help of W3C schools and this forum.
I have just done up one site without FrontPage and admit that it is nowhere near as difficult as I thought (although I only did some basic stuff)
Problem is I am getting a CSS notice through Firefox whether I run internally through the WAMP server or online. The following is the error:
CSS ERROR; expected ":" but found 'size' Declaration Dropped
Now I have gone through W3C and this forum to find out what this might be and have checked stylesheet.css and have drawn a blank in spite of the fact the stylesheet I am sure is extremely simple.
If anyone has any suggestions they would be gratefully accepted. I have included the entire stylesheet below. There is nothing above or below what you see. Apart from the error above, everything seems to work fine on the live site.
CSS:
h1 {
font-family: Tahoma; sans serif;
font-size: 150%;
color: #FF0000
}
h2 {font-family: Tahoma; sans serif;
color: red;
font-size: 110%;
background-color: yellow
}
p {
font-family: Tahoma; sans serif;
font-size: 90%
}
span {
color: #FFFF00
}
td {
font-family: Tahoma; sans serif;
font-size: 90%
}
th {
font-family: Tahoma; sans serif;
color: #FF0000;
background-color: yellow;
font size: 100%
}
Thanks for your help.
D
I have just done up one site without FrontPage and admit that it is nowhere near as difficult as I thought (although I only did some basic stuff)
Problem is I am getting a CSS notice through Firefox whether I run internally through the WAMP server or online. The following is the error:
CSS ERROR; expected ":" but found 'size' Declaration Dropped
Now I have gone through W3C and this forum to find out what this might be and have checked stylesheet.css and have drawn a blank in spite of the fact the stylesheet I am sure is extremely simple.
If anyone has any suggestions they would be gratefully accepted. I have included the entire stylesheet below. There is nothing above or below what you see. Apart from the error above, everything seems to work fine on the live site.
CSS:
h1 {
font-family: Tahoma; sans serif;
font-size: 150%;
color: #FF0000
}
h2 {font-family: Tahoma; sans serif;
color: red;
font-size: 110%;
background-color: yellow
}
p {
font-family: Tahoma; sans serif;
font-size: 90%
}
span {
color: #FFFF00
}
td {
font-family: Tahoma; sans serif;
font-size: 90%
}
th {
font-family: Tahoma; sans serif;
color: #FF0000;
background-color: yellow;
font size: 100%
}
Thanks for your help.
D