Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5. THE WORKBENCH: INSIDE YOUR BLOG > Creating Blog Elements in CSS

5.3. Creating Blog Elements in CSS

Templates work by defining page elements in the CSS and then using them in the HTML. For example, in the primary CSS file called photoblog.css, there is an element that defines the area of the screen that is set aside to display your blog design, like a chalk pattern outline. It is called blogstylearea and is defined as follows:

#blogstylearea{
position: absolute;
top: 0px;
width:930px;
left: 30px;
margin-bottom: 30px;
overflow: hidden;
}


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial