- installed firefox add-ons: web developer toolbar, firebug, fireshot[for screen shot capture], and a clear cache button. Also IM client pidgin was downloaded, but not installed.
- xhtml docs require a DTD statement, we are using xhhtml 1.0 strict version. Include a the head of each html doc ...
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - Page layout w/ using tables is old school.
- z-index element introduced. It must be used w/ absolute positioning.
- a href="#" defines a dummy link anchor point.
- &<a class="~~~", href="~~~" target="_blank"> follows the referenced link in a new browser window.
- float:left; and clear:both; is commonly used to affect positioning flow. clear:both says to clear the left and bottom edges of the preceding element.
- Three ways of introducing CSS styling:
- via external file <link rel="stylesheet" type="text/css" href="main.css" />
- via the doc header, w/ following: <style type="text/css">
- inline, by combining w/ html element via: <span style="font-weight:bold;">
- via external file <link rel="stylesheet" type="text/css" href="main.css" />
Containers are used and defined w/ div statements.
- This week, read about:
- pseudo classes :link, :visited, :hover, :active, :first-child
Sequence is important. :hover if present, must follow link & visited.
:active if present, must follow :hover - why isn't first-child considered a pseudo element? hmmm. Allows different treatment of the first element in a sequence of the same [x]html element.
- pseudo elements, :first-line, :first-letter, [and :before, :after]. The latter two don't work in IE.
No comments:
Post a Comment