borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Dynamic generation of XML File)Next Topic (urgent help for my final yr proj) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : how do I?
Poster Message
Sekar
Level: Sage

Registered: 11-03-2004
Posts: 63

icon how do I?

IN THE FOLLOWING HTML, HOW DO I MOVE "B1" UP (parallel to "A1" & "C1". Thanks.

<html>
<head>
<title>Untitled</title>
</head>

<body>
<BR>
<table align="center"  width="725" cellspacing="0" cellpadding="2" border="2">
<tr><td>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="5">
<tr>
<td bgcolor="#0033ff" width="700" colspan="0">
<p align="center"><font size="4" color="#CC0000">Example</font>
</td>
</tr>
</table>

<table align="center"  cellspacing="0" cellpadding="2" border="0">
<TR>
<TD color="#CC0000">A1</TD>
<td colspan="4" style="padding-right: 213px;"></td>
<TD color="#CC0000">B1</TD>
</TR>
<TR>
<TD ALIGN="LEFT" valign="top">
<SELECT NAME="cplan" STYLE="font-size:10px;margin:0px;padding:0px;" size="1" WIDTH="150" STYLE="width: 150px">
       <option value="cp1">1</option>
       <option value="cp2">2</option>
       <option value="cp3">3</option>
       <option value="cp4">4</option>
</SELECT>
</TD>

<TR>
<TD color="#CC0000">C1</TD>
</TR>
<TR align="left">
<TD ALIGN="LEFT" valign="top">
<INPUT type="Text" name="addupd" STYLE="width: 150px">
</TD>
</TR>

<td colspan="4" style="padding-right: 213px;"></td>
<TD ALIGN="right" valign="top" style="padding-top: 3px;"></TD>
<td valign="top">
<SELECT NAME="version" STYLE="font-size:10px;margin:0px;padding:0px;" size="4" WIDTH="150" STYLE="width: 150px" multiple>
       <option value="c1">5</option>
       <option value="c2">6</option>
       <option value="c3">7</option>
       <option value="c4">8</option>
</SELECT>
</TD>
</TR>
</table>
</td></tr>
</table>



</body>
</html>

08-01-2006 at 05:48 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: how do I?

Hi,
Put them all in the same TR element.
<TR>
<TD color="#CC0000">A1</TD>
<td colspan="4" style="padding-right: 213px;"></td>
<TD color="#CC0000">B1</TD>
<TD color="#CC0000">C1</TD>

</TR>
<TR>
<TD ALIGN="LEFT" valign="top">
<SELECT NAME="cplan" STYLE="font-size:10px;margin:0px;padding:0px;" size="1" WIDTH="150" STYLE="width: 150px">
       <option value="cp1">1</option>
       <option value="cp2">2</option>
       <option value="cp3">3</option>
       <option value="cp4">4</option>
</SELECT>
</TD>

<TR>
</TR>

____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

08-01-2006 at 01:15 PM
View Profile Send Email to User Show All Posts | Quote Reply
Sekar
Level: Sage

Registered: 11-03-2004
Posts: 63
icon Re: how do I?

Hi, Thanks. I don' want to put in the same line. I want to keep A1 and C1 on left and B1 on right. Since B1 is a big SELECT box, I want to match parallely. Thanks.

08-01-2006 at 03:07 PM
View Profile Send Email to User Show All Posts | Quote Reply
~Bean~
Level: VB Guru


Registered: 07-04-2003
Posts: 488
icon Re: how do I?

Use <td rowspan="x"> or, alternatively, use Div's for layout

____________________________
Eggheads unite! You have nothing to lose but your yolks.

27-02-2006 at 06:30 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Internet Applications : how do I?
Previous Topic (Dynamic generation of XML File)Next Topic (urgent help for my final yr proj) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder