Hey folks,
Trying to set up the show/hide on my basic website for a university submission but looking for some help!
The show/hide div works but ruins the entire layout of the site. This image will explain better hopefully!!
[IMG]http://i809.photobucket.com/albums/zz11/bigval3/screen-capture-6.png[/IMG]
The layout should look like this and obviously the main part of the site will expand with text:
[IMG]http://i809.photobucket.com/albums/zz11/bigval3/27.jpg[/IMG]
This is the CSS I have for the show/hide divs:
#divone, #divtwo, #divthree, #divfour, #divfive {
width:inherit;
margin: 0;
display: none;
font-family: Trebuchet MS;
float: right;
}
Now when I remove the divone div id tag from the html the site looks normal but obviously the show/hide function doesn't work, but when I re-add the divone div id it messes with the layout as shown above.
ANY help is really appreciated!!!!