It was fairly easy to integrate this blog into my Website. I just had to change some settings in Blogger and copy the template it generated into the right place on my HTML page. I found the basic directions that pointed me in the right direction in Ian Lloyd's book, Build You Own Web Site The Right Way Using HTML & CSS. It has an entire chapter devoted to the topic called "Adding a Blog to Your Web Site."
Once I got the blog to appear on my site, I encountered a sticky problem that took me several days to solve. Each post contains a title, its content, and a comment line. Unexpectedly, my content was too far to the left. I checked Blogger's Knowledge Base, but couldn't find any information on how to correct the problem. Nor did a post I placed in Blogger's community provide me with a solution. But, despite increasing frustration, I persisted.
It turned out to be easier to solve than I expected once I pointed myself in the right direction. I was able to do that after viewing the source code for the Web page containing my blog. I noticed that my content appeared with a CSS class called "post-body." Once I discovered that, the solution was within reach without much stretching. All I had to do was to increase post-body's left margin. Of course, if I didn't know anything about CSS I'd have been unable to solve my problem. It seems that CSS is something that everyone who's responsible for either designing or maintaining all or part of a Web site would benefit from knowing.
No comments:
Post a Comment