New flower gallery
I have uploaded a new flower gallery on minnak.net. I was going to update all the galleries and make some other changes to the website, but instead I wasted my time with a minor tweak to the gallery page.
The tweak concerned the rounded corners - the right side corners now move with the gallery frame. Originally I had used a 900px wide background gif, but that doesn’t scale so the right corners disappeared if the window was too small. I’m no coding genius so it took me quite a while, but in the end I figured out a way to get scalable corners which work in Firefox and in IE and hopefully in other browsers as well. They should work anyway, it’s all done with simple CSS. When I had finally figured it out, I found out that browsers interpret the code differently - the lower left corner which looked fine in Firefox, displayed 1 pixel too high in IE, which left me a weird line in the corner. I ended up positioning the corner gif at -1px and now IE shows it correctly, and if it’s 1 pixel too low in other browsers it’s not very easy to see anyway.
So, the whole scalable corner thing, you’d think it’s easy to do and I’m just making a big deal out of it. With my (lack of) coding skills though, it’s a whole evening spent with Google and trial and error and then finally a moment of triumph when it works!
1 comment
