“It’s not the SIZE of the DOG in the FIGHT that matters,
but SIZE of the FIGHT in the DOG!
Stupid or Smart: Dopeler Effect!
“Dopeler effect: The tendency of stupid ideas to seem smarter when they come at you rapidly.”
Do It or Outsource It!
You have to do the things to achieve the results..
Nobody else is going to do it for you..
ps: unless you outsource it!
At The End: It’s Only Between You and God
“People are often unreasonable and self-centered. Forgive them anyway.
If you are kind, people may accuse you of ulterior motives.
Be kind anyway.
If you are honest, people may cheat you.
Be honest anyway.
If you find happiness, people may be jealous.
Be happy anyway.
The good you do today may be forgotten tomorrow.
Do good anyway.
Give the world the best you have and it may never be enough.
Give your best anyway.
For you see, in the end, it is between you and God.
It was never between you and them anyway.”
— Mother Teresa
ps: I love this above thought. It inspires/motivates me to be in right track. Lets spread this awesomeness from Mother Teresa, to the extent we can.
CSS Hover Over Effect On HTML Table: pseudo class
In this tutorial we are illustrating the css hover effect using html4 table and simple css coding.
The CSS pseudo class which is used to accomplish hover over effect is:
:hover |
HTML4 Table Syntax(table.html)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <html> <head> <title>Hover Over On Table</title> <link type="text/css" href="style.css" rel="stylesheet"> </head> <body> <table border="1"> <thead> <td>Apple</td> <td>Microsoft</td> <td>Google</td> </thead> <tfoot> <td>4</td> <td>3</td> <td>6</td> </tfoot> <tbody> <tr> <td>2</td> <td>2</td> <td>3</td> </tr> <tr> <td>2</td> <td>1</td> <td>2</td> </tr> </tbody> </table> </body> </html> |
[If you are used to old stay table syntax, then it’s completely OK to use this CSS Hover over technique on it. It’s not mandatory to use HTML4. ]
In HTML4, table mainly contains 3 parts. thead, tfoot and tbody.
thead represents the heading and the tfoot, the footer of the table. tbody represents the body except the head and the foot of the table.
In thead, I have taken “Apple”, “Microsoft” and “Google”.
In tfoot and tbody some random numbers for the purpose of illustration.
Just don’t try worry about these numbers, instead concentrate on the structure of the table.
<link type="text/css" href="style.css" rel="stylesheet"> |
This line is very important, since it connects the HTML file and the CSS file.
This type of StyleSheet is called as external stylesheet.
Styling information of the HTML document. (style.css)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | body { font-family: verdana; font-size: 24px; } table { width: 400px; } thead { font-weight: bold; } tfoot { font-weight: bold; } thead:hover { background-color: red; color: blue; } tfoot:hover { background-color: yellow; color: blue; } tbody tr:hover { background-color: green; color: blue; } |
Cascading Style Sheet
Here we apply all the styling property to the HTML file.
Make sure you try this :hover pseudo class with other html elements too. You can create very good user interface with the help of this simple CSS hover over effect.
Video Tutorial
Please watch the above video tutorial in full screen.
Related:
You may also like: CSS Hover Over Effect on Lists