Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Show/Hide div movement

Posted by: bigginge Mar 21 2012, 08:49 AM

I have 5 divs which are shown via the behaviours panel using buttons. Works fine until I put and image in the divs, as well as the text, when there is a small movement noticeable when I preview it in the browser. Has anyone experienced this? Any ideas why it's happening?

Posted by: Frederiek Mar 21 2012, 09:09 AM

"the behaviors panel", what's that?

Can you post the url (address) of the page demonstrating the problem?

Posted by: bigginge Mar 22 2012, 07:25 AM

QUOTE(Frederiek @ Mar 21 2012, 02:09 PM) *

"the behaviors panel", what's that?

Can you post the url (address) of the page demonstrating the problem?


Sorry, should have mentioned I'm using Dreamweaver. I've retried it using Fireworks html files, but am still having the problem. I've uploaded to http://www.biggingerfish.co.uk/signet/awards.html. Clicking the year buttons shows the different awards - when you click '2008' the site shifts slightly to the left, then back when another button is clicked.

Posted by: bigginge Mar 22 2012, 09:40 AM

I was just trying to figure it out and noticed at the bottom of the divs I had 3 spaces (<p>&nbsp;</p>), I removed these and it works fine now.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)