adobe dreamweaver cs5 on demand part 39

Mã số định dạng CSS Bạn có thể sử dụng Bộ luật Định dạng phần của hộp thoại Preferences để truy cập vào tùy chọn mã nguồn CSS định dạng. Bạn có thể thiết lập các tùy chọn để tính thụt lề, và chèn các đường phân cách để làm cho nó dễ dàng hơn để làm việc với mã CSS. Khi bạn thực hiện thay đổi định dạng tùy chọn, một bản xem trước của mã CSS xuất hiện trong hộp thoại | Formatting CSS Code You can use the Code Format section of the Preferences dialog box to access CSS source formatting options. You can set options to indent properties and insert separator lines to make it easier to work with CSS code. As you make formatting option changes a preview of the CSS code appears in the dialog box. If you like the preview results you can accept the options. Otherwise you can continue to make option changes. After you set CSS code formatting preferences you can apply them to an entire document in a CSS style sheet or the head of the document only embedded CSS code . Set CSS Code Formatting Preferences o Click the Dreamweaver Mac or Edit Win menu and then click Preferences. Click the Code Format category. Click the CSS button. Select from the following CSS source code format options Indent Properties With. Sets the indent number and type Tabs or Spaces for properties within a rule. Each Property On Separate Line. Places each property within a rule on a separate line. Opening Brace On Separate Line. Places the opening brace for a rule on a separate line from the selector. Only If More Than One Property. Places the singleproperty rules on the same line as the selector. All Selectors For A Rule On Same Line. Places all selectors for the rule on the same line. Blank Line Between Rules. Inserts a blank line between each rule. 0 Click OK. 0 Click OK. o 236 Chapter 9 Format CSS Code in a CSS Style Sheet Manually Display the CSS style sheet you want to format. Click the CSS style sheet name on the Related Files toolbar. Click the Commands menu and then click Apply Source Formatting. The formatting options set in CSS code formatting preferences are applied to the entire document. Format Embedded CSS Code Manually Display the HTML page that contains CSS embedded in the head of the document. Click Source Code on the Related Files toolbar. Select any part of the CSS code. Click the Commands menu and then click Apply Source Formatting To Selection. The

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
46    334    2    05-07-2024
2    840    2    05-07-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.