Fix for EMAIL and PRINT backgrounds

on 25 June 2007.

Just a quick tip - I came across the solution for this on one of the Joomla forums once but when I ran into the problem again I just couldn't find it! After some scratching around in my own CSS files I came across it again and am posting it as much for my own benefit as anyone else's.

If you use an image for the background in your template, you will find that the Print preview buttons and and Email buttons in your content opens windows where the text is often not readable due to the fact that the background image is often quite dark and your font might also be dark. The solution is as follows:

Add the following lines at the top of your template CSS file


body.contentpane {
background: #FFFFFF;
padding-left : 2px;
}


The 'padding-left : 2px' is optional, really. I just often find that the text is squashed up against the lefthand side of the window (for example in the email window)


Twitter Updates

Web Trends Blog Entries

TM4Y Web Trends Blog - Trends in Web Design, SEO and the Internet in General
Tailormade4you is a web design company that specializes in building websites that offer real value to businesses. This blog contains some thoughts and reflections on the stuff that we deal with on a daily basis - building sites, keeping clients happy and learning all the time.