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

Q&A

Q1:What's the difference between changing the appearance of text with traditional tags, such as <b> and <i>, and using a style sheet?
A1: Functionally, there is no difference. If you're only using simple boldface, italics, and such, it's probably best to avoid style sheets. On the other hand, if you need to use more specific formatting, style sheets are ideal.
Q2:What happens if two style sheets affect the same text?
A2: The CSS specification is designed to allow style sheets to overlap, or cascade. Thus, you can specify a style for the body of the document and override it for specific elements, such as headings and paragraphs. You can even go one step further and override the style for one particular instance of an element.
Q3:What if users don't like the styles I use in my pages?
A3: This is another distinct advantage style sheets have over browser-specific tags. When style sheets are fully supported, users will be able to choose a default style sheet of their own and override any properties they want.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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