Skip to content

CSS selectors

June 30, 2008

IE specific comment is like this
<!– html comment starting
[if lte IE 7]>    == condition
<! [endif]         == condition
end of html comment–>

Selectors in css – page 24 jquery.

Syntax Description
* Matches any element.

E Matches all elements with tag name E.

E F Matches all elements with tag name F that are descendants of E.

E>F Matches all elements with tag name F that are direct children of E.

E+F Matches all elements with tag name F that are immediately
preceded by a sibling of tag name E.

E~F Matches all elements with tag name F that are preceded
by any sibling of tag name E.

E:has(F) Matches all elements with tag name E that have at least one
descendant with tag name F.

E.c Matches all elements E that possess a class name of c.
Omitting E is identical to *.c.

E#i Matches all elements E that possess an id value of i.
Omitting E is identical to *#i.

E[a] Matches all elements E that posses an attribute a of any value.

E[a=v] Matches all elements E that posses an attribute a whose value is
exactly v.

E[a^=v] Matches all elements E that posses an attribute a whose value starts with v.

E[a$=v] Matches all elements E that posses an attribute a whose value ends with v.

E[a*=v] Matches all elements E that posses an attribute a whose value contains v

Oh great the selectors work fine – and also if you give href as /appName it takes the base host:port and then appends it with ref. pretty sweeeeeeeeet.

For li working as tabs in Firefox set the outline property to none to hide the box.

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: