Firefox and drop-down menus
May 29, 2009
Well. I downloaded Firefox, and tried my site on it and it did not work at all. I had used text-align: center to center my content, and apparently Firefox doesn’t acknowledge text-align for things that aren’t text so… I had a look around and found this was pretty common, and it can be fixed by using moz-center instead of center. So I now I have two body selectors in my style sheet, one with text-align: center and one with text-align: moz-center, and now it works in both IE and Firefox. Woo!
After I got through that I began to attempt to make a drop-down menu, which… didn’t go well at all and made me very frustrated. What I thought I’d do was have the drop-down menu as display: none, and then have it display when the mouse hovered over it. But I didn’t get that far. I got it to not display in IE, but I didn’t work in Firefox, and I had no idea what to change. But I have realised that I don’t need to have a drop-down menu (I read the brief wrong), and so I’ve decided that for my first webpage I can just focus on the basics.
After that… I went and watched Alien Resurrection so that I didn’t smash my computer.