Show/Hide div movement |
Show/Hide div movement |
bigginge |
Mar 21 2012, 08:49 AM
Post
#1
|
Member Group: Members Posts: 58 Joined: 23-January 12 Member No.: 16,315 |
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?
|
Frederiek |
Mar 21 2012, 09:09 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
"the behaviors panel", what's that?
Can you post the url (address) of the page demonstrating the problem? |
bigginge |
Mar 22 2012, 07:25 AM
Post
#3
|
Member Group: Members Posts: 58 Joined: 23-January 12 Member No.: 16,315 |
"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 here. 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. |
bigginge |
Mar 22 2012, 09:40 AM
Post
#4
|
Member Group: Members Posts: 58 Joined: 23-January 12 Member No.: 16,315 |
I was just trying to figure it out and noticed at the bottom of the divs I had 3 spaces (<p> </p>), I removed these and it works fine now.
|
Lo-Fi Version | Time is now: 25th April 2024 - 01:33 AM |