|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
HTML Help needed
i am stuck on what seems to me should be a simple
layout. what i am trying to do is get a panel to span above the second (main) and third (login) colums - below the header. the first column stays exactly how it is. the panel should be on the top, above the main body and the login (far right) column. i have tried a bunch of things but i guess my HTML needs improvement... anyway, help much appreciated. here is my code: Code:
<HTML> <HEAD> <title>AutList</title> <meta content="True" name="vs_snapToGrid"> <meta content="True" name="vs_showGrid"> <meta content="Microsoft Visual Studio 7.0" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <LINK href="../../CDA/portal.css" type="text/css" rel="stylesheet"> </HEAD> <body> <form id="AutList" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0"> <TR> <TD style="WIDTH: 372px; HEIGHT: 27px" colSpan="3" rowSpan="3"><uc1:header id="Header1" runat="server"></uc1:header></TD> </TR> </TABLE> <TABLE borderColor="activeborder" cellSpacing="0" cellPadding="1" width="686" border="1" style="WIDTH: 100%; HEIGHT: 100%"> <TR> <TD vAlign="top" width="10%" bgColor="#6c8fae" height="1"> <P><uc1:navbar id="MainNavBar" runat="server"></uc1:navbar><uc1:seperator id="Seperator2" runat="server"></uc1:seperator><uc1:newnavbar id="NewNavBar1" runat="server" Visible="False"></uc1:newnavbar></P> <P> </P> <P> </P> <P> </P> <P> </P> <P> </P> <P><uc1:xmlrss id="XMLRSS1" runat="server"></uc1:xmlrss></P> </TD> <TD class="HomeTxt" vAlign="top" borderColor="activeborder" align="left" width="100%" bgColor="azure" height="100%"> <H2> <FONT color="darkslategray"> Author Content List </FONT> </H2> <P> <STRONG>Which Content: </STRONG> <asp:dropdownlist id="ddlWhichContent" runat="server" AutoPostBack="True"> <asp:ListItem Value="0">Currently Being Created</asp:ListItem> <asp:ListItem Value="1">Currently Creating or Editing</asp:ListItem> <asp:ListItem Value="2">All Written by</asp:ListItem> </asp:dropdownlist> </P> <P> <asp:table id="tblView" runat="server" CellSpacing="1" CellPadding="3" GridLines="Both"> <asp:TableRow BackColor="#8CD3EF"> <asp:TableCell Width="5%" HorizontalAlign="Center" Text="ID"></asp:TableCell> <asp:TableCell Width="5%" Font-Size="X-Small" HorizontalAlign="Center" Text="Ver"></asp:TableCell> <asp:TableCell Width="72%" HorizontalAlign="Center" Text="Headline"></asp:TableCell> <asp:TableCell Width="10%" Font-Size="X-Small" HorizontalAlign="Center" Text="Status"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="View"></asp:TableCell> <asp:TableCell Font-Size="XX-Small" Text=" Notes "></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Updt"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Sub"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Del"></asp:TableCell> </asp:TableRow> </asp:table> </P> </TD> <TD vAlign="top" align="left" bgColor="#6c8fae" height="0" rowSpan="1"><uc1:login id="ucLogin" runat="server" Visible="False"></uc1:login><uc1:logout id="ucLogout" runat="server" Visible="False"></uc1:logout><uc1:seperator id="Seperator1" runat="server"></uc1:seperator></TD> </TR> <TR> <TD align="center" colSpan="5"><cmsnet:footer id="Footer1" runat="server"></cmsnet:footer></TD> </TR> </TABLE> </form> </TR></TBODY></TABLE> </body> </HTML> |
|
#2
|
||||
|
||||
|
after you close you form tag, it look like you close a non-existent tbody tag, and close a table that doesn't exist.
|
|
#3
|
|||
|
|||
|
thanks for the reply. you are right... those were left
over from my mucking about with teh placement of the panel. i have taken them out but still wonder how to place the panel to the right of the first column and on top of the second (main body) and third columns? thanks again for your help... |
|
#4
|
|||
|
|||
|
Panel Placement...
Quote:
anybody else...? |
|
#5
|
||||
|
||||
|
do you have a public URL where I can view what you're trying to do?
|
|
#6
|
|||
|
|||
|
Hi and thanks for the reply. I don't but i can point you to this link which
has a similar presentation: http://www.audible.com/adbl/store/c...ayName=Business note the green "business" panel. I am trying to do the same thing... include a panel under the header but to the right of the the left-most colum that spans above the body of the page and the right-most column. sorry for the long link.... is there a way that you could demonstrate this within the code that i have provided? i have been working on this for a good part of the day now, help really appreciated. |
|
#7
|
||||
|
||||
|
This what you want?
Code:
<HTML> <HEAD> <title>AutList</title> <meta content="True" name="vs_snapToGrid"> <meta content="True" name="vs_showGrid"> <meta content="Microsoft FrontPage 5.0" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <LINK href="../../CDA/portal.css" type="text/css" rel="stylesheet"> </HEAD> <body> <form id="AutList" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0"> <TR> <TD style="WIDTH: 372px; HEIGHT: 27px" colSpan="3" rowSpan="3">header<uc1:header id="Header1" runat="server"></uc1:header></TD> </TR> </TABLE> <TABLE borderColor="activeborder" cellSpacing="0" cellPadding="1" width="686" border="1" style="WIDTH: 100%; HEIGHT: 100%"> <TR> <TD vAlign="top" width="10%" bgColor="#6c8fae" height="1" rowspan="2"> <P>navbar<uc1:navbar id="MainNavBar" runat="server"></uc1:navbar><uc1:seperator id="Seperator2" runat="server"></uc1:seperator><uc1:newnavbar id="NewNavBar1" runat="server" Visible="False"></uc1:newnavbar></P> <P>nada </P> <P>nada </P> <P>nada </P> <P>nada </P> <P>nada </P> <P>rss<uc1:xmlrss id="XMLRSS1" runat="server"></uc1:xmlrss></P> </TD> <TD class="HomeTxt" vAlign="top" borderColor="activeborder" align="left" width="100%" bgColor="red" height="50%" colspan="2"> </TD> </TR> <TR> <TD class="HomeTxt" vAlign="top" borderColor="activeborder" align="left" width="100%" bgColor="azure" height="50%"> <H2> <FONT color="darkslategray"> Author Content List </FONT> </H2> <P> <STRONG>Which Content: </STRONG> <asp:dropdownlist id="ddlWhichContent" runat="server" AutoPostBack="True"> <asp:ListItem Value="0">Currently Being Created</asp:ListItem> <asp:ListItem Value="1">Currently Creating or Editing</asp:ListItem> <asp:ListItem Value="2">All Written by</asp:ListItem> </asp:dropdownlist> dropdown </P> <P>table <asp:table id="tblView" runat="server" CellSpacing="1" CellPadding="3" GridLines="Both"> <asp:TableRow BackColor="#8CD3EF"> <asp:TableCell Width="5%" HorizontalAlign="Center" Text="ID"></asp:TableCell> <asp:TableCell Width="5%" Font-Size="X-Small" HorizontalAlign="Center" Text="Ver"></asp:TableCell> <asp:TableCell Width="72%" HorizontalAlign="Center" Text="Headline"></asp:TableCell> <asp:TableCell Width="10%" Font-Size="X-Small" HorizontalAlign="Center" Text="Status"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="View"></asp:TableCell> <asp:TableCell Font-Size="XX-Small" Text=" Notes "></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Updt"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Sub"></asp:TableCell> <asp:TableCell Width="2%" Font-Size="XX-Small" HorizontalAlign="Center" Text="Del"></asp:TableCell> </asp:TableRow> </asp:table> </P> </TD> <TD vAlign="top" align="left" bgColor="#6c8fae" height="0">login<uc1:login id="ucLogin" runat="server" Visible="False"></uc1:login><uc1:logout id="ucLogout" runat="server" Visible="False"></uc1:logout><uc1:seperator id="Seperator1" runat="server"></uc1:seperator></TD> </TR> <TR> <TD align="center" colSpan="3">footer<cmsnet:footer id="Footer1" runat="server"></cmsnet:footer></TD> </TR> </TABLE> </form> </TR></TBODY></TABLE> </body> </HTML> The span column is red, obviously you can change the format to suit. Notice how you need to change rowspan and colspan settings for the surrounding rows <tr> and columns <td>.
__________________
-
thought-after | my thoughts on web development Get Firefox, the developers browser Budget hosting - recommended [/left] |
|
#8
|
||||
|
||||
|
Is this what you are seeking
Quote:
<table width="400" border="2" cellspacing="2" cellpadding="2"><tr><td colspan="2" align="center">Some stuff here is wider than below</td></tr><tr><td width="200" colspan="1">some stuff</td><td width="200" colspan="1">Some stuff</td></tr><tr><td colspan="2" align="center">Some stuff here is wider than above</td></tr></table> |
|
#9
|
||||
|
||||
|
I can't get to your URL from work
Quote:
I'll have to look at it when I get home. |
|
#10
|
|||
|
|||
|
Lafinboy,
that is exactly what i was looking for... i am not sure why i got caught there but thanks a ton for the help. much apprecaited! Banker/guymclaren, thanks a lot for your assistance also. cheers, pbd22 |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > HTML Help needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|