View Full Version : Frames and resizing nested frames
Jethro
October 21st, 2002, 06:06 AM
Anyone else getting slight problems with resizing nested frames in Dreamweaver...
Parent frame is sized to 100% width
Two nested frames Left and Right, Left is sized to 33% but when displayed still appears to grab 50% of the real estate available???
Thanks in advance degsy:D
degsy
October 21st, 2002, 02:59 PM
Can you post the Frameset code that DW produces?
Jethro
October 23rd, 2002, 01:32 AM
Sorry degsy, replaced the code with a table for various reasons. All in working order now .... cheers.
Jethro
October 23rd, 2002, 01:34 AM
Sorry degsy, replaced the code with a table for various reasons. All in working order now .... cheers.
Just had to hack the DW code to exclude default margins and away it went, still has a slightly irritating space on the right for a scroll bar l guess, here's the code as it stands. Not sure if you can get rid of the space on the right....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body rightmargin=0 bottommargin=0 leftmargin=0 topmargin=0>
<table width="100%" height="100%" border="1" align="center" id="MainTable">
<tr>
<td rowspan="2" bgcolor="#0000FF"> </td>
<td> </td>
<td rowspan="2" bgcolor="#0000FF"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
Had to add in the margin stuff to the body.
degsy
October 23rd, 2002, 01:42 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0">
<table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0" id="MainTable">
<tr>
<td rowspan="2" bgcolor="#0000FF"> </td>
<td> </td>
<td rowspan="2" bgcolor="#0000FF"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
Difference is in the Table tag
<table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0" id="MainTable">
p.s. Remember to put attribute values in quotes.
Jethro
October 23rd, 2002, 08:38 AM
Thanks degsy.... you da html hacking guru:bouncy: