I have a div with a border made to stay about the middle of the screen, inside it I have some more divs that are made to show or hide(using the css display property).
If I only have 1 visible at once things look fine, if I have 2 then the page sudenly moves to the right and adopt a vertical scroll(although it's not nessesary).
Hiding them again causes the page to move back.
I'll post a link soon unless I can find a solution myself(as the page is for my own personal testing it's using a complexe series of submenu's to veiw it, so I'll have to copy the HTML out and make a whole new page for it and such)
EDIT: link made:
<!-- m --><a class="postlink" href="http://k.1asphost.com/JSF4/news.html">http://k.1asphost.com/JSF4/news.html</a><!-- m -->
You'll need javascript enabled to veiw it, and I've only tested it in IE.
So does anyone have any tips? I'm willing to try almost anything. The content is suposed to be done automaticly by a peice of PHP(at a later date it will be, but I want this fixing first)W3Schools (<!-- m --><a class="postlink" href="http://www.w3schools.com/default.asp">http://www.w3schools.com/default.asp</a><!-- m -->): html, css, JavaScript, DOM and Web Quality.
See attachment for a better way.thanks.
I should soon have the PHP one working as intended.Read the tutorials!
If I only have 1 visible at once things look fine, if I have 2 then the page sudenly moves to the right and adopt a vertical scroll(although it's not nessesary).
Hiding them again causes the page to move back.
I'll post a link soon unless I can find a solution myself(as the page is for my own personal testing it's using a complexe series of submenu's to veiw it, so I'll have to copy the HTML out and make a whole new page for it and such)
EDIT: link made:
<!-- m --><a class="postlink" href="http://k.1asphost.com/JSF4/news.html">http://k.1asphost.com/JSF4/news.html</a><!-- m -->
You'll need javascript enabled to veiw it, and I've only tested it in IE.
So does anyone have any tips? I'm willing to try almost anything. The content is suposed to be done automaticly by a peice of PHP(at a later date it will be, but I want this fixing first)W3Schools (<!-- m --><a class="postlink" href="http://www.w3schools.com/default.asp">http://www.w3schools.com/default.asp</a><!-- m -->): html, css, JavaScript, DOM and Web Quality.
See attachment for a better way.thanks.
I should soon have the PHP one working as intended.Read the tutorials!