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;
}
















nicomen # 22. August 2006, 06:18
Just another excuse to upgrade to Firefox or Opera
olekasper # 22. August 2006, 07:00
vetler # 22. August 2006, 08:02
nicomen # 22. August 2006, 13:29
hefa # 28. August 2006, 07:12
fred # 9. September 2006, 20:03
- That's easy. You can use .blogfront #mainwrap:before
There's class names available for almost everything on my opera.
drlaunch # 15. December 2006, 08:22
nicomen # 15. May 2007, 08:37
SqueakeyCat # 27. July 2007, 18:03
nicomen # 28. July 2007, 11:44
corrected the article too...
SqueakeyCat # 28. July 2007, 16:02
nicomen # 29. July 2007, 10:38
SqueakeyCat # 29. July 2007, 17:22
philry4n # 1. October 2007, 15:17
edit : fixed