Posts categorized 'What I Learned Today'

Remember the Enctype for Forms!

Remember to check the enctype for forms! I just spent 2 hours trying to find out why an existing script which hadn’t been used in a long time wasn’t working. It turned out that form fields weren’t getting picked up, and this turned out to be because the form had an enctype of “text...

Continue reading "Remember the Enctype for Forms!"

styling forms using dt - use clear:both

I styled my first form using CSS instead of tables recently. Unfortunately, the client spotted that it wasn’t correct in IE6 and I hadn’t spotted it. Turns out you need to include a clear:both (or maybe just left if your being picky) if you use floats on your dt’s to put them in line...

Continue reading "styling forms using dt - use clear:both"

Leaving width="" and height="" causes an image to not appear in IE

I put in a placeholder for the width and height for some images in a site I’m working on and I set width=”” height=””. Thsi caused the images to not appear in IE, but they were okay in Firefox and Safari

Options:

Size

Colors