Q&A
Q. |
Can I link more than one style sheet to a web page? |
A. |
Yes. You can link as many style sheets to a web page as you'd like. |
Q. |
How can I remove the underline from hyperlinks by using CSS styles? |
A. |
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 that users can easily find the links when the cursor is placed over them. |
Q. |
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? |
A. |
In Hour 24, "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, Adobe's repository for extensions (www.adobe.com/exchange), which 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. |