Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a Contextual Selector
What Is a Contextual Selector? - CSS Tutorials - Introduction To CSS Basics
✍: FYIcenter.com
A contextual selector selects a HTML tag that is nested inside another specified tag. Contextual selectors are specified with two tags separated with a space like (outer_tag inner_tag). For example, the following CSS definition uses a contextual selector:
/* set paragraph inside a table to use arial font family */
FORM P {font-family: arial}
If you apply the above CSS definition to the following HTML document, you will get the search instruction block in "arial" font family:
<form action=search.cgi> <p>Search instruction...</p> <input type=submit value=Search> </form> <p>Other normal paragraphs...</p>
2007-05-11, 5734👍, 0💬
Popular Posts:
Can event’s have access modifiers ? Event’s are always public as they are meant to serve every one r...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
How To Set Up Breakpoints in Debug Mode? - Oracle DBA FAQ - Introduction to Oracle SQL Developer To ...
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...
How To Add Column Headers to a Table? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells I...