PDA

View Full Version : oneColFixCtr


DiamondLogic
10-22-2009, 03:12 AM
Hi Folks..
I am using Dreamweaver to make a 2 page website, both using the oneColFixCtr format, I can 'Preview/Debug in browser' in both 'IExplore and Firefox' and they shows perfect in both, but when it's uploaded to the www, in IExplore it shows both pages perfect, but in Firefox the index.html page stretches to the size of the browser and loses page format yet the 2nd page shows perfectly.
and
When I send a mailto: request, it opens the mail program but it does not open a 'New Mail' form and enter the required information from the web page form.
as you can see by my questions I'm new to all this..
Thank You!

edbr
10-22-2009, 03:39 AM
post code or a url link so we can see it. using mailto will always open a mail program it will have to be approached differently so again a link would help

DiamondLogic
10-22-2009, 02:55 PM
Hi Brigader General

As requested here is the code for the problem page:

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>4-Q.co.uk - Quality Real Street and Culture Merchandise also the official location of the 4-Q's chat message board..</title>
<link href="file:///C|/General Office/Web Stuff/4-Q.co.uk/_CSS/Main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
textboxstyle {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #000;
background-color: #FFF;
background-image: none;
}
body,td,th {
color: #000;
font-size: 90%;
}
.Notice {
color: #F00;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_valida teForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
} }
//-->
</script>
<meta name="Keywords" content="4-Q.co.uk, 4-Q's, listen2dis, tee-shirt, Conscious, casual, wear, street, garments, culture, real, merchandise, retail, wholesale, online store, chat, message, board, comment" />
<meta name="Description" content="Questioning our Qualifications won't Quantify these Qualities - Suppliers of Real Street and Culture Merchandise including 4-Q and Conscious branded quality Tee-Shirts of all sizes all illustrated with poetic literature and exclusive fine art. Check out 4-Q.co.uk today! also visit our 4-Q's chat message board section to read other users comments or write your own 4-Q Now!" />
</head>

<body class="oneColFixCtr">

<div id="container">
<div id="mainContent">
<h1></h1>
<p><img src="Images/QQQQ-TXT.jpg" width="227" height="254" /><img src="Images/4-Q TXT.jpg" width="280" height="246" /><img src="Images/QQQQ-TXT.jpg" width="227" height="254" /></p>
<p align="center"><img src="Images/RealStreetsTXT.jpg" width="307" height="70" /></p>
<h2 align="center">Suppliers of Quality Real Street and Culture Merchandise</h2>
<p align="center">including</p>
<p align="center">4-Q branded quality Tee-Shirts of all sizes and Conscious branded quality Tee-Shirts of all sizes</p>
<p align="center">all illustrated with poetic literature and/or exclusive fine art. Check out 4-Q.co.uk today!</p>
<h3 align="center">also the official location of the 4-Q's chat message board</h3>
<p align="center">also visit our 4-Q's chat message board section to read other users comments or write your own 4-Q</p>
<p align="center">via <a href="mailto:listen2dis@4-Q.co.uk">listen2dis@4-Q.co.uk</a> Now!</p>
<h2 align="center" class="Notice">Although this site is undergoing important maintenance please continue to leave your polite 4-Q's which will be uploaded shortly </h2>
<table width="735" height="154" border="1">
<caption>
Preview latest 4-Q's
</caption>
<tr>
<th width="102" height="26" scope="col"><div align="center">from</div></th>
<th width="505" scope="col"><div align="center">what they said</div></th>
<th width="106" scope="col"><div align="center">date</div></th>
</tr>
<tr>
<td height="37">Jo</td>
<td>tommy 4-Q and your B****</td>
<td><div align="center">21-10-2009</div></td>
</tr>
<tr>
<td>Chris-Luton</td>
<td>just want to say 4-Q!! to the little shite who broke into my nans house</td>
<td><div align="center">21-10-2009</div></td>
</tr>
<tr>
<td height="39">wkend_raver</td>
<td>to the bouncers that work outside Ampersand... 4-Q</td>
<td><div align="center">21-10-2009</div></td>
</tr>
</table>
<h3 align="center">Please enter details and polite comment in area provided below</h3>
<form action=" mailto:listen2dis@4-q.co.uk" method="post" name="form1" id="form1" onsubmit="MM_validateForm('Name','','R','E-mail','','RisEmail','Note','','R');return document.MM_returnValue">
<label>
<div align="right">
<p>Name*
<input type="text" name="Name" id="Name" />
</p>
</div>
<div align="right">E-mail address*
<input type="text" name="E-mail" id="E-mail" />
</div>
<p>
<label>
</label>
</p>
<div align="center">
<textarea name="Note" id="Note" cols="45" rows="5"></textarea>
</div>
</label>
<label>
<div align="center">
<input type="submit" name="Submit" id="Submit" value="Submit" />
</div>
</label>
</form>
<p align="center">If you experience any browser/mail compatibility problems using the submit button, please e-mail your name (to be shown on the 4-Q website) and comment to</p>
<p align="center"><a href="mailto:listen2dis@4-q.co.uk">listen2dis@4-Q.co.uk</a></p>
<h3 align="center">Questioning our Qualifications won't Quantify these Qualities</h3>
<h1 align="center">4-Q.co.uk</h1>
<h3 align="center">Real Street Merchandise</h3>
<h3 align="center">casual garments - street wear </h3>
<p align="center">retail and wholesale online store plus users 4-Q's chat message board</p>
<p align="right"><a href="AboutPlus.html#About" title="About 4-Q">About 4-Q</a></p>
<p align="right"><a href="AboutPlus.html#Contact" title="Contact 4-Q">Contact 4-Q</a></p>
<p align="right"><a href="AboutPlus.html#Terms" title="Terms of Service">Terms of Service</a></p>
<!-- end #mainContent --></div>
<!-- end #container --></div>
</body>
</html>

what I am trying to achieve with the mailto: is that it will open a New Mail and insert into mail the user data from the text boxes located above the submit button on the form then mail it to me..
Thank You..

DWcourse
10-22-2009, 03:49 PM
The link to your style sheet is to a file on your computer:

<link href="file:///C|/General Office/Web Stuff/4-Q.co.uk/_CSS/Main.css" rel="stylesheet" type="text/css" />

Just guessing I'd say it should probably be:

<link href="/_CSS/Main.css" rel="stylesheet" type="text/css" />

DiamondLogic
10-25-2009, 04:20 PM
Thank You DWcourse!

You was spot on!
I will start to read the Html side of things more carefully in future..
still not sure why my mailto: is not working?

clintoncole
10-26-2009, 01:56 AM
When I send a mailto: request, it opens the mail program but it does not open a 'New Mail' form and enter the required information from the web page form.

Your coding isn't telling it to form in a certain way, you only coded it to open up the default mailing program.

<a href="mailto:listen2dis@4-Q.co.uk">listen2dis@4-Q.co.uk</a>

For more information on how to properly create a contact form visit the following website :) http://dreamweaverspot.com/adobe-dreamweaver-tutorial-contact-forms/

edbr
10-26-2009, 04:09 AM
if you look in tutorials on this site there is a mail form for php explained

DiamondLogic
11-01-2009, 12:32 AM
This is a very good community, I asked two questions and both have been answered perfectly.. Thank you for all your help..