Disney web site - BLOG DESIGN SOLUTIONS Save this code in your
Monday, December 31st, 2007BLOG DESIGN SOLUTIONS Save this code in your cms folder in a file called nav.inc. To include the file in your pages, add this line after the opening
tag in index.php and addpost.php: Tart it up Finally, I m sure you ll agree that your CMS is looking a little ugly at the moment. What it needs is a little style. Try applying the following stylesheet, or feel free to build your own: BODY { background: white; color: #333; font-family: “lucida grande”, verdana, tahoma, sans-serif; font-size: 62.5%; } H1 { font-weight: normal; font-size: 1.8em; margin-left:10em; } P, UL, OL { font-size: 1.2em; margin-left: 15em; } UL, OL { padding-left: 2em; } #nav { float: left; width: 8em; margin: 3em 0 0 0; padding:1em 2em; background: #ddd; border: 1px solid #ccc; } .message { color: red; } Save this stylesheet in your cms folder as cms.css and import the styles into your pages by adding a style element into the head of index.php and addpost.php: