Chasing the Code
Part of the joys of being a developer is testing, and debugging, then chasing the errors. If your a developer you know what I mean.
I’m still learning CSS and enjoy coding it a lots, but I was surprised or not to see that some of the new nice CSS features I added the other day, weren’t working so well in IE.
The homepage code meant that if the browser was smaller some of the graphics jumped around if a menu item was highlighted, I fixed this one quite quickly. (Or so I thought! still does it)
However the main problem was with the new side gallery highlight feature. In Firefox it was fine, either because it doesnt care and ignores the discrepancy, or just works in a different way. Anyway it alway used to be code for IE and Netscape, now it IE & Firefox.
The problem was tracking down the error. I thought I was going to have to re-edit all the side navs, but after a whole day of trying to find the problem, a friend suggested something which seemed to work. This evening however it didn’t and I’ve spent another 2 hours chasing the funnies in the code. Finally I sort it by adding additional simple bit of code to the CSS. it not fixed it! But, argh! now for some reason the first thumbnail in the Norway section jumps! So something else to chase, and yet again, I can’t see anything obvious.
So. if you notice any funny bit over the next few days, please let me know, and I am working on it!
Related Posts:
- None Found