19 Messages
•
270 Points
I'm trying to insert this html for viewers comments
Can anyone tell me why the submit button won't work at opening the mailbox? I'm using Website Gold Plus Package if that helps. Thanks in advance for any help.
This is the code"
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><style>body {font-family: Arial, Helvetica, sans-serif;}* {box-sizing: border-box;}/* Style inputs */input[type=text], select, textarea {padding: 12px;border: 1px solid #ccc;margin-margin-resize: vertical;}input[type=submit] {background-color: #04AA6D;color: white;padding: 12px 20px;border: none;cursor: pointer;}input[type=submit]:hover {background-color: #45a049;}/* Style the container/contact section */.container {border-radius: 5px;background-color: #f2f2f2;padding: 10px;}/* Create two columns that float next to eachother */.column {float: left;margin-padding: 20px;}/* Clear floats after the columns */.row:after {content: "";;clear: both;}/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */@media screen and (max-width: 600px) {.column, input[type=submit] {margin-}}</style></head><body><h2>Responsive Contact Section</h2><p>Resize the browser window to see the effect.</p><div class="container"><div style="text-align:center"><h2>Contact Us</h2><p>Swing by for a cup of coffee, or leave us a message:</p></div><div class="row"><div class="column"><img src="/w3images/map.jpg" style="></div><div class="column"><form action="/action_page.php"><label for="fname">First Name</label><input type="text" id="fname" name="firstname" placeholder="Your name.."><label for="lname">Last Name</label><input type="text" id="lname" name="lastname" placeholder="Your last name.."><label for="country">Country</label><select id="country" name="country"><option value="australia">Australia</option><option value="canada">Canada</option><option value="usa">USA</option></select><label for="subject">Subject</label><textarea id="subject" name="subject" placeholder="Write something.." style="></textarea><input type="submit" value="Submit"></form></div></div></div></body></html>
tony8324
19 Messages
•
270 Points
Il y a 2 m
I don't know if it's easier to see the code like this, so I'll post it here..
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
* {
box-sizing: border-box;
}
/* Style inputs */
input[type=text], select, textarea {
padding: 12px;
border: 1px solid #ccc;
margin-
margin-
resize: vertical;
}
input[type=submit] {
background-color: #04AA6D;
color: white;
padding: 12px 20px;
border: none;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
/* Style the container/contact section */
.container {
border-radius: 5px;
background-color: #f2f2f2;
padding: 10px;
}
/* Create two columns that float next to eachother */
.column {
float: left;
margin-
padding: 20px;
}
/* Clear floats after the columns */
.row:after {
content: "";
;
clear: both;
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column, input[type=submit] {
margin-
}
}
</style>
</head>
<body>
<h2>Responsive Contact Section</h2>
<p>Resize the browser window to see the effect.</p>
<div class="container">
<div style="text-align:center">
<h2>Contact Us</h2>
<p>Swing by for a cup of coffee, or leave us a message:</p>
</div>
<div class="row">
<div class="column">
<img src="/w3images/map.jpg" style=">
</div>
<div class="column">
<form action="/action_page.php">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name..">
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
<label for="country">Country</label>
<select id="country" name="country">
<option value="australia">Australia</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
</select>
<label for="subject">Subject</label>
<textarea id="subject" name="subject" placeholder="Write something.." style="></textarea>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
</body>
</html>
0
0
todd_h
524 Messages
•
25K Points
Il y a 2 m
Hello, unfortunately there is not a whole lot we can troubleshoot. I went to see if it would behave better as an uploaded page file instead of an embedded HTML file and it doesn't seem to be working any better either.
I would have to recommend going back to the source and seeing if you can troubleshoot with them. Ultimately, if you are unable to do that, then we would have to suggest trying another HTML source.
0
0
tony8324
19 Messages
•
270 Points
Il y a 2 m
Ok Thank you for that information...
0
0