Đang chuẩn bị liên kết để tải về tài liệu:
The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P7

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P7:Apart from writing books like this one, I write code. I make my living by building web sites and applications as, I’m sure, many readers of this book do. I use CSS to complete jobs every day, and I know what it’s like to struggle to make CSS work when the project needs to be finished the next morning. | Navigation 97 To produce multilevel navigation we can edit the example we saw in Figure 4.4 adding a nested list and styling the colors borders and link properties of the new list s items chapter047listnav_sub.html DOCTYPE html PUBLIC - W3C DTD XHTML 1.0 Strict EN http www.w3.org TR xhtml1 DTD xhtml1-strict.dtd html xmlns http www.w3.org 1999 xhtml lang en-US head title Lists as navigation title meta http-equiv content-type content text html charset utf-8 link rel stylesheet type text css href listnav_sub.css head body div id navigation ul li a href Recipes a ul li a href Starters a li li a href Main Courses a li li a href Desserts a li ul li li a href Contact Us a li li a href Articles a li li a href Buy Online a li ul div body html Download at WoweBook.Com 98 The CSS Anthology chapter04 listnav_sub.css navigation width 200px navigation ul list-style none margin 0 padding 0 navigation li border-bottom 1px solid ED9F9F navigation li a link navigation li a visited font-size 90 display block padding 0.4em 0 0.4em 0.5em border-left 12px solid 711515 border-right 1px solid 711515 background-color B51032 color FFFFFF text-decoration none navigation li a hover background-color 711515 color FFFFFF navigation ul ul margin-left 12px navigation ul ul li border-bottom 1px solid 711515 margin 0 navigation ul ul a link navigation ul ul a visited background-color ED9F9F color 711515 navigation ul ul a hover background-color 711515 color FFFFFF The result of these additions is shown in Figure 4.5. Download at WoweBook.Com Navigation 99 Discussion Nested lists are a perfect way to describe the navigation system that we re working with here. The first list contains the main sections of the site while the sublist under Recipes shows the subsections within the Recipes category. Even without any CSS styling the structure of the list is still clear and comprehensible as you can see in Figure 4.6. Recipes 0 Starters 0 Main Courses 0 Desserts Contact Us Articles Buy Online Figure 4.6. .

Đã 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.