Patriot Posted December 28, 2005 Share Posted December 28, 2005 when i add more to the content side, the navigation moves down with it and makes the nav look bad (has lots of extra space at the bottom.i would like the nav to be whatever size it need to be for what i have on it and then just stop. and i want the nav to be whatever sizes it needs to be for what it has in it then just stop.i think this is a positioning question thats why i put it here ?? Link to comment Share on other sites More sharing options...
Chocolate570 Posted December 28, 2005 Share Posted December 28, 2005 Please post your code and give a link to the site you have the problem on. Link to comment Share on other sites More sharing options...
aspnetguy Posted December 29, 2005 Share Posted December 29, 2005 still waiting.....no??? Link to comment Share on other sites More sharing options...
Patriot Posted December 30, 2005 Author Share Posted December 30, 2005 the link is in my signature, it says current testing siteand the layout is external stylesheet.cssi think the problem might be the height:100% in the navigation side, not sure though Link to comment Share on other sites More sharing options...
aspnetguy Posted December 30, 2005 Share Posted December 30, 2005 You mean after is says site created by...it stretches to the bottom???That is because you used tables. All columns in a row will be the same height.You can stop this by taking the background-color and border off of the left column, putting another table in he left column then formatting the new table with background-color and border.Any questions, just ask. Link to comment Share on other sites More sharing options...
Patriot Posted January 9, 2006 Author Share Posted January 9, 2006 You mean after is says site created by...it stretches to the bottom???That is because you used tables. All columns in a row will be the same height.You can stop this by taking the background-color and border off of the left column, putting another table in he left column then formatting the new table with background-color and border.Any questions, just ask.<{POST_SNAPBACK}> this is the stylesheet part that seperates the divisionsdiv.main {z-index: 0;width:100%;height:100%;border:2px solid black;background-color:#D2B48C;color:#000000;}div.navigation {z-index: 1;width:23%;height:100%;float:left;border-right:2px solid black;padding:1px;background-color:transparent;color:#000000;}div.content {z-index: 2;margin-left:23%;padding:50px;background-color:transparent;color:#000000;} and this is the navigation document.write("<p class='header'>Brians Place</p>");document.write("<p><img src=''alt=''width=160 height=160></p>");document.write("<hr>");document.write("<p class='subheader'><a href=''>Home</a></p>");document.write("<hr>");document.write("<p class='subheader'>Blank</p>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<hr>");document.write("<p class='subheader'>Blank</p>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<hr>");document.write("<p class='subheader'>Blank</p>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<a href=''target='_blank'>Blank</a><br>");document.write("<hr>");document.write("<center><address>Site created by</address><a href='mailto:Brian5@email.com'>Brian5@email.com</a></center><br>"); i only have a table inside the content div? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now