Go to Post Seems decretive bumpers are the new rage now. I couldn't stand making them once, never mind twice. - Gregor [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2011, 21:38
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Style code trouble!

Quote:
Originally Posted by perlgerl View Post
Did you miss the semi-colon? eg

body.c8 {background-color:#37007b;}
Normally, you don't need the semicolon for the last one. You only need it if you are separating multiple styles for the same thing.
__________________
I'm right 90% of the time, so why worry about the other 3%?
  #2   Spotlight this post!  
Unread 16-02-2011, 21:50
aechmtwash11 aechmtwash11 is offline
Registered User
FRC #2783
 
Join Date: Feb 2010
Location: Kentucky
Posts: 84
aechmtwash11 is an unknown quantity at this point
Re: Style code trouble!

i would say add semi colons to everything and remove the /*<![CDATA[*/ & /*]]>*/ (What is that stuff even for?)
__________________
  #3   Spotlight this post!  
Unread 17-02-2011, 01:20
Dan Zollman's Avatar
Dan Zollman Dan Zollman is offline
7
FRC #1712 (Dawgma)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2005
Location: Ardmore, PA
Posts: 392
Dan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond repute
Re: Style code trouble!

Quote:
Originally Posted by aechmtwash11 View Post
i would say add semi colons to everything and remove the /*<![CDATA[*/ & /*]]>*/ (What is that stuff even for?)
Yup, the CDATA stuff is not needed--but in this case, both lines are /* commented out */ so they won't impact the CSS.

And Cecil is correct; the last semicolon in each block is optional.
__________________
Product design student at Rensselaer
Web designer/consultant
FIRST alum, Dawgma 1712

dan.zollman - at - gmail.com
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi