June 12, 2014

Css starts with and ends with class

I have some ids on my page and I want to specify all those ids in class selector.
How we can do so ?

Css allow us to make regular expression class selector.
Example:

table [id^=grdComDealerMntce][id$=_mainTable] td
{
text-align:left;
}

No comments:

Post a Comment