Problem The most obvious way to position an input label inside a text input is to add descriptive text to the value attribute. JavaScript removes the label when the user clicks in the field. <input type=’text’ name=’fname’ value=’first name’ /> This method has a number of shortcomings: The missing label tag is bad for accessibility, and it isn’t a semantic…
-
-
HTML 5 Sematic Mark Up
<!DOCTYPE html> <html lang="en""> <meta charset="utf-8"> <script src="jquery.js"></script> <link rel="stylesheet" href="html-my.css"> <header> <hgroup> <nav> <article> <footer> <aside> <section> <time datetime="2011-01-21" pubdate>January 21 2011</time> <mark> <figure> <figcaption> Cross Browser Compatibility Stylesheet HTML5shiv Javascript for older versions of IE http://code.google.com/p/html5shiv/
-
WordPress Security Checklist
1. Install Better WP Security plugin 2. Add htaccess file to wp-content 3. Protect htacces file 4. Remove Header Outputs 5. Mark header removal 6. remove readme and license file
-
Photos
Boxes of photos Distillations of past understandings Framed, matted, mounted with archival tape Sold for their frames I helped load them into a truck With lightened footsteps
-
Extracting wordpress posts as text
This is a simple script I wrote that outputs WordPress posts on one page as text. A client needed this because they were editing the copy of the site and wanted all of it in a Word file. You can copy and paste the results or print them to pdf. This is quick and dirty but it does the job.…
-
Mug
Honey on the lip of a mug From the last time you were here I drank from it Tasting The discarded sticky sweetness
-
Magnets
“Where are these from?” Amanda asked. Little, heart magnets were clustered on my refrigerator. Pink and red Buzzing around a fortune cookie message You home is a pleasant place from which you draw happiness “Artifacts from my ex-wife.” Amanda smiled and rearranged the hearts in a neat circle. I was a little saddened by this. A defaced memory could not…
-
Leaves
Raked leaves untended Scattered by winds whim Impending divorce
-
Generating a table in php with corresponding cells
A design I was working on used titles above an image in the feature area. The height of the titles needed to be consistent so they would line up. This is is a trick for iterating cells as a unit so the titles are in a cell above an image. Complicated algorithms are avoided. In this example, the content is…
-
Watch Full Movie Online Why Him? (2016)
Why Him? (2016) HD Director : John Hamburg. Writer : John Hamburg, Ian Helfer, Nicholas Stoller. Release : December 22, 2016 Country : United States of America. Production Company : 21 Laps Entertainment, Red Hour Films. Language : English. Runtime : 111 min. Genre : Comedy. Movie ‘Why Him?’ was released in December 22, 2016 in genre Comedy. John Hamburg…