quote
People love you according to how you treat them at their weakness - Cassian Menol Razeek


Experience is the sandpaper that smoothes out personality and education spikes that you gather or inherit. - Cassian Menol Razeek

How to Save a Copy of a Visual Studio 2005 Solution
2008-12-22 Sometimes things we consider as simple take much time to be accomplished than we expect just because we forget! Today I wanted to save a copy of a web based visual studio 2005 solution but it took life 10 minutes for me to accomplish that ...

Using TimeStamp columns to keep track of database record versions
2011-10-07 // // Timestamp is a value that is incremented by the database whenever an insert or update operation is performed. Even though the name Timestamp could be a bit misleading, this value has no relevance to a clock related time. This onl...

How Mimic Octopus Takes Form Of Venomous Sea Creatures
2008-11-29 When we talk about animal camouflage, the first creature that hits our minds is lizard. If we leave the earth surface  and swim deeper we can find octopus a master of disguise. Octopus can alter its color and skin texture to blend into i...


A badly placed "please" does more harm than good. - Cassian Menol Razeek

How to Add/Update/Remove Application Configuration (App.Config) Keys
14/05/2013 How to add new keys to app.config file? Simple, just use this code. Configuration conf = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); conf.AppSettings.Settings.Add("Menol&...

ILT - How to bring your window (form) to the top C#
2013/04/11 How to bring a window (form) to the top? Or how to make your window active from the code? Simply: call the Activate() function (method) of your form instance. yourForm.Activate(); // e.g. if(spamCount ...

List.Find Method in C#.NET
30-05-2012 The List.Find method requires a delegate function which can compare an object of the same type of the list and return if the object matches the target object. You can either declare a delegate separately or use following easy shortcut. ...

How Fibonacci Sequence Relates to Nature
2009-01-05 Italian mathematician Leonardo Pisano had a problem worked on to find a mathematical pattern to answer the question: how many pairs of rabbits can be produced from a single pair of rabbits in one year? He carried out his work on following ...

How to Suggest Values or Autocomplete Values When A User Types Into a Combo Box
08-06-2012 .Net has a 5 seconds super easy way to achieve this. Use ComboBox.AutoCompleteSource and ComboBox.AutoCompleteMode properties: (Available from .Net 2.0 onwards) Steps: Load all possible values to ComboBox.Items collection - this is th...


Your healthy time deserves a lot more than lazy life. - Cassian Menol Razeek

Postponing (Procrastination) - Makes your goals blot away and ruins your personal life
2008-11-30 I have been postponing things since I don’t know when... I consider this as a major mistake that we all make and the most unfortunate thing is that we don’t feel we are going down because procrastination takes us down slowly. In other ...

D LINQ : How to Map Columns Which Auto Generate Values At the Database
2009-05-11 I have being working on a software application made on .Net and recently my client asked me to use D LINQ instead of SQL. D LINQ has great benefits loaded! As I started working with DLINQ I started to know that preventing SQL injection...

Don't Let Celebrities Tell You How To Eat
06/02/2014 Who are celebrities, they are a bunch of people who heavily depend on publicity. So they have to do whatever it takes to keep their nose above the water. Being good at anything alone doesn't make a person a celebrity so it doesn't matte...

Posted in General | Comments Off on

html css it is not possible to have inline styles for different aspects of an element like hover, and visited

You cannot specify css styles for different aspects of an HTML element.

e.g. I wanted to do something like this. But you CAN NOT do this.


<a href="www.unicef.org" style="hover(color:00AEFD);active(color:00AEFD)">

Unfortunately the only solution is to write a custom css class and use it.

Like this:


<style>
a.unicef:link {
color: #00AEFD;
text-decoration: none;
}

a.unicef:visited {
color: #00AEFD;
text-decoration: none;
}

a.unicef:hover {
color: #00AEFD;
text-decoration: none;
}

a.unicef:active {
color: #00AEFD;
text-decoration: none;
}
</style>

Then use the class in your link


<a href="http://www.unicef.org.uk/Donate/Donate-Now" class="unicef" target="_blank">Please Donate To unicef</a>

——————

References:
W3 Schools
Stack Overflow

 

Posted in General, Web Development | Tagged , , , | Leave a comment

How to Control a Ton of Inputs using Shift Registers! – YouTube

I have always been fascinated by how circuits manage many inputs and outputs without the need of hundreds of i/o pins…

This shows how you can listen to many inputs by using a very few pins.

Video credit: Kevin Darrah (Youtube).

Posted in Electronics | Tagged , , | Leave a comment

How to: Exclude Projects from a Build

How to exclude a project from your visual studio solution.

Source: How to: Exclude Projects from a Build

Posted in Tips and Tricks | Leave a comment

Protected: Details

This content is password protected. To view it please enter your password below:

Posted in General | Enter your password to view comments.

The world won’t feel when you die, only your family will. Make sure you treat them best while you can.
– Cassian Menol Razeek

Posted in Quotes | Leave a comment

A badly placed “please” does more harm than good.
– Cassian Menol Razeek

Posted in Quotes | Leave a comment

Human brain – the element that brought-out the beauty of the universe before start to destroying it.
– Cassian Menol Razeek

Posted in Quotes | Leave a comment

Dogs learnt kindness from humans thousands of years ago, then humans evolved.
– Cassian Menol Razeek

Posted in Quotes | Leave a comment

Experience is the sandpaper that smoothes out personality and education spikes that you gather or inherit.
– Cassian Menol Razeek

Posted in Quotes | Leave a comment

If you are not the favourite of a bad manager then may I suggest, Be happy?
– Cassian Menol Razeek

Posted in Quotes | Leave a comment