Hi, Thanks for good advices. Forgot to clean the code properly. It now validates and I've also added the dimension to pictures so it wouldn't look like a big mess if it loads slowly.
But the big thing is still there. In webkit browsers the top line moves on hover just a little bit. Except if you hover over the top row most right picture. Then everything is ok and pictures change perfectly. Cannot figure out why... Best regards, Rauli Rikama On Thu, Jul 1, 2010 at 12:19 AM, Claude Needham <[email protected]> wrote: > On Wed, Jun 30, 2010 at 1:56 PM, Fobin <[email protected]> wrote: >> Hi All, >> >> I'm trying to figure out why in earth few elements move when I change >> them in javascript. Firefox shows it well but webkit browsers there is >> little movement with the elements. You can see the site here: >> >> http://www.solarflare.fi/jarjestovaenkoti/ >> >> Elements are those pictures of persons. On hover they change and there >> happens a little bit movement with Webkit browsers. >> >> Best Regards, >> Rauli Rikama > > When I encounter weirdness in behavior between browsers I start by > cleaning up my code. Partially to see if I stumble upon the answer. > Mostly because clean code gives better results. And, also so that if I > ask for help I can eliminate distraction. > > I suggest you clean your html so that it will validate. > I have heard that </head> closing element is optional. But, I would add it. > > Also put a width and height on all your images. This will make the > page load look less chaotic and different browsers might handle > missing width and height not in the same way. > > This is not a direct solution. > But if get the page to validate and add dimensions to images it might > fix the problem and/or give helpers a cleaner page to test for you. > > Regards, > Claude Needham > ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
