Ads

Using CSS to Set Properties

Using CSS to set font, colors, margins, and background image properties

Use the Page Properties dialog box to specify several basic page layout options for your web pages, including the font, background color, and background image. 

To set layout and formatting options for a page: 

1. Open a document in Adobe Dreamweaver CS6. 

2. Select Modify > Page Properties or click the Page 

Properties button in the text Properties panel. The Page Properties dialog box opens. 

3. Select the Appearance (CSS) category and set the options. 

Page Font specifies the default font family to use for the page. Dreamweaver uses the font family you specify unless another font is specifically set for a text element. 

Size specifies the default font size to use in the page. Dreamweaver uses the font size you specify unless another font size is specifically set for a text element. 

Text Color specifies the default color to render fonts with. 

Background Color sets a background color for your page. Click the Background color box and select a color from the color picker. 

Background Image sets a background image for the page. Click the Browse button, then browse to and select the image. Alternatively, enter the path to the background image in the Background Image text box. Dreamweaver tiles (repeats) the background image if it does not fill the entire window, just as browsers do.

Repeat text specifies how the background image will be displayed on the page:

• Select the No-repeat option to display the background image only once.
• Select the Repeat option to repeat, or tile, the image both horizontally and vertically.
• Select the Repeat-x option to tile the image horizontally.
• Select the Repeat-y option to tile the image vertically.

Left Margin and Right Margin specify the size of the left and right page margins. 

Top Margin and Bottom specify the size of the top and bottom page margins. 

4. When you’ve finished making changes, click Apply to set the properties, and click OK to close the dialog box.



     


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

buttons=(Accept !) days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !