• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Q&A

Q1: How do I use positioning and layers to make text and graphics fly around the page? Isn't that what they call dynamic HTML?
A1: Dynamic HTML is a general term (used mostly for marketing purposes) meaning anything that makes Web pages move. You'll learn more about that in Hour 19, "Web Page Scripting for Non-Programmers," and Hour 20, "Setting Pages in Motion with Dynamic HTML."

In a nutshell, scripting lets you use a simple programming language called JavaScript to modify any HTML or style sheet information (including positioning) on-the-fly in response to the mouse movements and clicks of people who visit your pages.

Q2:Say I link a style sheet to my page that says all text should be blue, but there's a <span style="font-color: red"> tag in the page somewhere. Will that text come out blue or red?
A2: Red. Local inline styles always take precedence over external style sheets. Any style specifications you put between <style> and </style> tags at the top of a page will also take precedence over external style sheets (but not over inline styles later in the same page).
Q3:Can I link more than one style sheet to a single page?
A3: Sure. For example, you might have a sheet for font stuff and another one for margins and spacing—just include a <link /> for each one.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint