Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Re-creating/duplicating table
Old 12-14-2007, 01:59 PM Re-creating/duplicating table
Extreme Talker

Posts: 218
Trades: 0
I want to put a similiar-sized table on top of this one, but when I try to duplicate it, by copying the table code and pasting it under <body> it's not the same size.

Help please, thanks.



Code:
<body>

<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;">
<tr>
 <td style="padding: 10px;">
  <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
   <td><img src="images/img11.jpg" height="134" width="461">
   <img src="images/topimg2.jpg" height="160" width="309"></td>
   <td align="center">&nbsp;</td>
  </tr> </table>
 </td>
</tr></table>
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2007, 02:13 PM Re: Re-creating/duplicating table
Moxxnixx's Avatar
King Spam Talker

Posts: 1,174
Name: Lance
Location: Virginia Beach
Trades: 0
There is nothing wrong with that table code you gave above.
Can you show the entire code for the page or an online example?
__________________
Get your facts first, and then you can distort them as much as you please. - Mark Twain

Please login or register to view this content. Registration is FREE
---

Please login or register to view this content. Registration is FREE

All My Sites Are Proudly Hosted @
Please login or register to view this content. Registration is FREE

Moxxnixx is offline
Reply With Quote
View Public Profile Visit Moxxnixx's homepage!
 
Old 12-14-2007, 02:30 PM Re: Re-creating/duplicating table
Extreme Talker

Posts: 218
Trades: 0
Thanks for your reply.

Here is the code:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
 <title>TEST</title>
    <script src="java.js" type="text/javascript"></script>
    <link rel="STYLESHEET" type="text/css" href="styles.css">
</head>
<body bgcolor="#ffffff">
    
<br />
<body>

<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;">
<tr>
 <td style="padding: 10px;">
  <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
   <td><img src="images/img.jpg" height="134" width="461">
   <img src="images/topimg.jpg" height="160" width="309"></td>
   <td align="center">&nbsp;</td>
  </tr> </table>
 </td>
</tr></table>
<table width="75%" align="center" cellpadding="0"  cellspacing="0" bordercolor="#800000" style="border: solid 1px;">
<tr bgcolor="White">
 <td>
     <table height="26" cellpadding="0" cellspacing="0" border="0" width="100%" bordercolor="#800000" background="img/_example/bg_tb1_.gif" width="100%"><tr>
      <td width="200"><img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" /></td>
      <td width="100%">
             <table border="0" width="100%" align="right" cellpadding="2" cellspacing="0"><tr>
             </tr></table>
         </td>
     </tr></table>
 </td>
</tr>
<tr><td height="1" bgcolor="#d4d4d4"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td></tr>
<tr>
    <td>
        <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"><tr>
         <td width="200" bgcolor="White" valign="top">
    <img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" />
                <table width="95%" height="98%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                 <td valign="top">
                    <br /><br />
                    <!-- SIDE MENU -->

                    <% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>

                            <!-- MENU FOR LOGGED MEMBER ONLY -->

                                <br />
                                <table width="80%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                                    <td colspan="2">Welcome  <i><%=Session("PMMS_NAME")%></i><br /><br /></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="profile.asp">My Profile</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="_purchase.asp">Purchase</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="newsletter.asp">Newsletters</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="members.asp">Member List</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="members_by_group.asp">Group Member List</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a class="lnk" href="file_cate.asp">File Repository</a></td>
                                </tr><tr>
                                 <td width="15">&ordm;</td>
                                 <td><a href="login.asp?logout=True">Log Out</a></td>
                                </tr></table>
                                <br />
                            <!-- [ MENU FOR LOGGED MEMBER ONLY ] -->

                        <% Else  ' IF NOT LOGGED IN THEN SHOW THE LOGIN FORM%>

                            <!-- INCLUDE LOGIN FORM -->
                                <form action="login.asp" method="post">
                                    <br />
                                    <table align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                                     <td>Username:<br /><input class="textbox" type="Text" name="username" value="<%=Trim(Request.Cookies("USERNAME"))%>" maxlength="25" size="20" /></td>
                                    </tr><tr>
                                     <td>Password:<br /><input class="textbox" type="Password" name="password" value="" maxlength="25" size="20" /></td>
                                    </tr><tr>
                                     <td>
                                            <input type="Checkbox" name="rem" value="1"<%If NOT Trim(Request.Cookies("USERNAME")) = "" Then%> checked<%End If%> />Save Username<br />
                                            <input style="width: 100%;" type="Submit" value="Login Now" /><br /><br /><a href="reminder.asp">Password Reminder</a>
                                        </td>
                                    </tr></table><br />
                                    <input type="Hidden" name="mode" value="login" /><input type="Hidden" name="ref_page" value="<% If Len(Trim(Request.QueryString("ref_page"))) = 0 Then%><%=Request.ServerVariables("URL") & "?" & Request.QueryString%><%Else%><%=Request.QueryString("ref_page")%><%End If%>" />
                                </form>
                            <!-- [ INCLUDE LOGIN FORM ] -->
                        <% End If %>
                        <br /><br />
<img src="img/_example/linkimg1.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="index.asp"> HOME</a><br />
<img src="img/_example/linkimg2.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> FAQ</a><br />
<% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
                     <img src="img/_example/arrow_gray_top_inverse_b.gif" width="15" height="14" alt="" border="0" /><a class="MainMenuLNKExample" href="login.asp?logout=True">LOG OUT</a>
                 <% Else %>
                     <img src="img/_example/linkimg3.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> REGISTER</a><br />
                 <% End If %>
<img src="img/_example/linkimg4.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> TERMS OF USE</a><br />
<img src="img/_example/linkimg5.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> CONTACT US</a><br /><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="anymember.asp">ALL MEMBERS</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="groupmembers.asp">GROUP 2 or 5</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="help.asp">HELP ME</a>
 
 
 
                    <!-- [ SIDE MENU ] -->
                    <br /><br />
                    </td>
                </tr></table>
            </td>
         <td width="7" valign="top" height="100%">
                <table height="100%" width="7" cellpadding="0" cellspacing="0" border="0"><tr>
                 <td><img border="0" src="img/side_1.gif" width="7" height="28"/></td>
                </tr><tr>
                 <td height="100%" background="img/side_2.gif"><img src="img/pixel.gif" width="7" height="1" alt="" border="0"></td>
                </tr></table>
            </td>
         <td valign="top">
                <table width="95%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                 <td><br /><br />
                    <!-- MAIN PAGE CONTENT -->
chrisj is offline
Reply With Quote
View Public Profile
 
Old 12-14-2007, 03:20 PM Re: Re-creating/duplicating table
Moxxnixx's Avatar
King Spam Talker

Posts: 1,174
Name: Lance
Location: Virginia Beach
Trades: 0
Sorry bro, I can't see the problem.
I tried this in IE and Firefox, viewing resolutions between 800x600 and 1280x1024
and both tables are the same width. Maybe someone else can see it.
__________________
Get your facts first, and then you can distort them as much as you please. - Mark Twain

Please login or register to view this content. Registration is FREE
---

Please login or register to view this content. Registration is FREE

All My Sites Are Proudly Hosted @
Please login or register to view this content. Registration is FREE

Moxxnixx is offline
Reply With Quote
View Public Profile Visit Moxxnixx's homepage!
 
Old 12-14-2007, 07:57 PM Re: Re-creating/duplicating table
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think you may not have closed a table or two throughout your code. I went through it fast trying to organize it a little better and I it looks like you missed a few closing tags.

Here's my quickie reorganization:

HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
 <title>TEST</title>
    <script src="java.js" type="text/javascript"></script>
    <link rel="STYLESHEET" type="text/css" href="styles.css">
</head>
<body bgcolor="#ffffff">
    
<br />
<body>

<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;">
 <tr>
  <td style="padding: 10px;">
   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
     <td><img src="images/img.jpg" height="134" width="461">
      <img src="images/topimg.jpg" height="160" width="309"></td>
     <td align="center">&nbsp;</td>
    </tr> 
   </table>
  </td>
 </tr>
</table>

<table width="75%" align="center" cellpadding="0"  cellspacing="0" bordercolor="#800000" style="border: solid 1px;">
 <tr bgcolor="White">
  <td>
   <table height="26" cellpadding="0" cellspacing="0" border="0" width="100%" bordercolor="#800000" background="img/_example/bg_tb1_.gif" width="100%">
    <tr>
     <td width="200"><img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" /></td>
     <td width="100%">
      <table border="0" width="100%" align="right" cellpadding="2" cellspacing="0">
       <tr>
       </tr>
      </table>
     </td>
    </tr>
   </table>   
  </td>
 </tr>
 <tr>
  <td height="1" bgcolor="#d4d4d4"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td>
 </tr>
 <tr>
  <td>
   <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"><tr>
    <td width="200" bgcolor="White" valign="top">
     <img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" />
      <table width="95%" height="98%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
       <td valign="top">
        <br /><br />
        <!-- SIDE MENU -->
        <% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
        <!-- MENU FOR LOGGED MEMBER ONLY --><br />
        <table width="80%" align="center" cellpadding="2" cellspacing="0" border="0">
         <tr>
          <td colspan="2">Welcome  <i><%=Session("PMMS_NAME")%></i><br /><br /></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="profile.asp">My Profile</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="_purchase.asp">Purchase</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="newsletter.asp">Newsletters</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="members.asp">Member List</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="members_by_group.asp">Group Member List</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a class="lnk" href="file_cate.asp">File Repository</a></td>
         </tr>
         <tr>
          <td width="15">&ordm;</td>
          <td><a href="login.asp?logout=True">Log Out</a></td>
         </tr>
        </table><br />
        <!-- [ MENU FOR LOGGED MEMBER ONLY ] -->
        <% Else  ' IF NOT LOGGED IN THEN SHOW THE LOGIN FORM%>
        <!-- INCLUDE LOGIN FORM -->
        
        <form action="login.asp" method="post"><br />
        <table align="center" cellpadding="2" cellspacing="0" border="0">
         <tr>
          <td>Username:<br /><input class="textbox" type="Text" name="username" value="<%=Trim(Request.Cookies("USERNAME"))%>" maxlength="25" size="20" /></td>
         </tr>
         <tr>
          <td>Password:<br /><input class="textbox" type="Password" name="password" value="" maxlength="25" size="20" /></td>
         </tr>
         <tr>
          <td>
           <input type="Checkbox" name="rem" value="1"<%If NOT Trim(Request.Cookies("USERNAME")) = "" Then%> checked<%End If%> />Save Username<br />
           <input style="width: 100%;" type="Submit" value="Login Now" /><br /><br /><a href="reminder.asp">Password Reminder</a>
          </td>
         </tr>
        </table><br />
        <input type="Hidden" name="mode" value="login" /><input type="Hidden" name="ref_page" value="<% If Len(Trim(Request.QueryString("ref_page"))) = 0 Then%><%=Request.ServerVariables("URL") & "?" & Request.QueryString%><%Else%><%=Request.QueryString("ref_page")%><%End If%>" />
        </form>
        <!-- [ INCLUDE LOGIN FORM ] -->
        <% End If %>
        <br /><br />
        <img src="img/_example/linkimg1.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="index.asp"> HOME</a><br />
        <img src="img/_example/linkimg2.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> FAQ</a><br />
        <% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
        <img src="img/_example/arrow_gray_top_inverse_b.gif" width="15" height="14" alt="" border="0" /><a class="MainMenuLNKExample" href="login.asp?logout=True">LOG OUT</a>
        <% Else %>
        <img src="img/_example/linkimg3.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> REGISTER</a><br />
        <% End If %>
        <img src="img/_example/linkimg4.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> TERMS OF USE</a><br />
        <img src="img/_example/linkimg5.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> CONTACT US</a><br /><br />
        <img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="anymember.asp">ALL MEMBERS</a><br />
        <img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="groupmembers.asp">GROUP 2 or 5</a><br />
        <img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="help.asp">HELP ME</a>
        <!-- [ SIDE MENU ] -->
        <br /><br />
       </td>
      </tr>
     </table>
    </td>
    <td width="7" valign="top" height="100%">
     <table height="100%" width="7" cellpadding="0" cellspacing="0" border="0">
      <tr>
       <td><img border="0" src="img/side_1.gif" width="7" height="28"/></td>
      </tr>
      <tr>
       <td height="100%" background="img/side_2.gif"><img src="img/pixel.gif" width="7" height="1" alt="" border="0"></td>
      </tr>
     </table>
    </td>
    <td valign="top">
     <table width="95%" align="center" cellpadding="2" cellspacing="0" border="0">
      <tr>
       <td><br /><br />
       <!-- MAIN PAGE CONTENT -->
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Re-creating/duplicating table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.05015 seconds with 12 queries