I have a hard times styling file input elements. So i`ll just explain what im trying to do:

  1. Have 12 placeholders for images (200x200 pixels each) +
  2. User clicks on one of them in any location (not done)
  3. Select a file (image) +
  4. Automatically upload image and show it in the placeholder +

This is how it looks: alt text

What`s the best way to style it?

Thanks. Dan.

1 answer


That has the potential to look really slick! Quirksmode has an article on this. It is pretty gnarly depending on the browser support you want. There is also a jQuery plugin, naturally.

Neither of those links will help with the part where you have to check the file, save it, and show it in the box, though.

Answered about 8 years ago by Don Zacharias