Server-side control - how set background with css? (link & hover)?

The basic answer comes from the answer to this que4stion: do you know enough to decide in the browser, or do you need to ask the server.

The basic answer comes from the answer to this que4stion: do you know enough to decide in the browser, or do you need to ask the server. If you just want to change the background on hover, use CSS. There is a hover property in CSS that you can use, or you can get more complicated behavior with Javascript in the browser.

If you need to, say, query the database to make the decision, first: ask yourself why you want to do a thing like that -- that will impose a significant delay between the time the conditi0ns for the change are met and the time the reply can get back. Then you'll need some javascript to respond to the server, or else the server will have to serve the page again.

Thanks @Charlie Martin for answer / I have some server side codes (e. G getting data from database) that should I use in onclick of that button - I know css sodoclass hover , but I do n't know how combine css hover & server-side onclick event & html element! – MoonLight May 21 at 23:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions