Mohaimen
Mohaimen

Reputation: 169

CSS issue when using PHP

What is the error in this CSS class?

.ux-row-action-cell .x-grid3-cell-inner {
    padding:1px 0 0 0;
}

I don't see any error in ASP.NET, but when I am using the same CSS in PHP, Firebug says "syntax error".

Upvotes: 0

Views: 177

Answers (2)

Ian Wetherbee
Ian Wetherbee

Reputation: 6109

It would be helpful if we could get a bigger snippet of the code around that line. Static strings would be output the same either way, so possibly a malformed piece of your dynamic code is causing the syntax error. The syntax for that one line is correct.

Upvotes: 2

danyim
danyim

Reputation: 1293

Perhaps your selector is what's causing the issue... Try adding a comma in between:

.ux-row-action-cell, .x-grid3-cell-inner

Upvotes: 2

Related Questions