TAILIEUCHUNG - The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP phần 3

Nhấp vào nút Preferences trên bảng điều khiển kiểm soát MAMP. Trong hộp thoại mở ra, chọn cổng, và nhấp vào nút có nhãn Đặt mặc định cổng Apache và MySQL. Các giá trị trong Cảng Apache và MySQL Cảng nên được giống như những người được hiển thị trong hình 2-3. | THE ESSENTIAL GUIDE TO DREAMWEAVER CS4 WITH CSS AJAX AND PHP 4. The CSS Rule definition dialog box now opens. As shown in Figure 4-6 this is another multiple category dialog box. As with the New CSS Rule dialog box I ll go over how it works in the next section. For the moment select the Box category in the list on the left side of the dialog box. Figure 4-6. The CSS Rule definition dialog box supports CSS 1 properties. 5. The Box category sets properties relating to the CSS box model. Set the Width field to 720 px. No prizes for guessing that sets the width of the wrapper div . Once a block-level element has a declared width you can center it by setting its left and right margins to auto. In the Margin section on the right side of the dialog box deselect the checkbox labeled Same for all. This lets you set different values for the margin on each side. Click the down arrow to the side of the field labeled Right and select auto from the drop-down menu as shown in the following screenshot. 166 USING CSS TO ADD A TOUCH OF STYLE 6. Do the same with the field labeled Left. So the values you have changed in the Box category should be as follows Width 720 px Margin Same for all unchecked Margin Right auto Margin Left auto Leave the other fields blank. 7. Click OK to close the CSS Rule Definition dialog box. This returns you to the Insert Div Tag dialog box. Click OK to close it. 8. Switch to Design view if necessary. You should see the page content surrounded by a dotted line and centered in the Document window. If you have a small monitor press F4 to hide the panels and see the effect more clearly. If you can t see a dotted line around the content open the Visual Aids menu on the Document toolbar or select View Visual Aids and check that you have the default settings as shown in the following screenshot. 4 Each setting is toggled on and off by clicking it. A checkmark indicates that the option is turned on. All visual aids should be turned on except CSS Layout Backgrounds

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.