curiouswebster
asked on
Looking for alternate CSS syntax
I find this syntax not too nice:
<a id="htmlLink" class="button inline btnNotification iframe complete"...>
What alternatives are there?
How about in C#, how could I realize the same result with the fluent CSS API?
Thanks.
<a id="htmlLink" class="button inline btnNotification iframe complete"...>
What alternatives are there?
How about in C#, how could I realize the same result with the fluent CSS API?
Thanks.
I have no Idea how it would ever be necessary to use that many classes for a single link. I think you may need to consolidate you stylesheets a little.
ASKER
OK. Then why not create one that's more normal, then show me how to code the same thing using the CSS fluent API?
What alternatives are there?
I gave you the best alternative... clean up your CSS.
If you want me to show you how then post the CSS that forces you to uses that many classes. The way it is you might as well be hardcoding the stlye in the tag.
As for C#, I have never written a singe line of code using C#. It is not something I would ever use instead of PHP.
ASKER
That was sample CSS, not from my program. I was trying to learn other ways to concatenate classes, aside from just putting a space between them.
Sorry, maybe this fluent API is C# and not CSS. I have seen it before.
is uses
.addAttr() or something of the like.
or add('attr', 'iframe');
I wish I'd saved it when I saw it. Do you know what I am talking about?
I would like to learn PHP, sometime soon...
Sorry, maybe this fluent API is C# and not CSS. I have seen it before.
is uses
.addAttr() or something of the like.
or add('attr', 'iframe');
I wish I'd saved it when I saw it. Do you know what I am talking about?
I would like to learn PHP, sometime soon...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help. I knew nothing about PHP but now know it's like JavaScript, which I really like. See you on the PHP boards!