Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
bradyg23 #1
CSS Validation Error
I am relatively new to CSS. I recently worked through a tutorial on it that
used 1em for the body font-size, and then based others off of it (h1--> 1.3em,
p--->.8em, etc.).
I tried this in my own page and it looks good, but won't validate. I get:
Line: 6 Context : p
Invalid number : font-size Too many values or values are not recognized : 0.8
em
Line: 34 Context : ul, ol
Invalid number : font-size Too many values or values are not recognized : 0.8
em
Any suggestions?
Thanks!
Brady
bradyg23 Guest
-
validation error
Does anyone have any idea what this message means. I get the message when I try to send a message. Attribute validation error for tag CFMAIL. The... -
Attribute validation error for tag CFQUERYPARAM.
I have a page that lets the user upload an image to change the logo of the website. It works fine on ColdFusion MX7 but on earlier versions I get... -
cfform validation and pop up error
hi, i have two javascript functions. One is for email validation and the other to initiate a pop up window with a confirmation. <script... -
Form validation error!
Hi , I have a form with a text field 'myTxt' and this is an Optional field. However I have NumberValidator defined for this text field so that... -
error validation question
What is the cleanest and easiest way to produce on screen (no-popup) error validations for forms? Sincerely, %Julia% -
Murray *ACE* #2
Re: CSS Validation Error
Show us those lines please.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"bradyg23" <webforumsuser@macromedia.com> wrote in message
news:efb3oa$6p2$1@forums.macromedia.com...>I am relatively new to CSS. I recently worked through a tutorial on it that
> used 1em for the body font-size, and then based others off of it (h1-->
> 1.3em,
> p--->.8em, etc.).
>
> I tried this in my own page and it looks good, but won't validate. I get:
> Line: 6 Context : p
> Invalid number : font-size Too many values or values are not recognized :
> 0.8
> em
>
> Line: 34 Context : ul, ol
> Invalid number : font-size Too many values or values are not recognized :
> 0.8
> em
>
> Any suggestions?
>
> Thanks!
> Brady
>
Murray *ACE* Guest
-
bradyg23 #3
Re: CSS Validation Error
Thanks for your help Murray. Here are the referenced lines...
p { font-size: .8 em; }
ul, ol { font-size: .8 em;
}
The complete CSS file is below:
body {
font-size:0.8em;
}
p {
font-size: .8 em;
padding-right:20px;
padding-left:10px;
padding-top:1px;
padding-bottom:1px;
text-align: justify;
font-family:Arial, Helvetica, sans-serif;
line-height:1.4em;
}
strong { font-family:Arial, Helvetica, sans-serif;
}
h1 {
color: #BAA54D;
font-family: Arial, Helvetica, sans-serif;
letter-spacing: 2px;
font-size: 1.3em;
padding-bottom: 0;
padding-left: 5px;
text-align: right;
padding-right: 20px;
}
ul, ol {
font-family:Arial, Helvetica, sans-serif;
padding-left: 20px;
padding-right: 20px;
font-size: .8 em;
text-align:justify;
}
li {
padding-bottom: 8px;
}
#navbars {
margin-bottom: 20px;
}
#callout {
background-color: #232E66;
color: #FFFFFF;
padding-top: 2px;
padding-bottom: 2px;
border: solid #BAA54D 2px;
font-weight: bold;
}
#contactus p {
font-family: Arial, Helvetica, sans-serif;
font-size: .9em;
color: #BAA54D;
text-align: right;
}
#labels {
text-align: center;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}
#disclaimer{
font-size: .9em;
background-color: #BAA54D;
width: 758px;
text-align: justify;
margin-top: 0px;
padding: 20px;
}
#disclaimer img {
padding-right: 20px;
}
#disclaimer p {
padding: 0;
}
Text
bradyg23 Guest
-
Murray *ACE* #4
Re: CSS Validation Error
There is NO space between the value and the metric, e.g.,
font-size:0.8em;
not -
font-size:0.8 em;
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"bradyg23" <webforumsuser@macromedia.com> wrote in message
news:efbvjf$dcg$1@forums.macromedia.com...> Thanks for your help Murray. Here are the referenced lines...
>
> p { font-size: .8 em; }
>
> ul, ol { font-size: .8 em;
> }
>
>
> The complete CSS file is below:
> body {
> font-size:0.8em;
> }
>
> p {
> font-size: .8 em;
> padding-right:20px;
> padding-left:10px;
> padding-top:1px;
> padding-bottom:1px;
> text-align: justify;
> font-family:Arial, Helvetica, sans-serif;
> line-height:1.4em;
> }
>
> strong { font-family:Arial, Helvetica, sans-serif;
> }
>
> h1 {
> color: #BAA54D;
> font-family: Arial, Helvetica, sans-serif;
> letter-spacing: 2px;
> font-size: 1.3em;
> padding-bottom: 0;
> padding-left: 5px;
> text-align: right;
> padding-right: 20px;
> }
>
> ul, ol {
> font-family:Arial, Helvetica, sans-serif;
> padding-left: 20px;
> padding-right: 20px;
> font-size: .8 em;
> text-align:justify;
> }
>
> li {
> padding-bottom: 8px;
> }
>
> #navbars {
> margin-bottom: 20px;
> }
>
> #callout {
> background-color: #232E66;
> color: #FFFFFF;
> padding-top: 2px;
> padding-bottom: 2px;
> border: solid #BAA54D 2px;
> font-weight: bold;
> }
>
> #contactus p {
> font-family: Arial, Helvetica, sans-serif;
> font-size: .9em;
> color: #BAA54D;
> text-align: right;
> }
>
> #labels {
> text-align: center;
> font-weight:bold;
> font-family:Arial, Helvetica, sans-serif;
> }
>
>
> #disclaimer{
> font-size: .9em;
> background-color: #BAA54D;
> width: 758px;
> text-align: justify;
> margin-top: 0px;
> padding: 20px;
> }
>
> #disclaimer img {
> padding-right: 20px;
> }
>
> #disclaimer p {
> padding: 0;
> }
>
>
>
>
> Text
>
Murray *ACE* Guest
-
bradyg24 #5
Re: CSS Validation Error
LOL... Reminds me of when I first learned html... The easiest little problem could cause you to bang your head for hours...
That got it! Thanks for your help Murray.
Brady
bradyg24 Guest
-
Murray *ACE* #6
Re: CSS Validation Error
You're welcome!
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"bradyg24" <webforumsuser@macromedia.com> wrote in message
news:efdhks$crs$1@forums.macromedia.com...> LOL... Reminds me of when I first learned html... The easiest little
> problem could cause you to bang your head for hours...
>
> That got it! Thanks for your help Murray.
>
> Brady
Murray *ACE* Guest



Reply With Quote

