Monday, June 27, 2011

The annoying scrollbars!

Good day boys and girls!
Ever wonder how that scroll bar is being removed while trying to print/print preview a page with scroll bar in it? Below is the screenshot.



As you can see above, some data are being trimmed-off because of the height restriction defined on the container(<div></div>)

Using the CSS:
By using the CSS, we can eliminate that scrollbar and print the whole page without worrying the layout.

<style type="text/css">
.text {width: 500px;}
.text1 {width: 500px;height: 200px;overflow: auto;border: 1px solid #ccc;}
@media print {.text1 {height: auto;overflow: none;}}
</style>



I hope this will help you guys.

Financial Freedom Takes a Complimentary Partner

Regardless of how good you are at saving and investing, you can't achieve financial freedom if your partner is a spendthrift that rings up credit card debt. It's like trying to get out of quicksand but having someone pull you back in every day.

Moreover, no matter how successful you are, unless your partner is equally disciplined, frugal, and investment-oriented, your efforts toward a better, financially-free life are going to be like struggling in quicksand. Marry the wrong person and the emotional, financial, and social toll it can take on your life will overwhelm almost any progress you can make in your career or pocketbook. As you try to build a life, he or she will be out spending your money on status symbols, making it nearly impossible for you to achieve financial freedom.

To truly build a life, you need to have the kind of support that allows you to take risks because you know, always there to back you up, keep you motivated, no matter what happens, there will always be someone waiting for you at home that loves you unconditionally. It may sound surprising, but a tremendous amount of success is based upon proper temperament and psychology. How can you focus on your work and creating the life about which you always dreamed if you are worrying about the situation at home?