volatile
02-15-2007, 02:23 PM
At my wits end. I had a form working fine. Its a left right split page - one the left some simple text and pics - on the right - an email form.
I wanted to swap everything round (so everything on the left - to the right)
moved the form to the left fine - but now everything else is appearing below that - rather than to the right - any ideas. PASTING THE STYLE SHEET AND CODE BELOW
#site_content { width:760px; padding:0; border:0; margin:0 auto; }
#main_body { background:url(../creo_img/background_main_sides.gif); margin:0 auto 0 auto; padding:0 9px 0 9px; }
#header_index {
margin:50px 0 0 0; background:url(../creo_img/background_main.gif) top center no-repeat; height:15px; line-height:15px;
}
#header {
margin:5px 0 0 0; background:url(../creo_img/background_main.gif) top center no-repeat; height:15px; line-height:15px;
}
#header_content_application {
background:url(../creo_img/application_header_top.jpg) left top no-repeat; height:61px; line-height:61px; margin:0; padding:0;
}
#body_left_and_centre { float:left; width:338px; padding:0px; overflow:hidden; }
#body_left_and_centre_content { padding:1px 10px 0px 10px; margin:0px; background-color:#BFCAFF; color:#000000; }
#body_left_and_centre_application {
background:url(../creo_img/application_header_bottom.jpg) #BFCAFF top left no-repeat;
color:#000000;
float:left;
width:335px;
padding:50px 0 0 0;
margin:0 0 0 5px;
overflow:hidden;
}
#body_right { float:left; width:375px; padding: 0px 0px 0px 24px; margin: 0px; overflow:hidden; }
#body_right_application {
float:left;
width:375px;
padding:30px 0px 0px 24px;
margin:0px;
overflow:hidden;
}
.right_content_bottom { background:url(../creo_img/right_content_bottom.gif) bottom left no-repeat; height:13px; line-height:13px; }
#footer {
background:url(../creo_img/background_main.gif) bottom center no-repeat; height:15px; line-height:15px; margin:0;
}
#creo_info { padding:5px 25px 0 10px; margin-bottom:10px; }
AND NOW THE ASP / HTML PAGE
<%if task="" OR task=NULL then%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rapid Secured Loans Online UK - Find the best secured loan online.</title>
<meta name="description" content="We search to find the best secured and unsecured loans in the UK on your behalf. Secured Loans for home owners, tenants, self employed." />
<meta name="keywords" content="secured loans online, secured loans uk, online secured loans," />
<meta content="index, follow" name="Robots" />
<link href="includes_css/layout_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/menu_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/html_styles.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="includes_css/custom_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/form.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="includes_css/print.css" rel="stylesheet" type="text/css" media="handheld"/>
</head>
<body style="font-size:0.7em">
<div id="skipLinks"><a href="#body_centre">Skip to content</a></div>
<div id="site_content">
<div id="header"> </div>
<div id="main_body">
<div id="header_content_application"> </div>
<div id="body_left_and_centre_application">
<div id="body_left_and_centre_content">
<form action="refuk.asp" method="post">
<input type="hidden" name="task" value="action">
<div class="form_question row0" ><font color="crimson"><b><%=fixERR(errormessage)%></b></font>
<label for="homeowner" class="form_question_label">Are you a homeowner? <span class="form_question_required">
*</span></label>
<select name="homeowner" id="homeowner" class="form_question_input">
<option value="Yes" >Yes</option>
<option value="" >No</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Loan Details</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="loan_amount" class="form_question_label">Loan amount (£) <span class="form_question_required"> *</span></label>
<input name="loan_amount" id="loan_amount" type="text" value="<%=loan_amount%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="loan_purpose" class="form_question_label">Purpose of loan? </label>
<select name="loan_purpose" id="loan_purpose" class="form_question_input">
<option value="Debt Consolidation" >Debt Consolidation</option>
<option value="Home Improvements" >Home Improvements</option>
<option value="Other" >Other</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Personal Details</div>
<div class="form_question row1" >
<label for="title" class="form_question_label">Title </label>
<select name="title" id="title" class="form_question_input">
<option value="Mr" >Mr</option>
<option value="Mrs" >Mrs</option>
<option value="Miss" >Miss</option>
<option value="Ms" >Ms</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="name" class="form_question_label">First Name <span class="form_question_required"> *</span></label>
<input name="name" id="name" type="text" value="<%=name%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="surname" class="form_question_label">Surname <span class="form_question_required"> *</span></label>
<input name="surname" id="surname" type="text" value="<%=surname%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="dob" class="form_question_label">Date of Birth (dd/mm/yyyy) <span class="form_question_required"> *</span></label>
<input name="dob" id="dob" type="text" value="<%=dob%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div class="form_question row1" >
<label for="house_number" class="form_question_label">House Number <span class="form_question_required"> *</span></label>
<input name="house_number" id="house_number" type="text" value="<%=house_number%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="postcode" class="form_question_label">Postcode <span class="form_question_required"> *</span></label>
<input name="postcode" id="postcode" type="text" value="<%=postcode%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Contact Details</div>
<div style="clear:both;"></div>
<fieldset class="crform_fieldset">
<legend>Telephone <span class="form_question_required">#</span></legend>
<div class="form_question row1" >
<label for="tel_home" class="form_question_label">Home Tel </label>
<input name="tel_home" id="tel_home" type="text" value="<%=tel_home%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div class="form_question row0" >
<label for="tel_mobile" class="form_question_label">Mobile Tel </label>
<input name="tel_mobile" id="tel_mobile" type="text" value="<%=tel_mobile%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="email" class="form_question_label">Email <span class="form_question_required"> *</span></label>
<input name="email" id="email" type="text" value="<%=email%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question_error" style="text-align:left;">Please complete two fields</div>
</fieldset>
<div>
<fieldset>
<legend>Best times to call </legend>
<input type="checkbox" name="contact_time" value="Anytime" id="Anytime" checked="checked" /><label for="Anytime">Anytime</label><br/>
<input type="checkbox" name="contact_time" value="Morning" id="Morning" /><label for="Morning">Morning</label><br/>
<input type="checkbox" name="contact_time" value="Lunchtime" id="Lunchtime" /><label for="Lunchtime">Lunchtime</label><br/>
<input type="checkbox" name="contact_time" value="Afternoon" id="Afternoon" /><label for="Afternoon">Afternoon</label><br/>
<input type="checkbox" name="contact_time" value="Evening" id="Evening" /><label for="Evening">Evening</label><br/>
</fieldset>
</div>
<br style="clear:both;" />
<div style=" text-align:right">
<input name="form_id" type="hidden" value="53"/>
<input name="start_row" type="hidden" value="1"/>
<div style="text-align:left; margin:10px 0 10px 0;">
<span style="color:#FF0000;">*</span> Indicates a required field<br />
<span style="color:#FF0000;">#</span> Please complete at least two of these fields
</div>
<div style="clear:both;"></div>
<div class="float_right">
<input name="submit_data" type="submit" class="button" value="submit " />
</div>
</div>
<div>
<form action="" method="post">
<div><input type="submit" value="Contact Us" class="button" /></div>
</form><br />
</div>
<div style="clear:both;"></div>
</form>
at this point i have no idea why the rest of the page isnt going right.
===========================================================================
<div id="body_right">
<div id="body_right_application">
<img src="client_files/default/family-on-beach.jpg" width="170" height="113" alt="" />
<img src="client_files/default/grils-on-beach-sunset.jpg" width="170" height="114" alt="" />
<h1 class="margin_top_bottom">Live the life you deserve</h1>
<div class="content_1">
<strong><span
style="color: rgb(1, 110, 229 );">theonlinebroker</span></strong> <span
style="">is the smart choice for your finance needs. <strong><span
style="color: rgb(1, 110, 229 );">theonlinebroker</span></strong> removes the confusion and makes the process of obtaining a loan simple, clear and economical.</span>
</div>
<div class="content_2">
<div class="boxed_text_top"> </div>
<div class="boxed_text_content">
<span><strong>We are able to offer loans for all purposes including debt consolidation, holidays and home improvements</strong>.</span><br/><br/>
<span>We use a panel of secured loan providers to ensure that you always get the best quote regardless of your outstanding credit or any previous credit problems.</span><br/><br/>
<span>We encourage you to complete our <strong>FREE</strong> no obligation enquiry form and one of our fully trained loan advisers will contact you within hours to arrange your personally tailored finance solution.</span>
<br/><br/><span>Our rates start from just <span
style="color: rgb(1, 110, 229 );"><strong>6.7% APR Variable</strong></span> to <span
style="color: rgb(1, 110, 229 );"><strong>19.9% APR Variable</strong></span>, our highest rate is for customers with severe credit problems. Rates are dependant on circumstances, please apply for your personalised quotation.</span><br/><br/>
<span>You can borrow from <span
style="color: rgb(1, 110, 229 );"><strong>£3,000</strong></span> to <span
style="color: rgb(1, 110, 229 );"><strong>£100,000</strong></span>.</span><br />
<br />
<span>Our typical loan rate is <span><strong>9.9%</strong></span> <strong>APR Variable</strong>.</span></div>
<div class="boxed_text_bottom"></div>
</div>
<img src="creo_img/apply_now.jpg" width="366" height="135" alt="Apply Now" /><br /><br />
<div class="content_3">
THINK CAREFULLY BEFORE SECURING OTHER DEBTS AGAINST YOUR HOME. YOUR HOME MAY BE REPOSSESSED IF YOU DO NOT KEEP UP REPAYMENTS ON A MORTGAGE OR ANY OTHER DEBT SECURED ON IT. LOANS SECURED ON YOUR HOME.
</div>
<p class="small_text">
<br
class="small_text" />
</p>
</div>
</div>
<div style="clear:both;"></div>
</div>
<div class="right_content_bottom"></div>
</div>
<div style="clear:both;"></div>
</div>
<div id="footer"> </div>
<div id="creo_info">
<span style="float:left"> © 2007 rapid-secured-loans.co.uk </span>
</div>
</div>
</body>
</html>
<%end if%>
I wanted to swap everything round (so everything on the left - to the right)
moved the form to the left fine - but now everything else is appearing below that - rather than to the right - any ideas. PASTING THE STYLE SHEET AND CODE BELOW
#site_content { width:760px; padding:0; border:0; margin:0 auto; }
#main_body { background:url(../creo_img/background_main_sides.gif); margin:0 auto 0 auto; padding:0 9px 0 9px; }
#header_index {
margin:50px 0 0 0; background:url(../creo_img/background_main.gif) top center no-repeat; height:15px; line-height:15px;
}
#header {
margin:5px 0 0 0; background:url(../creo_img/background_main.gif) top center no-repeat; height:15px; line-height:15px;
}
#header_content_application {
background:url(../creo_img/application_header_top.jpg) left top no-repeat; height:61px; line-height:61px; margin:0; padding:0;
}
#body_left_and_centre { float:left; width:338px; padding:0px; overflow:hidden; }
#body_left_and_centre_content { padding:1px 10px 0px 10px; margin:0px; background-color:#BFCAFF; color:#000000; }
#body_left_and_centre_application {
background:url(../creo_img/application_header_bottom.jpg) #BFCAFF top left no-repeat;
color:#000000;
float:left;
width:335px;
padding:50px 0 0 0;
margin:0 0 0 5px;
overflow:hidden;
}
#body_right { float:left; width:375px; padding: 0px 0px 0px 24px; margin: 0px; overflow:hidden; }
#body_right_application {
float:left;
width:375px;
padding:30px 0px 0px 24px;
margin:0px;
overflow:hidden;
}
.right_content_bottom { background:url(../creo_img/right_content_bottom.gif) bottom left no-repeat; height:13px; line-height:13px; }
#footer {
background:url(../creo_img/background_main.gif) bottom center no-repeat; height:15px; line-height:15px; margin:0;
}
#creo_info { padding:5px 25px 0 10px; margin-bottom:10px; }
AND NOW THE ASP / HTML PAGE
<%if task="" OR task=NULL then%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rapid Secured Loans Online UK - Find the best secured loan online.</title>
<meta name="description" content="We search to find the best secured and unsecured loans in the UK on your behalf. Secured Loans for home owners, tenants, self employed." />
<meta name="keywords" content="secured loans online, secured loans uk, online secured loans," />
<meta content="index, follow" name="Robots" />
<link href="includes_css/layout_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/menu_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/html_styles.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="includes_css/custom_styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/form.css" rel="stylesheet" type="text/css" media="screen" />
<link href="includes_css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="includes_css/print.css" rel="stylesheet" type="text/css" media="handheld"/>
</head>
<body style="font-size:0.7em">
<div id="skipLinks"><a href="#body_centre">Skip to content</a></div>
<div id="site_content">
<div id="header"> </div>
<div id="main_body">
<div id="header_content_application"> </div>
<div id="body_left_and_centre_application">
<div id="body_left_and_centre_content">
<form action="refuk.asp" method="post">
<input type="hidden" name="task" value="action">
<div class="form_question row0" ><font color="crimson"><b><%=fixERR(errormessage)%></b></font>
<label for="homeowner" class="form_question_label">Are you a homeowner? <span class="form_question_required">
*</span></label>
<select name="homeowner" id="homeowner" class="form_question_input">
<option value="Yes" >Yes</option>
<option value="" >No</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Loan Details</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="loan_amount" class="form_question_label">Loan amount (£) <span class="form_question_required"> *</span></label>
<input name="loan_amount" id="loan_amount" type="text" value="<%=loan_amount%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="loan_purpose" class="form_question_label">Purpose of loan? </label>
<select name="loan_purpose" id="loan_purpose" class="form_question_input">
<option value="Debt Consolidation" >Debt Consolidation</option>
<option value="Home Improvements" >Home Improvements</option>
<option value="Other" >Other</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Personal Details</div>
<div class="form_question row1" >
<label for="title" class="form_question_label">Title </label>
<select name="title" id="title" class="form_question_input">
<option value="Mr" >Mr</option>
<option value="Mrs" >Mrs</option>
<option value="Miss" >Miss</option>
<option value="Ms" >Ms</option>
</select>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="name" class="form_question_label">First Name <span class="form_question_required"> *</span></label>
<input name="name" id="name" type="text" value="<%=name%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="surname" class="form_question_label">Surname <span class="form_question_required"> *</span></label>
<input name="surname" id="surname" type="text" value="<%=surname%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="dob" class="form_question_label">Date of Birth (dd/mm/yyyy) <span class="form_question_required"> *</span></label>
<input name="dob" id="dob" type="text" value="<%=dob%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div class="form_question row1" >
<label for="house_number" class="form_question_label">House Number <span class="form_question_required"> *</span></label>
<input name="house_number" id="house_number" type="text" value="<%=house_number%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row0" >
<label for="postcode" class="form_question_label">Postcode <span class="form_question_required"> *</span></label>
<input name="postcode" id="postcode" type="text" value="<%=postcode%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_plain_text">Contact Details</div>
<div style="clear:both;"></div>
<fieldset class="crform_fieldset">
<legend>Telephone <span class="form_question_required">#</span></legend>
<div class="form_question row1" >
<label for="tel_home" class="form_question_label">Home Tel </label>
<input name="tel_home" id="tel_home" type="text" value="<%=tel_home%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div class="form_question row0" >
<label for="tel_mobile" class="form_question_label">Mobile Tel </label>
<input name="tel_mobile" id="tel_mobile" type="text" value="<%=tel_mobile%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question row1" >
<label for="email" class="form_question_label">Email <span class="form_question_required"> *</span></label>
<input name="email" id="email" type="text" value="<%=email%>" size="50" class="form_question_input" />
<div style="clear:both"></div>
</div>
<div style="clear:both;"></div>
<div class="form_question_error" style="text-align:left;">Please complete two fields</div>
</fieldset>
<div>
<fieldset>
<legend>Best times to call </legend>
<input type="checkbox" name="contact_time" value="Anytime" id="Anytime" checked="checked" /><label for="Anytime">Anytime</label><br/>
<input type="checkbox" name="contact_time" value="Morning" id="Morning" /><label for="Morning">Morning</label><br/>
<input type="checkbox" name="contact_time" value="Lunchtime" id="Lunchtime" /><label for="Lunchtime">Lunchtime</label><br/>
<input type="checkbox" name="contact_time" value="Afternoon" id="Afternoon" /><label for="Afternoon">Afternoon</label><br/>
<input type="checkbox" name="contact_time" value="Evening" id="Evening" /><label for="Evening">Evening</label><br/>
</fieldset>
</div>
<br style="clear:both;" />
<div style=" text-align:right">
<input name="form_id" type="hidden" value="53"/>
<input name="start_row" type="hidden" value="1"/>
<div style="text-align:left; margin:10px 0 10px 0;">
<span style="color:#FF0000;">*</span> Indicates a required field<br />
<span style="color:#FF0000;">#</span> Please complete at least two of these fields
</div>
<div style="clear:both;"></div>
<div class="float_right">
<input name="submit_data" type="submit" class="button" value="submit " />
</div>
</div>
<div>
<form action="" method="post">
<div><input type="submit" value="Contact Us" class="button" /></div>
</form><br />
</div>
<div style="clear:both;"></div>
</form>
at this point i have no idea why the rest of the page isnt going right.
===========================================================================
<div id="body_right">
<div id="body_right_application">
<img src="client_files/default/family-on-beach.jpg" width="170" height="113" alt="" />
<img src="client_files/default/grils-on-beach-sunset.jpg" width="170" height="114" alt="" />
<h1 class="margin_top_bottom">Live the life you deserve</h1>
<div class="content_1">
<strong><span
style="color: rgb(1, 110, 229 );">theonlinebroker</span></strong> <span
style="">is the smart choice for your finance needs. <strong><span
style="color: rgb(1, 110, 229 );">theonlinebroker</span></strong> removes the confusion and makes the process of obtaining a loan simple, clear and economical.</span>
</div>
<div class="content_2">
<div class="boxed_text_top"> </div>
<div class="boxed_text_content">
<span><strong>We are able to offer loans for all purposes including debt consolidation, holidays and home improvements</strong>.</span><br/><br/>
<span>We use a panel of secured loan providers to ensure that you always get the best quote regardless of your outstanding credit or any previous credit problems.</span><br/><br/>
<span>We encourage you to complete our <strong>FREE</strong> no obligation enquiry form and one of our fully trained loan advisers will contact you within hours to arrange your personally tailored finance solution.</span>
<br/><br/><span>Our rates start from just <span
style="color: rgb(1, 110, 229 );"><strong>6.7% APR Variable</strong></span> to <span
style="color: rgb(1, 110, 229 );"><strong>19.9% APR Variable</strong></span>, our highest rate is for customers with severe credit problems. Rates are dependant on circumstances, please apply for your personalised quotation.</span><br/><br/>
<span>You can borrow from <span
style="color: rgb(1, 110, 229 );"><strong>£3,000</strong></span> to <span
style="color: rgb(1, 110, 229 );"><strong>£100,000</strong></span>.</span><br />
<br />
<span>Our typical loan rate is <span><strong>9.9%</strong></span> <strong>APR Variable</strong>.</span></div>
<div class="boxed_text_bottom"></div>
</div>
<img src="creo_img/apply_now.jpg" width="366" height="135" alt="Apply Now" /><br /><br />
<div class="content_3">
THINK CAREFULLY BEFORE SECURING OTHER DEBTS AGAINST YOUR HOME. YOUR HOME MAY BE REPOSSESSED IF YOU DO NOT KEEP UP REPAYMENTS ON A MORTGAGE OR ANY OTHER DEBT SECURED ON IT. LOANS SECURED ON YOUR HOME.
</div>
<p class="small_text">
<br
class="small_text" />
</p>
</div>
</div>
<div style="clear:both;"></div>
</div>
<div class="right_content_bottom"></div>
</div>
<div style="clear:both;"></div>
</div>
<div id="footer"> </div>
<div id="creo_info">
<span style="float:left"> © 2007 rapid-secured-loans.co.uk </span>
</div>
</div>
</body>
</html>
<%end if%>