Instructional Design Resources

Librarians sharing cool stuff

CSS Drop-Down Menus November 28, 2007

Filed under: css — ellenh @ 10:27 am

Find the how-to here! No javascript at all, people! I don’t have time to play with it right now, but if any of you do, let me know how it works out.

Update: reading through the comments, I’ve found this example too, though it’s got a teensy bit of javascript in it.

Advertisements
 

css hacks September 24, 2007

Filed under: css — kimv @ 7:06 pm
Tags: ,

I had become pretty good at making browsers behave, but IE 7 had thrown me for a loop until, I discovered this little hack. If you’re having problems getting a style to render the same way in each browser try this:

height: 500px (recognized by firefox, IE 6, IE 7, etc)
#height:450px (recognized by both IE6 and 7, but will be ignored in firefox)
_height:400px (only recognized by IE 6, and will be ignored by other browsers)

This allows you to set a different style attributes for each browser so the page will render correctly no matter which browser the you are using.

See: http://www.codepost.org/browse/snippets/63 for more details regarding IE6