Page 1 of 1

Escape the # symbole

PostPosted: Sun Jan 02, 2011 11:34 am
by wolfytooth
I give up. How do I escape the # symbol? Shopsite uses # for comments. I have css the is defined as the following:

#nextBtn{
top:200px;
left:696px;
}

The failed because the id "nextBtn" is treated as a comment. I've worked around this before by doing things such as div#nextBtn, but this id is not a div tag. It is used by a jquery function.

Thanks for the help.

Re: Escape the # symbole

PostPosted: Sun Jan 02, 2011 12:15 pm
by robm
Try putting a space in front of the "#" sign in your template. ShopSite only treats the # sign as a comment when it's the first character in a line.

Rob