Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-07-2009, 05:48 PM   PM User | #1
huxen69
New to the CF scene

 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
huxen69 is an unknown quantity at this point
Exclamation Online Booking???

Hello dear experienced designers,
I am creating a .php extension page using dreamweaver although in dreamweaver all is see is HTML tags used... but that is not the problem. Is it possible for me to create a online booking page? So that it goes directly to the email i specify, that is after the user fills a form. Any help would be very much appreciated. I'm new to booking & stuff and have a little more than basic knowledge on HTML AND CSS. Also another problem that when i put external stylesheet it aint working, but internal stylesheet works like a charm. Below is the css:

THIS IS INTERNAL STYLESHEET....

Code:
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	font-family: Arial, Helvetica, Verdana, Sans-serif;
	font-size: 12px;
	color: #666666;
	background: #ffffff;
}


.hidden {
	display:none;
	}
a:link { text-decoration:none; color:#0099FF; }	
a:visited { text-decoration:none; color:#0099FF; }
a:hover { text-decoration:underline overline; color:#0099FF; }

h1 {
	margin:0;
	padding:0;
	}

#content h2 {
	margin: 0;
	padding: 0;
	padding-bottom:15px;
}
#content p {
	margin: 0;
	padding: 0;
	padding-bottom:15px;
}	
#wrapper {
	margin:0 auto;
	padding:0 10;
	width:912px;
}
/*Main Navigation*/
#nav-main {
	height:60px;
	}
#nav-main dl { margin: 0; padding: 0; }	
/* IE5 Mac Hack \*/ 
#nav-main { padding-left: 11px; } 
/*/ 
#nav-main { padding-left: 11px; overflow: hidden; } 
/* End Hack */
#nav-main dt { float: left; }
#nav-main dt a {
	display: block;
	height: 0px !important;
	height /**/:50px; /* IE 5/Win hack */ 
	padding: 50px 0 0 0;
	overflow: hidden;
	background-repeat: no-repeat;
}
#nav-main dt a:hover {
	background-position: 0 -50px;
}

#nav-main dt#home,
#nav-main dt#home a { width: 71px; background-image: url(images/nav/home.gif) }

#nav-main dt#guide,
#nav-main dt#guide a { width: 71px; background-image: url(images/nav/guide.gif) }

#nav-main dt#resort,
#nav-main dt#resort a { width: 150px; background-image: url(images/nav/resort.gif) }

#nav-main dt#liveaboard,
#nav-main dt#liveaboard a { width: 100px; background-image:url(images/nav/liveaboards.gif) }

#nav-main dt#services,
#nav-main dt#services a { width: 71px; background-image:url(images/nav/services.gif) }

body.home dt#home,
body.home dt#home a,
body.guide dt#guide,
body.guide dt#guide a,
body.resort dt#resort,
body.resort dt#resort a,
body.liveaboard dt#liveaboard,
body.liveaboard dt#liveaboard a
body.services dt#services,
body.services dt#services a {
	background-position: 0 -100px;
}

body.about #header {
	height: 150px;
	background: #db6d16
		    url(images/headers/home.gif);
}

#header  {
	height:150px;
	background:url(images/headers/home.gif);
	clear:right;
	}

#sidebar-a {
	float:right;
	width:270px;
	line-height:15px;
	}
#sidebar-a .padding {
	padding: 15px;
}	

#content  {
	margin-right:280px;
	line-height:15px;
	}
#content .padding {
	padding: 15px;
}
#footer  {
	height:65px;
	clear:both;
	}			
.style1 {
	font-size: 14px;
	font-weight: bold;
}
-->
</style>

Last edited by WA; 05-07-2009 at 07:09 PM..
huxen69 is offline   Reply With Quote
Old 05-07-2009, 08:32 PM   PM User | #2
marilynn.fowler
Regular Coder

 
Join Date: Aug 2002
Location: San Francisco
Posts: 442
Thanks: 19
Thanked 15 Times in 15 Posts
marilynn.fowler is an unknown quantity at this point
The company that hosts your website should have online documentation of whether they support CGI/Perl scripts for email forms. Some hosts already have approved scripts; they will provide documentation on how to set up your email form. They may even have easy control panel options to implement it.

You may also find scripts online that will accomplish your task, though editing one might be daunting.

Please be warned that CGI/Perl scripts found on the web can be dicey; as a result, a good number of hosts will not support uploaded scripts.
__________________
Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read. Groucho Marx
marilynn.fowler is offline   Reply With Quote
Old 05-08-2009, 12:40 AM   PM User | #3
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
show us where your css file is located and also, the link you are trying to use in your html file to link to it. likely they don't correlate.

To do the online booking form thing, you need a server side language. well, no you could likely do it in javascript but, if someone has JS turned off, then your form won't work for them.

I may have a solution for you so I have pm'ed you.

bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:06 PM.


Advertisement
Log in to turn off these ads.