CSS ID & SS Translation

General ShopSite user discussion

CSS ID & SS Translation

Postby VinceS » Mon Jan 11, 2010 2:19 pm

I'm using the following CSS code to define an ID but I realize that SS treats the # as a comment definer. Result, I lose the line. How can I get around this?

As Coded in CSS include:
}
#menu li {
font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
margin: 0;
padding: 0;
}

Result after publishing and viewing source in the browser in
}
font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Postby loren_d_c » Mon Jan 11, 2010 2:41 pm

Put a space before the # character. ShopSite only treats the line as a comment if the # character is the very first character on the line.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Postby VinceS » Tue Jan 12, 2010 6:55 am

That's it! Worked like a charm. Thanks Loren
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 151 guests