Agile Web Application Development with Yii 1.1 and PHP5 phần 9 potx

36 479 0
Agile Web Application Development with Yii 1.1 and PHP5 phần 9 potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Chapter 11 font: bold 12px Arial; color: #d11e1e; display: block; padding: 2px 2px 8px; line-height: 15px; text-decoration: none; } portlet-content ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin: 0; padding: 0; } portlet-content li { padding: 2px 4px 0px; } operations { list-style-type: none; margin: 0; padding: 0; } operations li { padding-bottom: 2px; } operations li a { font: bold 12px Arial; color: #0066A4; display: block; padding: 2px 2px 8px; line-height: 15px; text-decoration: none; } operations li a:visited { color: #d11e1e; } operations li a:hover { background: #fff; } [ 275 ] Iteration 8: Making it Pretty- Design, Layout, Themes, and Internationalization(i18n) You may have noticed that some of these changes are referencing image files that not yet exist in our project We have added a background.gif image reference in the body declaration, a new bg2.gif image referenced in the #mainmenu ID declaration and a new header.jpg image in the #header ID declaration These can be viewed, downloaded and used by viewing the site online or accessing the images directly from http://www.yippyii.com/trackstar/themes/new/css/background.gif, http://www.yippyii.com/trackstar/themes/new/css/bg2.gif, and http://www.yippyii.com/trackstar/themes/new/css/header.jpg We need to place these new images into the same CSS folder we are using for this theme, namely Webroot/themes/new/css/ After these changes are in place, we need to make a couple of small adjustments to our main.php layout file in this new theme For one, we need to alter the markup in the element to properly reference our new main.css file Currently the main.css file is being pulled in via this line:

Ngày đăng: 09/08/2014, 12:22

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan