Basic HTML version of Foils prepared 11 March 99

Foil 52 A Larger CSS Example

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

Document Object Model (DOM)
1 <HTML> <HEAD> <TITLE>title</TITLE>
2 <LINK REL=STYLESHEET TYPE="text/css" HREF="http://style.com/cool.css" TITLE="Cool">
3 <STYLE TYPE="text/css">
4 @import url(http://style.com/basic.css);
5 H1 { color: blue }
6 H2.vivid {color:pink}
7 #myid {position:absolute; color:red; top:20; left:50; background-color:red; visibility:hidden}
8 </STYLE></HEAD><BODY>
9 <H1>Headline is blue</H1>
10 <P STYLE="color: green">While the paragraph is green.
11 <h2 class=vivid>And the secondary heading is Vivid</h2>
12 <div id=myid>
13 <h2>Default Color Positionable element</h2>
14 </div>
15 </BODY> </HTML>

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Mar 11 1999