PROBLEM What characters/symbols are allowed within CSS class selectors? we know that the following characters are invalid, but what characters are valid? ~ ! @ $ % ^ & * ( )…
Coding
Latest Articles and Errors& Fixes fo popular programming languages like HTML,CSS, PHP, Javascript, Angularjs and more
PROBLEM we have an HTML (not XHTML) document that renders fine in Firefox 3 and IE 7. It uses fairly basic CSS to style it and renders fine in HTML….
PROBLEM When we try to make a <ul> slide down using CSS transitions. The <ul> starts off at height: 0;. On hover, the height is set to height:auto;. However, this…
PROBLEM To align the text contents of this div vertically center. [pastacode lang=”css” manual=”%23box%0A%7B%0A%20%20height%3A%2090px%3B%0A%20%20width%3A%20270px%3B%0A%20%20background%3A%20%23001%3B%0A%20%20font-size%3A%2048px%3B%0A%20%20font-style%3A%20oblique%3B%0A%20%20color%3A%20%23FFF%3B%0A%20%20text-align%3A%20center%3B%0A%20%20margin-top%3A%2021px%3B%0A%20%20margin-left%3A%205px%3B%0A%7D%0A%3Cdiv%20Id%3D%22box%22%3E%0A%20%20Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%0A%3C%2Fdiv%3E%0A” message=”css align code” highlight=”” provider=”manual”/] SOLUTION 1: This approach can only works for a single line…
PROBLEM regex for email validation – There is a several PHP programs. Get contacted by someone that is having trouble with a site that uses it, and we end up…
[Solved –10 Answers] PHP – How to get the client IP address in PHP? – How can we able to get the client IP address using PHP? We want to keep record of
[Solved- 7 Answers] PHP – How to expire a PHP session after 30 minutes?-We need to keep a session alive for 30 minutes and then destroy it
[Solved- 4 Answers] HTML- html select readonly – how to set select element as readonly -According to HTML specs, the select tag in HTML doesn’t have a read
[Solved – 5 Answers] HTML – CSS – select a radio button by default – we have some radio buttons and when we tried to be set as selected by default
[Solved – 3 Answers] HTML – CSS – Disable link using css – Is there any way to disable a link using CSS?If you have a class called current-page