Hey i've made a website and coded it and everything i've made the Menu box and the Main COntent expandable but they both do it together....
If the menu expands so does the content box
What i need help is i want the menu and content to expand differently like if the menu expands the box doesnt and vice versa i dont need the layout coded just some help on this part of the code.
heres the website http://sgfx.x10hosting.com/
Please help me
Expanding Boxes
Started by FK69, Aug 08 2005 01:06 AM
4 replies to this topic
#1
Posted 08 August 2005 - 01:06 AM
#2
Posted 08 August 2005 - 03:49 AM
What you need my friend is embedded tables; something to the effect of this:
That was an example; basically its putting your navigation content and content content in a table all their own so they dont effect each others heights.
Good Luck.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Your Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <table width="800" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="100" colspan="3" valign="top">banner</td> </tr> <tr> <!--NAV MENU--> <td width="130" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="130" height="25" valign="top">Menu Header Image</td> </tr> <tr> <td valign="top"> Navigation Menu Content Goes Here </td> </tr> <tr> <td height="25" valign="top">Footer Image</td> </tr> </table> </td> <!--Spacer--> <td width="20" valign="top"></td> <!--CONTENT--> <td width="650" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="650" height="25" valign="top">Content Header Image</td> </tr> <tr> <td valign="top"> Your Content Goes Here </td> </tr> <tr> <td height="25" valign="top">Content Footer Image</td> </tr> </table> </td> </tr> </table> </body> </html>
That was an example; basically its putting your navigation content and content content in a table all their own so they dont effect each others heights.
Good Luck.
#3
Posted 08 August 2005 - 11:53 PM
cool i'm gonna see what i can do on a test page hopefully i get it right lol
#4
Posted 09 August 2005 - 01:09 AM
hmm.. mayb u slice it wrongly
#5
Posted 09 August 2005 - 10:43 AM
no i sliced it right its just that im not to much of a expert on HTML so i didnt know how to expand a box
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
