Updated Search
Monday 16th April, 2007 09:54 Comments: 0
I finally got around to adding a way to sort the search results by date, as sometimes I'd be looking for something from a specific month or year. I initially used style settings to set the text field and the drop down list to both have a width of 120 pixels, yet the drop down list appeared to be slimmer in IE7. The submit button might appear to be the same width as the text field, but it's set to 126 pixels. I've now set the drop down list to be 126 pixels too. The inconsistent width thing seems to occur on both IE7 and Firefox 2, so at least the inconsistency is fairly consistent (even if they're about a pixel different). So why does it happen? I haven't got a clue, I could use my stylesheets to make them all look "right" in IE7 and Firefox, but for now I don't think I'll worry about it. I did fix the strange linespacing problem in the bar, although it'll probably look too spaced out in IE6 and older (upgrade to IE7 folks!), by using a stylesheet to control whether a br tag is displayed or not. IE7 is making things easier, but there are still too many quirks and bugs with CSS and I'm fed up of writing hacks and fudges.