Need help in solving parse errors

This is a discussion on "Need help in solving parse errors" within the Web Page Design section. This forum, and the thread "Need help in solving parse errors are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 24th, 2007, 13:05
Junior Member
Join Date: Sep 2007
Location: sri Lanka
Age: 21
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Question Need help in solving parse errors

Hi!

I'm having a hard time solving the parse errors in my coding...so can anybody take a look at my coding & help me out please!!

This is the coding from one of my css pages...
Code: Select all
/*Syle Sheet*/
p{
font-family:"Tw Cen MT", Verdana, Arial, Helvetica, sans-serif;
color:#CCCCCC;
font-size:15px;
text-align:justify;}
h3{
font-family:"Script MT Bold", "Lucida Sans,Verdana", Arial, Helvetica, sans-serif;
color:#996600;
}
img{
float:right;
}
span.1{
font-family:Tw Cen MT, Lucida Sans,Verdana, Arial, Helvetica, sans-serif;
color:#993300;
font-weight:bold;
font-size:15px;
}
span.2{
font-family:Tw Cen MT,Verdana, Arial, Helvetica, sans-serif;
color:#cc9933;
font-weight:bold;
font-size:15px;
text-align:center;
}

span.3{
font-family:Tw Cen MT,Verdana, Arial, Helvetica, sans-serif;
color:#996600;
font-size:15px;
text-align:center;
}
Please reply as soon as possible...
Thanks.

Regards,
shevorne.

Last edited by karinne; Sep 24th, 2007 at 13:23. Reason: Please use the vBcode [ code ] when inserting CSS code in your post.
Reply With Quote

  #2 (permalink)  
Old Sep 24th, 2007, 13:13
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need help in solving parse errors

Font names will multiple words need to be wrapped in " ... " ... you did it for the p { } but not for the 3 span classes
Code: Select all
 font-family:"Tw Cen MT", Lucida Sans,Verdana, Arial, Helvetica, sans-serif;
Reply With Quote
  #3 (permalink)  
Old Sep 24th, 2007, 13:21
Junior Member
Join Date: Sep 2007
Location: sri Lanka
Age: 21
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need help in solving parse errors

i checked !!
bt it still gives the parse errors. You were right the errors are in span.1, span.2 & span.3
Can u please check whether the below coding is correct....
Thanks a lot for your quick reply..
Code: Select all
/*Syle Sheet*/
 
p{
font-family:"Tw Cen MT",Verdana, Arial, Helvetica, sans-serif;
color:#996600;
font-size:15px;
text-align:justify;
line-height:1em;
}

h3{
font-family:"Script MT Bold", "Lucida Sans",Verdana, Arial, Helvetica, sans-serif;
color:#990000;
font-weight:bold;
font-size:2em;
}

span.1{
font-family:"Tw Cen MT", Verdana, Arial, Helvetica, sans-serif;
color:#cc9999;
font-size:13px;
text-align:justify;
}
span.2{
font-family:"Tw Cen MT",Verdana, Arial, Helvetica, sans-serif;
color:#993300;
font-weight:bold;
font-size:15px;
}
span.3{
font-family:"Tw Cen MT", Verdana, Arial, Helvetica, sans-serif;
color:#993300;
font-size:15px;
text-align:justify;
}
Thanks again,
Regards,
shevorne

Last edited by karinne; Sep 24th, 2007 at 13:23. Reason: Please use the vBcode [ code ] when inserting CSS code in your post.
Reply With Quote
  #4 (permalink)  
Old Sep 24th, 2007, 13:25
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need help in solving parse errors

You're class name can't start with a number Add a letter before it like span.s1, etc...
Reply With Quote
  #5 (permalink)  
Old Sep 24th, 2007, 13:29
Junior Member
Join Date: Sep 2007
Location: sri Lanka
Age: 21
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need help in solving parse errors

ok i'll try that out...please don't mind my silly mistakes.....

Anyway thanks a lot...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
easiest way to parse xml alexgeek Other Programming Languages 2 Aug 30th, 2007 14:44
Two errors - Similar Errors too. PicoDeath Web Page Design 6 Jul 27th, 2007 18:06
CSS Not Validating - Parse errors saracen Web Page Design 1 May 6th, 2007 09:51
problem solving shinju Web Page Design 2 Jul 11th, 2006 17:10
request help in solving email sending in asp appln thebmwz4 Classic ASP 3 Sep 20th, 2005 07:42


All times are GMT. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43