Adding a disclaimer to your blog
Tuesday, 22. August 2006, 04:40:00
Some of you have asked how I added a disclaimer to my blog. It's basically a simple CSS addition.
By going to My Account -> Change design -> custom stylesheet adding the following CSS in the form presented and making sure Use my custom style sheet together with the current theme is selected you can quickly add a nice and shiny disclaimer showing on top of all your blog. Nice and easy
Using the :before selector on the main element lets you add a fake element right before the main content starts. The content: attribute lets you even fill out the text.
So, go ahead, and feel free to show me how you use it!
#mainwrap:before {
content: "The views expressed in this blog are my own and do not necessarily reflect the views of any former, current or future employers or employees of mine.";
color: black;
background-color: #ffff99;
font-style: italic;
border: solid #aaaa77 1px;
padding: 10px;
white-space: normal;
margin-bottom: 15px;
margin-right: 210px;
float: none;
width: auto;
display: block;
}














