Results 1 to 5 of 5

Thread: Having Trouble Displaying Tables on New Server

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2011
    Posts
    23

    Having Trouble Displaying Tables on New Server

    I have created an ASP web program on one server, when I move over to another server, all of the tables turn into lists, which is causing some problems.

    Below is my code on the original server
    HTML Code:
    class="right-col" /></div>
                
                <span id="FFBFPrimaryLabel" class="left-col">Does your organization consider xxx?*</span>
                <table id="RadioFFBFPrimary" class="right-col-radio" border="0">
    	<tr>
    		<td><input id="RadioFFBFPrimary_0" type="radio" name="RadioFFBFPrimary" value="Yes" /><label for="RadioFFBFPrimary_0">Yes</label></td>
    	</tr><tr>
    		<td><input id="RadioFFBFPrimary_1" type="radio" name="RadioFFBFPrimary" value="No" /><label for="RadioFFBFPrimary_1">No</label></td>
    	</tr>
    </table>
    This is the code that is changing
    HTML Code:
    class="right-col" /></div>
                
                <span id="FFBFPrimaryLabel" class="left-col">Does your organization consider xxxxx?*</span>
                <div id="RadioFFBFPrimary">
    		<ul>
    			<li><input id="RadioFFBFPrimary_0" type="radio" name="RadioFFBFPrimary" value="Yes" /><label for="RadioFFBFPrimary_0">Yes</label></li><li><input id="RadioFFBFPrimary_1" type="radio" name="RadioFFBFPrimary" value="No" /><label for="RadioFFBFPrimary_1">No</label></li>
    		</ul>
    </div>
    Any help would be greatly appreciately. Basically I need to know how to prevent my code from changing my tables to lists, as you can see has happened above when i copied directory over to new server.

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: Having Trouble Displaying Tables on New Server

    what does the original source code look like that produces the above behaviour?

    0tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2011
    Posts
    23

    Re: Having Trouble Displaying Tables on New Server

    Attached is the code

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 2011
    Posts
    23

    Re: Having Trouble Displaying Tables on New Server

    HTML Code:
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_Default" %>
    
     
    
    <!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 id="Head1" runat="server">
    
      <title>Contribution Request</title>
    
      <link rel="stylesheet" type="text/css" href="style.css" />
    
    </head>
    
    <body>
    
        <div id="main-wrapper">
    
        <div id="inner-wrapper">
    
        <img src="images/blank.png" id="header" alt=" - Contribution Request Form" />
    
        <div id="menu">
    
            <ul>
    
                <li><a href="http://www.zzz.com" target="_blank">Return to Main First Federal Site</a></li>
    
                <li><a href="mailto:contributionrequest@ffsb.com" target="_blank" class="last">Email us a Question</a></li>
    
            </ul>
    
        </div>
    
        <div id="content">
    
        <form id="form1" runat="server">
    
            <%If boolActiveUser = False Then%>
    
            <h3 class="clr">Thanks for your Submission</h3>
    
        <p class="thanks">Your submission has been confirmed. Your confirmation number is <%=TransactionDate%>. Don't forget that additional information should be sent to contributions@ffsb.com. Thank you for your submission!</p>
    
        <%Else%>
    
          <h3 class="clr">Organization Information</h3>
    
                <p class="instruct">Items with asterisk are required.</p>
    
                
    
                <asp:Label id="OrgNameLabel" runat="server" class="left-col">Name of Organization (Check payable to)*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxNameofOrganization" runat="server" class="right-col-input"></asp:TextBox></div>
    
                <asp:Label ID="lblNameOfOrganization" runat="server" Text="Required and must be alpha characters" Visible="False" class="validate"></asp:Label>
    
            
    
                <asp:Label id="OrganizationCatLabel" runat="server" class="left-col">Organization Category (NonProfit,Corporation,etc)</asp:Label>
    
                <div class="input"><asp:TextBox id="txtboxOrganizationCat" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="FedTaxLabel" runat="server" class="left-col">Federal Tax ID</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtBoxFederalTaxID" runat="server" class="right-col"></asp:TextBox></div>        
    
                
    
                <asp:Label id="CharitableCompLabel" runat="server" class="left-col">If your organization is not a 501(c)(3), does this project have a charitable component?*</asp:Label>
    
                <asp:RadioButtonList ID="RadioCharitableComponent" runat="server" class="right-col-radio">
    
                    <asp:ListItem>Yes</asp:ListItem>
    
                    <asp:ListItem>No</asp:ListItem>
    
                </asp:RadioButtonList>
    
                <asp:Label ID="lbl501" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="StreetLabel" runat="server" class="left-col">Street Address*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxStreetAddress" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblStreetAddress" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="CityLabel" runat="server" class="left-col">City*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxCity" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblCityReq" runat="server" Text="Required and must be alpha characters" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="CountyLabel" runat="server" class="left-col">County*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxCounty" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblCounty" runat="server" Text="Required and must be alpha characters" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="StateLabel" runat="server" class="left-col">State</asp:Label>    
    
                <div class="input"><asp:TextBox ID="txtboxState" runat="server" class="right-col" MaxLength="2" ReadOnly="True">FL</asp:TextBox></div>
    
                <asp:Label ID="lblStatusState" runat="server" Text="Required and must be 2 alpha characters in length" Visible="False" class="validate"></asp:Label>
    
                <asp:Label id="ZipLabel" runat="server" class="left-col">Zip Code*</asp:Label>    
    
                <div class="input"><asp:TextBox ID="txtboxZip" runat="server" class="right-col" MaxLength="5"></asp:TextBox></div>
    
                <asp:Label ID="lblZipError" runat="server" Text="Required and must be five numeric digits" Visible="False" class="validate"></asp:Label>
    
                <asp:Label id="WebAddressLabel" runat="server" class="left-col">Web Address</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxWebAddress" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label id="OrganizationDescriptionLabel" runat="server" class="left-col">Description of Organization</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxDescriptionofOrganization" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="FFBFPrimaryLabel" runat="server" class="left-col">Does your organization consider First Federal their primary bank?*</asp:Label>
    
                <asp:RadioButtonList ID="RadioFFBFPrimary" runat="server" class="right-col-radio">
    
                    <asp:ListItem>Yes</asp:ListItem>
    
                    <asp:ListItem>No</asp:ListItem>
    
                </asp:RadioButtonList>
    
                <asp:Label ID="lblPrimaryBankFFBF" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                    
    
                <asp:Label id="InstrumentalNeedsLabel" runat="server" class="left-col">If your organization banks elsewhere, what would be instrumental for you to allow ?</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxInstrumentalNeeds" runat="server" class="right-col"></asp:TextBox></div>
    
     
    
                
    
            <h4 class="clr">Main Contact*</h4>    
    
                
    
                <asp:Label id="MainContactFirstNameLabel" runat="server" class="left-col">First Name*</asp:Label>    
    
                <div class="input"><asp:TextBox ID="txtboxMainContactFirstName" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblFirstName" runat="server" Text="Required and must be alpha characters" Visible="False" class="validate"></asp:Label>
    
                    

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2011
    Posts
    23

    Re: Having Trouble Displaying Tables on New Server

    rest of code
    HTML Code:
      <asp:Label id="MainContactLastNameLabel" runat="server" class="left-col">Last Name*</asp:Label>    
    
                <div class="input"><asp:TextBox ID="txtboxMainContactLastName" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblLastName" runat="server" Text="Required and must be alpha characters" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="MainContactTitleLabel" runat="server" class="left-col">Title*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxMainContactTitle" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblMainContactTitle" runat="server" Text="Must be alpha characters" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="TelephoneLabel" runat="server" class="left-col">Telephone* (no dashes and no parentheses)</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxTelephoneNumber" runat="server" class="right-col" MaxLength="10"></asp:TextBox></div>
    
                <asp:Label ID="lblPhoneNumber" runat="server" Text="Required and must contain only numbers" Visible="False" class="validate"></asp:Label>
    
     
    
                <asp:Label id="ExtensionLabel" runat="server" class="left-col">Extension</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxExtension" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="FaxLabel" runat="server" class="left-col">Fax Number (no dashes and no parentheses)</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxFaxNumber" runat="server" class="right-col" MaxLength="10"></asp:TextBox></div>
    
                <asp:Label ID="lblFaxMain" runat="server" Text="Must contain only numbers" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="EmailLabel" runat="server" class="left-col">Email Address*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxEmailAddress" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblEmailError" runat="server" Text="Required and must be a valid email address" Visible="False" class="validate"></asp:Label>
    
                
    
            <h4 class="clr">Secondary Contact</h4>    
    
                
    
                <asp:Label id="SecondaryContactFirstNameLabel" runat="server" class="left-col">First Name</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryContactFirstName" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="SecondaryContactLastNameLabel" runat="server" class="left-col">Last Name</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryContactLastName" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="SecondaryContactTitleLabel" runat="server" class="left-col">Title</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryContactTitle" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="SecondaryTelephoneLabel" runat="server" class="left-col" MaxLength="10">Telephone (no dashes and no parentheses)</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryPhone" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblSecondPhone" runat="server" Text="Must contain only numbers" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="SecondaryExtensionLabel" runat="server" class="left-col">Extension</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryPhoneExtension" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="SecondaryFaxLabel" runat="server" class="left-col" MaxLength="10">Fax Number (no dashes and no parentheses)</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryFaxNumber" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblSecondFax" runat="server" Text="Must contain only numbers" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="SecondaryEmailLabel" runat="server" class="left-col">Email Address</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxSecondaryEmailAddress" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
            <h3 class="clr">Project Information</h3>
    
                            
    
                <asp:Label id="ProjectTitleLabel" runat="server" class="left-col">Project Title</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxProjectTitle" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="ProjectStartDateLabel" runat="server" class="left-col">Project Start Date*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxStartdate" runat="server" class="right-col">mm/dd/yyyy</asp:TextBox></div>
    
                <asp:Label ID="lblStartdate" runat="server" 
    
                Text="Must be in date format e.g. 01/01/2012 and after todays date" 
    
                Visible="False" class="validate"></asp:Label>
    
     
    
                <asp:Label id="ProjectDescriptionLabel" runat="server" class="left-col">Project Description: (Brief description of the project and its value to the community)*</asp:Label>    
    
                <div class="text-block"><asp:TextBox ID="txtboxDescriptionofPop" runat="server" Height="65px" MaxLength="255" TextMode="MultiLine" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblProjDesc" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="ConcentrationLabel" runat="server" class="left-col">Concentration*</asp:Label>
    
                <asp:RadioButtonList ID="RadioConcentration" runat="server" class="concentration">
    
                    <asp:ListItem Value="Well-rounded Education and Financial Literacy">Well-rounded Education and Financial Literacy</asp:ListItem>
    
                    <asp:ListItem Value="Community Reinvestment and Development">Community Reinvestment and Development</asp:ListItem>
    
                    <asp:ListItem Value="Improving Health and Welfare of Families">Improving Health and Welfare of Families</asp:ListItem>
    
                    <asp:ListItem Value="Community Sports Programs">Community Sports Programs</asp:ListItem>
    
                </asp:RadioButtonList>
    
                <asp:Label ID="lblConcentration" runat="server" Text="Required" Visible="False" class="validate-2"></asp:Label>
    
                
    
                <asp:Label id="AmountRequestedLabel" runat="server" class="left-col">Amount requested from First Federal (numbers only)*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxAmountReqfromFFBF" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblAmountRequested" runat="server" Text="Required and numbers only" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="CommitmentNeededByLabel" runat="server" class="left-col">Commitment needed by*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxCommittmentDate" runat="server" class="right-col">mm/dd/yyyy</asp:TextBox></div>
    
                <asp:Label ID="lblCommittmentDate" runat="server" Text="Must be in date format e.g. 01/01/2012 and after todays date" Visible="False" class="validate"></asp:Label>
    
               
    
                <asp:Label id="DateFundsNeededByLabel" runat="server" class="left-col">Date funds needed by*</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxDateFundsNeededby" runat="server" class="right-col">mm/dd/yyyy</asp:TextBox></div>
    
                <asp:Label ID="lblDateFundsNeededBy" runat="server" Text="Must be in date format e.g. 01/01/2012 and after todays date" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="DescriptionOfSponsorshipLevels" runat="server" class="left-col">Description of sponsorship/contribution levels (additional materials can be emailed to contributions@ffsb.com)</asp:Label>
    
                <div class="text-block"><asp:TextBox ID="txtboxSponsorshipLevel" runat="server" Height="65px" MaxLength="255" TextMode="MultiLine" class="right-col"></asp:TextBox></div>
    
                
    
                <asp:Label id="DidYouReceiveSupportLabel" runat="server" class="left-col">Did your organization receive support in the past year*</asp:Label>
    
                <asp:RadioButtonList ID="RadioReceivedSupportFromFFBF" runat="server" class="right-col-radio">
    
                    <asp:ListItem>Yes</asp:ListItem>
    
                    <asp:ListItem>No</asp:ListItem>
    
                    <asp:ListItem>Unsure</asp:ListItem>
    
                </asp:RadioButtonList>
    
                <asp:Label ID="lblOrganSupportFFBFfromPreviousYear" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label id="AmountReceivedLabel" runat="server" class="left-col">Amount received</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxAmountReceived" runat="server" class="right-col"></asp:TextBox></div>
    
                
    
            <h3 class="clr">Advertising/Publicity Opportunities</h3>
    
                
    
                <asp:Label ID="Label1" runat="server" class="left-col">Are there any advertising or publicity opportunities? If yes, the following information is required.*</asp:Label>
    
                <asp:RadioButtonList ID="RadioPubOpportunity" runat="server" class="right-col-radio">
    
                    <asp:ListItem>Yes</asp:ListItem>
    
                    <asp:ListItem>No</asp:ListItem>
    
                </asp:RadioButtonList>
    
                <asp:Label ID="lblAdertisingPubOpportunity" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label ID="Label2" runat="server" class="left-col">Publicity/Advertising Contact Name</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxPubAdverContactName" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblPublicAdverContactName" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label ID="Label3" runat="server" class="left-col">Publicity/Advertising Contact Email Address</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxPubAdvertContEmail" runat="server" class="right-col"></asp:TextBox></div>
    
                <asp:Label ID="lblPublicAdvertContactEmailRequired" runat="server" Text="Required" Visible="False" class="validate"></asp:Label>
    
                
    
                <asp:Label ID="Label4" runat="server" class="left-col">Publicity/Advertising Contact Phone Number</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxPubAdvertContPhone" runat="server" class="right-col" MaxLength="10"></asp:TextBox></div>
    
                <asp:Label ID="lblPubAdvertPhoneReq" runat="server" Text="Required/Please Check Phone Format" Visible="False" class="validate"></asp:Label>
    
                
    
            <h4 class="center">Select all that apply</h4>
    
                <div id="checkboxselections">
    
                <asp:CheckBox ID="checkboxAdinProgram" runat="server" Text="Ad in program / handout / yearbook" class="halves" />
    
                <asp:CheckBox ID="checkboxorganizationnewsletter" runat="server" Text="Ad in organization newsletter (electronic or paper format)" class="halves" />
    
                <asp:CheckBox ID="checkboxLogoforBannerSign" runat="server" Text="Logo for banner / sign" class="halves-new-row" />
    
                <asp:CheckBox ID="checkboxLogoForWebsite" runat="server" Text="Logo for website" class="halves" />
    
                <asp:CheckBox ID="checkboxLogoForProgramHandout" runat="server" Text="Logo for program / handout" class="halves-new-row" />
    
                <asp:CheckBox ID="checkboxFirstFederalBanner" runat="server" Text="First Federal Banner displayed at event or on location" class="halves" />
    
                <asp:CheckBox ID="checkboxFirstFederalBooth" runat="server" Text="First Federal booth space during event" class="halves-new-row" />
    
                <asp:CheckBox ID="checkboxPhotoOpportunity" runat="server" Text="Photo opportunity with staff" class="halves" />
    
                <asp:CheckBox ID="checkboxLiveAnnouncement" runat="server" Text="Live announcment during event" class="halves-new-row" />
    
                <asp:CheckBox ID="checkboxNone" runat="server" Text="None" class="halves"/>
    
                <asp:CheckBox ID="checkboxOther" runat="server" Text="Other (please elaborate)" class="halves-new-row" />
    
                </div>
    
                
    
                <div class="input-2"><asp:TextBox ID="txtboxOther" runat="server" class="right-col-2"></asp:TextBox></div>
    
                
    
                <br class="clr" />
    
                
    
                <asp:Label ID="Label5" runat="server" class="left-col">Deadline for ads/publicity</asp:Label>
    
                <div class="input"><asp:TextBox ID="txtboxDeadline" runat="server" class="right-col">mm/dd/yyyy</asp:TextBox></div>
    
                <asp:Label ID="lblDatePubDeadLine" runat="server" Text="Must be in date format e.g. 01/01/2012 and after todays date" Visible="False" class="validate"></asp:Label>
    
                
    
        <asp:Button ID="Button1" runat="server" Text="Submit" />
    
        <div class="clr"></div>
    
        <asp:Label ID="lblstatus" runat="server" Text="Label" Visible="False"></asp:Label>
    
        <&#37;End If%>
    
        </form>
    
        </div>
    
        </div>
    
        </div>
    
        <div id="footer">
    
            <div id="copyright">Copyright <%= DateTime.Now.Year.ToString() %> Company A</div>
    
        </div>
    
    </body>
    
    </html>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width