| Even
More Dreamweaver Computing Resources >> Tutorials >> Web Development >> Even More Dreamweaver |
|
|
Using Cascading Style Sheets (CSS)Creating CSS file CSS allows you to apply consistent fonts, size attributes, colors or other style elements to your document. Open your page and click on Window > CSS styles; the following
window will open:
So far, you have defined the content attributes of your web page. If you want to define the hyperlinks on your page, click on “New Style” icon again on the new style window and choose “”Use CSS Selector”; you will see the different selector choices and your css file name appear as the default.
Attaching CSS file To apply the .css file that you just defined, go to Text > CSS Styles > Attach Style Sheet. Then, highlight the text that you want the CSS file to define, go to Text > CSS Styles, click your .css file name. You can find that all the content and the hyperlinks are changed to what your .css file defined. To preview in a browser, just press F12 on PC keyboard. |
|