Discussion Group
Commented Issue: Css markup crashes view [6114]
{
background-image:none;
float:left;
margin:0 5px;
padding:0;
</style>
error produced is: "error CS1513: } expected"
which is caused by "#breadCrumb ul li.first {"
Comments: ** Comment from web user: tylerl **
This is a known issue that has happened to a number of people. It's a syntax collision between spark and HTML that really should be fixed, but probably won't be.
RE: Commented Issue: Css markup crashes view [6114]
-Charles
Behalf Of Rob G
Sent: Friday, May 14, 2010 9:26 AM
To: spark-dev@googlegroups.com
If you did this, then you would lose the semantic meaning that the "#"
symbol gives to CSS anyway. You may as well just put "html #breadCrumb"
Re: Commented Issue: Css markup crashes view [6114]
symbol gives to CSS anyway. You may as well just put "html #breadCrumb"
instead and Spark will ignore is anyway, but the bigger issue here is that
it's bad ju-ju to put your styles in-line regardless, and even if you have
to, you can get around it as pointed out by James.
Re: Commented Issue: Css markup crashes view [6114]
ignore what would otherwise appear to be a spark code block. What do
you all think?
Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
Re: Commented Issue: Css markup crashes view [6114]
<style type="text/css">
html #breadCrumb ul li.first {
{
background-image:none;
float:left;
margin:0 5px;
padding:0;
</style>
Essentially still the same rule but you can use it inline if you
really need to.
James
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
