Heres my page:

http://tinyurl.com/65ffwr

Click on the FAQ & Prices buttons to see the functionality and the
problem.

I'm using jquery to hide the 'Go Back' button until the other buttons
are clicked. When they are, the 'Go Back' Button fades into view.

See the problem? When the the 'Go Back' button is hidden, the
javascript applies display:none to the list element. This hides the
button but because its the first element in the <ul>, the remaining
two shift across to fill the gap.

I've tried to get around this by using zindex:-100 instead of
display:none. This works but the link is still present and active in
the page, and is messy.

In a nutshell, does anyone know a way of hiding the first <li> which
doesn't cause the list to shift over?

Any help appreciated, thank you!

Reply via email to