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

Q&A

Q1:Can I link more than one style sheet to a web page?
A1: Yes. You can link as many style sheets to a web page as you'd like.
Q2:How can I remove the underline from hyperlinks by using CSS styles?
A2: Some people might advise against doing that, but if you feel your design demands it, it's your call. To remove the underline from hyperlinks, redefine the <a> (anchor) tag in the CSS Rule Definition dialog box. Set Decoration (in the Text category) to None. All the hyperlinks on the page will no longer be underlined. You might want to define a:hover (select it from the Selector drop-down menu in the New CSS Rule dialog box) with an underline so the user can easily find the links when he places the cursor over them.
Q3:I know it's important to separate presentation from content, so how can I load a unique style sheet depending on the user's browser to optimize the user's experience of my web page?
A3: In Hour 22, “Customizing Dreamweaver,” you'll learn about extensions to Dreamweaver, files that you can download and install into Dreamweaver to extend its capabilities. There are a couple of extensions on the Dreamweaver Exchange, Macromedia's repository for extensions (www.macromedia.com/exchange), that add code to your page that loads different style sheets, depending on the user's browser and version. You can download one of these extensions, install it into Dreamweaver, and then use the extension to accomplish your goal of using different style sheets, depending on the user's browser.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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