Delay HTML5 :invalid pseudo-class until the first event

http://www.alistapart.com/articles/forward-thinking-form-validation/ Since we only want to denote that a field is invalid once it has focus, we use the focus pseudo-class to trigger the invalid styling. (Naturally, flagging all required fields as invalid from the start would be a poor design choice.) Following this logic, your code would look something like this… <style> input:focus:required:invalid {background-color: … Read more

Separators for Navigation

If there isn’t a pressing need to use images for the separators, you could do this with pure CSS. nav li + li:before{ content: ” | “; padding: 0 10px; } This puts a bar between each list item, just as the image in the original question described. But since we’re using the adjacent selectors, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)