Everything posted by jame5payne
-
@ font face advice
Good afternoon all, was just wondering/hoping one of you fine professionals out there could take a look at the below and see if you can spot any errors? Just that the font that I am using is not showing on other pc's. I have located the fonts in a folder called 'fonts' which is in my root folder. @font-face { font-family: 'NobileRegular'; src: url('fonts/nobile-webfont.eot'); src: url('fonts/nobile-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/nobile-webfont.woff') format('woff'), url('fonts/nobile-webfont.ttf') format('truetype'), url('fonts/nobile-webfont.svg#NobileRegular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'NobileBold'; src: url('../fonts/nobile_bold-webfont.eot'); src: url('../fonts/nobile_bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/nobile_bold-webfont.woff') format('woff'), url('../fonts/nobile_bold-webfont.ttf') format('truetype'), url('../fonts/nobile_bold-webfont.svg#NobileBold') format('svg'); font-weight: normal; font-style: normal; } Once again, any tips/advice is much appreciated. James
-
Good afternoon to all the PHP Kings!
Good afternoon php wizards! I was hoping someone could take a look at the below code and see if they can spot any mistakes...just that I'm not receiving any emails from my contact form. Any help would be really appreciated as i'm banging my head against a pretty hard wall at the minute <?php if(isset($_POST['submit'])) { $enquiry = $_POST['enquiry']; if(trim($_POST['name']) == '') { $hasError = true; } else { $name = trim($_POST['name']); } if(trim($_POST['telephone']) == '') { $hasError = true; } else { $phone = trim($_POST['telephone']); } if(trim($_POST['email']) == '') { $hasError = true; } else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) { $hasError = true; } else { $email = trim($_POST['email']); } if(trim($_POST['message']) == '') { $hasError = true; } else { if(function_exists('stripslashes')) { $message = stripslashes(trim($_POST['message'])); } else { $message = trim($_POST['message']); } } if(!isset($hasError)) { $emailTo = '**********@hotmail.com'; $body = "Name: $name \n\nEmail: $email \n\nPhone: $telephone \n\nMessage:\n $message \nEnquiry: $enquiry"; $headers = 'From: ********** <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email; $subject = "Contact"; mail($emailTo, $subject, $body, $headers); $emailSent = true; header(''); } else { header(''); } } ?>
-
Toggle method
thanks Spitfire, much appreciated
-
Toggle method
Hi all, haven't been on here in a while. Was hoping someone could point me in the right direction. I have a list of questions on an f.a.q page and I want to be able to toggle the answers independently by clicking the ancor tag "show/hide" using jQuery. The problem I'm having is when i click one of the tags all the answers appear, there's obviously a way to do this independently, am I right in saying $(this) has to be used somewhere? Here is my HTML . . . <ul> <li class="question">Question 1<a href="#">Show/Hide</a></li> <li class="answer">"Answer 1"</li> <li class="question">Question 2<a href="#">Show/Hide</a></li> <li class="answer">"Answer 2"</li> <li class="question">Question 3<a href="#">Show/Hide</a></li> <li class="answer">"Answer 3"</li> </ul> Here is my CSS . . . ul .question { list-style-type:none; } .question { font-weight:bold; margin-bottom:8px; margin-top:8px; } .question a:link { text-decoration:none; padding-left:10px; font-weight:normal; } .question a:visited { color:#688250; } ul .answer { list-style-type:none; } .answer { display:none; margin-bottom:10px; margin-top:5px; } and here is my jQuery . . . $(function() { $('.question a').click(function() { $('.answer').toggle(); }); }); Any tips/advice as always would be appreciated Thanks James
-
The same error when validating on W3C
Hi FizixRichard. If the response isn't saying use a table then I've read it completely wrong and I apologise This was the reply... You can only submit to one form at a time so as you have created a new form in each column, only the one with the associated submit button will work. If you want to keep the format you need to do something like this: <form id="quote" method="post" action="contact1.php "> <table> <tr><td>Form field on left column</td><td>Form field in right column</td> <tr><td>Form field on left column</td><td>Form field in right column</td> <!-- And so on for all for table rows and form fields --> <tr><td>Leave blank??</td><td>Put submit button here</td></tr> </table> </form> James
-
The same error when validating on W3C
Damn them <tr> tags! I've been looking over and over that for the last 10 minutes, think I need a bigger screen, thanks Renaissance, much appreciated. Originally I hadn't used a table Renaissance, I designed and laid out the form using 2 columns and floating them side by side BUT when the form was being sent only the column with the submit button was sending. I went into php forum on here and asked the question and I was told to stick it into a table?? As I'm new to web design I'm taking what I'm being told on here as gospel...maybe I shouldn't. But thanks for your help, James
-
The same error when validating on W3C
Good afternoon all. Would anyone be able to give me some tips or advice on the following as I keep getting the same errors when validating on W3C..attached is a screen dump of part of the finished form. ERROR = Line 127, Column 4: document type does not allow element "tr" here ERROR = Line 131, Column 4: document type does not allow element "tr" here 122 <tr><td>Address</td></tr> 123 <tr> 124 <td class="input"> 125 <input type="text" name="house" class="detail" tabindex="2" /><div class="context">House name/no</div></td> 126 <td class="input"><input type="text" name="street" class="detail" tabindex="3" /><div class="context">Street</div></td> 127 <tr> 128 <td class="input"> 129 <input type="text" name="town" class="detail" tabindex="4" /><div class="context">Town</div></td> 130 <td class="input"><input type="text" name="city" class="detail" tabindex="5" /><div class="context">City</div></td> 131 <tr> 132 <td class="input"> 133 <input type="text" name="postcode" class="detail" tabindex="6" /><div class="context">Postcode <span class="required">*</span></div></td> 134 </tr> AND ERROR = Line 137, Column 4: document type does not allow element "tr" here ERROR = Line 138, Column 4: document type does not allow element "tr" here 137 <tr><td>Phone <span class="required">*</span></td></tr> 138 <tr> 139 <td class="input"><input type="text" name="phone" class="detail" tabindex="7" /></td></tr> And it goes on and on and on and on and well, you get the jist. Many thanks James
-
Re-direct on success and error
Thanks for the tips/advice spitfire
-
Re-direct on success and error
Hi all. I have my code below for a form I have. I was hoping for some advice/tips on how I would get the form on completion to re-direct to a success page and if there are errors to re-direct to an error page? <?php if(isset($_POST['submit'])) { if(trim($_POST['name']) == '') { $hasError = true; } else { $name = trim($_POST['name']); } if(trim($_POST['phone']) == '') { $hasError = true; } else { $phone = trim($_POST['phone']); } if(trim($_POST['email']) == '') { $hasError = true; } else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) { $hasError = true; } else { $email = trim($_POST['email']); } if(trim($_POST['message']) == '') { $hasError = true; } else { if(function_exists('stripslashes')) { $message = stripslashes(trim($_POST['message'])); } else { $message = trim($_POST['message']); } } if(!isset($hasError)) { $emailTo = ''; $body = "Name: $name \n\nEmail: $email \n\nPhone: $phone \n\nMessage:\n $message"; $headers = 'From: <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email; mail($emailTo, $subject, $body, $headers); $emailSent = true; } } ?> Even if someone could list a few links to sites that they know of where I could learn this then that would be just as great. Thanks James
-
Spreading over 2 columns
Yeah...I had a feeling that would be the case. Thanks for your help
-
Spreading over 2 columns
Morning all. So I thought I had it working yesterday but obviously not! Here's my situation. I have a contact form which is spread over two columns. So I thought as it is split I'll do the same with my php form. First question....is this correct? If so how would i reflect this in "action"? At the moment I have for the first column... <form id="quote" method="post" action="contact1.php " > and the second column... <form id="quote" method="post" action="contact2.php" > Problem is my submit button is in the second column so only the second part of the form is being submitted to an email address? Have I completely buggered this up? Am I going in the wrong direction? Can I get this to work? Or should i give up now and go get a STROOOONGGGG coffee? As always any tips/advice would be greatly appreciated. James
-
Only some data is being sent from my contact form
It's okay simplypixie, finally done it, thanks again
-
Only some data is being sent from my contact form
Hi simplypixie....I haven't tried what you said about dumping.....I'm really really new to php and i've sort of jumped into the deep end on this one. I'll post the html code below, there is quite a lot though, sorry in advance and thank you for the response, much appreciated. <div id="col1"> <h2 id="anchorposition">TITLE HERE</h2> <p>Complete the following form and we will get back to you very soon.</p> <div id="formContainer"> <div id="form"> <form id="quote" method="post" action="contact.php"> <!--NAME--> <div class="row"> <div class="label">Name <span class="required">*</span></div> <div class="input"> <input type="text" name="name" class="detail" /> </div> <!--end input--> </div> <!--end row--> <!--ADDRESS--> <div class="row"> <div class="label">Address</div> <div class="input"> <input type="text" name="house" class="detail" /><div class="context">House name/no</div> </div> <!--end input--> <div class="input"> <input type="text" name="street" class="detail" /><div class="context">Street</div> </div> <!--end input--> <div class="input"> <input type="text" name="town" class="detail" /><div class="context">Town</div> </div> <!--end input--> <div class="input"> <input type="text" name="city" class="detail" /><div class="context">City</div> </div> <!--end input--> <div class="input"> <input type="text" name="postcode" class="detail" /><div class="context">Postcode <span class="required">*</span></div> </div> <!--end input--> </div> <!--end row--> <!--PHONE---> <div class="row"> <div class="label">Phone No <span class="required">*</span></div> <div class="input"> <input type="text" name="phone" class="detail" /><div class="context"></div> </div> <!--end input--> </div> <!--end row--> <!--EMAIL--> <div class="row"> <div class="label">Email <span class="required">*</span></div> <div class="input"> <input type="text" name="email" class="detail" /> </div> <!--end input--> </div> <!--end row--> <!--EVENT--> <div class="row"> <div class="label">Occasion</div> <div class="input"> <select name="event" class="dropdown"> <option value="">Reason for hire</option> <option value="Prom">Prom</option> <option value="Wedding">Wedding</option> <option value="Birthday">Birthday</option> <option value="London Trip">London Trip</option> <option value="Concert">Concert</option> <option value="Airport">Airport</option> <option value="Night Out">Night Out</option> <option value="Theatre">Theatre</option> <option value="Anniversary">Anniversary</option> <option value="Hen/Stag Night">Hen/Stag Night</option> </select> </div> <!--end input--> </div> <!--end row--> <!--OTHER EVENT--> <div class="row"> <div class="label">Other Reason</div> <div class="input"> <input type="text" name="other" class="detail" /><div class="context">If none of the above reasons then provide here</div> </div> <!--end input--> </div> <!--end row--> <!--PASSENGER--> <div class="row"> <div class="label">No of Passengers</div> <div class="input"> <select name="passengers" class="dropdown"> <option value="">Select amount</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> </div> <!--end input--> </div> <!--end row--> <!--VEHICLE--> <div class="row"> <div class="label">Vehicle Required</div> <div class="input"> <select name="vehicle" class="dropdown"> <option value="">Select a vehicle</option> <option value="Millenium Town Car (White)">Millenium Town Car (White)</option> <option value="Millenium Town Car (Ice Blue)">Millenium Town Car (Ice Blue)</option> <option value="Chrysler">Chrysler</option> <option value="Bentley Continental GT">Bentley Continental GT</option> <option value="Bentley Arnage">Bentley Arnage</option> <option value="Bentley Flying Spur">Bentley Flying Spur</option> <option value="Rolls Royce Phantom">Rolls Royce Phantom</option> <option value="Aston Martin DB9">Aston Martin DB9</option> </select> </div> <!--end input--> </div> <!--end row--> <!--DATE REQUIRED--> <div class="row"> <div class="label">Date Required</div> <div class="input"> <select name="day" class="dropdown"> <option value="">Day</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="month" class="dropdown"> <option value="">Month</option> <option value="Jan">Jan</option> <option value="Feb">Feb</option> <option value="Mar">Mar</option> <option value="Apr">Apr</option> <option value="May">May</option> <option value="Jun">Jun</option> <option value="Jul">Jul</option> <option value="Aug">Aug</option> <option value="Sep">Sep</option> <option value="Oct">Oct</option> <option value="Nov">Nov</option> <option value="Oct">Sep</option> </select> <select name="year" class="dropdown"> <option value="">Year</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> </select> </div> <!--end input--> </div> <!--end row--> <p>Please make sure you complete all fields marked *</p> </form> </div> </div> </div> <!--end col1--> ------------------SECOND COLUMN BELOW-------------------- <div id="col2"> <div id="formContainer"> <div id="form"> <form id="quote" method="post" action="contact.php"> <!--FIRST PICK UP--> <div class="row"> <div class="label">First Pick Up Address</div> <div class="input"> <input type="text" name="house1" class="detail" /><div class="context">House name/no</div> </div> <!--end input--> <div class="input"> <input type="text" name="street1" class="detail" /><div class="context">Street</div> </div> <!--end input--> <div class="input"> <input type="text" name="town1" class="detail" /><div class="context">Town</div> </div> <!--end input--> <div class="input"> <input type="text" name="city1" class="detail" /><div class="context">City</div> </div> <!--end input--> <div class="input"> <input type="text" name="postcode1" class="detail" /><div class="context">Postcode <span class="required">*</span></div> </div> <!--end input--> </div> <!--end row--> <!--FIRST PICK UP TIME--> <div class="row"> <div class="label">First Pick Up Time</div> <div class="input"> <select name="hour" class="dropdown"> <option value="">Hour</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="00">00</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> </select> <select name="min" class="dropdown"> <option value="">Min</option> <option value="00">00</option> <option value="05">05</option> <option value="10">10</option> <option value="15">15</option> <option value="20">20</option> <option value="25">25</option> <option value="30">30</option> <option value="35">35</option> <option value="40">40</option> <option value="45">45</option> <option value="50">50</option> <option value="55">55</option> </select> </div> <!--end input--> </div> <!--end row--> <!--FINAL DESTINATION--> <div class="row"> <div class="label">Final Destination Address</div> <div class="input"> <input type="text" name="house2" class="detail" /><div class="context">House name/no</div> </div> <!--end input--> <div class="input"> <input type="text" name="street2" class="detail" /><div class="context">Street</div> </div> <!--end input--> <div class="input"> <input type="text" name="town2" class="detail" /><div class="context">Town</div> </div> <!--end input--> <div class="input"> <input type="text" name="city2" class="detail" /><div class="context">City</div> </div> <!--end input--> <div class="input"> <input type="text" name="postcode2" class="detail" /><div class="context">Postcode <span class="required">*</span></div> </div> <!--end input--> </div> <!--end row--> <!--RETURN PICK UP--> <div class="row"> <div class="label">Return Pick Up Required</div> <div class="input"> <select name="returnrequired" class="dropdown"> <option value="">Please select</option> <option value="yes">Yes</option> <option value="no">No</option> </select> </div> <!--end input--> </div> <!--end row--> <!--RETURN PICK UP TIME--> <div class="row"> <div class="label">Return Pick Up Time</div> <div class="input"> <select name="returnhour" class="dropdown"> <option value="">Hour</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="00">00</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> </select> <select name="returnmin" class="dropdown"> <option value="">Min</option> <option value="00">00</option> <option value="05">05</option> <option value="10">10</option> <option value="15">15</option> <option value="20">20</option> <option value="25">25</option> <option value="30">30</option> <option value="35">35</option> <option value="40">40</option> <option value="45">45</option> <option value="50">50</option> <option value="55">55</option> </select> </div> <!--end input--> </div> <!--end row--> <!--EXTRA INFO/SPECIAL ARRANGEMENT--> <div class="row"> <div class="label">Extra info/Special Arrangements</div> <div class="input"> <textarea name="message" class="textbox"></textarea> </div> <!--end input--> </div> <!--end row--> <!--WHERE DID YOU HEAR ABOUT U--> <div class="row"> <div class="label">Where Did You Hear About Us</div> <div class="input"> <select name="feedback" class="dropdown"> <option value="">Please select</option> <option value="Search Engine">Search engine</option> <option value="Spoke To Chauffer">Spoke to chauffer</option> <option value="Flyer">Flyer</option> <option value="Limo Directory">Limo directory</option> <option value="Newspaper Ad">Newspaper ad</option> <option value="Local Show">Local show</option> <option value="Word Of Mouth">Word of mouth</option> </select> </div> <!--end input--> </div> <!--end row--> <!--SUBMIT BUTTON--> <div class="submit"> <input type="submit" name="submit" class="submit" value="Submit" /> </div> </form> </div> </div> </div> <!--end col2-->
-
Only some data is being sent from my contact form
Hi all. Was after a bit of advice/tips/answers for the problem I've encountered. I have a contact form and when I click send only some of the information is sent to me and the rest of the fields are blank? Anyone have any idea as to why this is happening? Here is my PHP code I have...and I've labelled what is not being sent. Also, my html code is split over 2 columns and it seems as though none of the data in the first column is being sent, only the second...could this be the case? Or have I just ballsed up the php code below? Or both? lol <?PHP if(isset($_POST['submit'])) { $to = ""; $subject = "Quote Request"; $name_field = $_POST['name']; NOT SENDING $house_field = $_POST['house']; NOT SENDING $street_field = $_POST['street']; NOT SENDING $town_field = $_POST['town']; NOT SENDING $city_field = $_POST['city']; NOT SENDING $postcode_field = $_POST['postcode']; NOT SENDING $phone_field = $_POST['phone']; NOT SENDING $email_field = $_POST['email']; NOT SENDING $event_field = $_POST['event']; NOT SENDING $other_field = $_POST['other']; NOT SENDING $passengers_field = $_POST['passengers']; NOT SENDING $vehicle_field = $_POST['vehicle']; NOT SENDING $day_field = $_POST['day']; NOT SENDING $month_field = $_POST['month']; NOT SENDING $year_field = $_POST['year']; NOT SENDING $house1_field = $_POST['house1']; $street1_field = $_POST['street1']; $town1_field = $_POST['town1']; $city1_field = $_POST['city1']; $postcode1_field = $_POST['postcode1']; $hour_field = $_POST['hour']; $min_field = $_POST['min']; $house2_field = $_POST['house2']; $street2_field = $_POST['street2']; $town2_field = $_POST['town2']; $city2_field = $_POST['city2']; $postcode2_field = $_POST['postcode2']; $returnrequired_field = $_POST['returnrequired']; $returnhour_field = $_POST['returnhour']; $returnmin_field = $_POST['returnmin']; $message_field = $_POST['message']; $feedback_field = $_POST['feedback']; $body = "From: $name_field\n Address Line 1: $house_field\n Address Line 2: $street_field\n Town: $town_field\n City: $city_field\n Postcode: $postcode_field\n Phone: $phone_field\n Email: $email_field\n\n Reason For Hire: $event_field\n Other Event: $other_field\n No of Passengers: $passengers_field\n Type of Vehicle Required: $vehicle_field\n Date Required: $day_field $month_field $year_field\n First Pick Up Address: $house1_field\n $street1_field\n $town1_field\n $city1_field\n $postcode1_field\n First Pick Up Time: $hour_field $min_field\n Final Destination Address: $house2_field\n $street2_field\n $town2_field\n $city2_field\n $postcode2_field\n Return Pick Up Required: $returnrequired_field\n Return Pick Up Time: $returnhour_field $returnmin_field\n Extra Info/Special Arrangements: $message_field\n\n Where Did You Hear About us: $feedback_field\n"; echo "Data has been submitted to $to! Thank you, we will be in touch very soon"; mail($to, $subject, $body); } else { echo "blarg!"; } ?> Many thanks James
-
Tables...is that swearing?
Thanks for the tips guys
-
Tables...is that swearing?
Hi all. As a beginner and trying to learn as much as possible I've done a fair bit of reading a variety of stuff and I know that web designers/developers say to steer clear of tables, bad practise, etc, etc, etc. BUT.....when they say this do they mean for overal layouts? Reason I ask is because I'm trying to get to grips with producing a contact form and the fair few examples I've seen are produced using a table structure. So can and is it okay to use a table for a form or should I just steer clear of tables altogether? Any tips/advice will be greatly appreciated thanks James
-
W3C Validation
If you do have any Javascript that uses the rel attribute, for example to display a caption with a jQuery script, you would have to leave it in and just ignore the W3C validation message. That's exactly what I'm using it for, a caption for jQuery slider
-
W3C Validation
Hi all. Just been validating a few of my pages for a site that I'm working on and I have the same error on all my pages. I was just wondering if anyone had any tips or advice on resolving it? It's something to do with a jQuery slideshow I have on my site. Here's an example... <!--IMAGE 2--> <a href="limos.html#anchorposition"> <img src="images/slides/2.jpg" alt="Image 2" width="930" height="355" title="Fully loaded 12 seater Mercedes limo bus" rel="Fully loaded 12 seater Mercedes limo bus"/> </a> I've pasted the error below. Line 46, Column 115: there is no attribute "rel" …55" title="Luxurious 8 seater limousines" rel="Luxurious 8 seater limousines"/> ✉ You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. Many thanks James
-
Height fluidity on 2 floating columns
Thought it was too good to be true, nevermind.....thanks for the link Wickham, I'll follow Matthew James Taylor's approach...better to be safe than sorry. Thanks again James
-
Height fluidity on 2 floating columns
Crikey! Your not wrong Wickham. I've managed to solve the problem BUT.... somethings telling me it's not good practise to go the way I have. I got it from http://stackoverflow.com/questions/2331717/css-how-to-make-left-float-div-to-adjust-height-dynamically and it's using the CSS "display:table-cell;" ???
-
Height fluidity on 2 floating columns
Good afternoon and happy Friday people. I was wondering what the best way to sort out this little issue I have. Here is the HTML... <div id="main"> <div id="colWrap"> <div class="leftCol"> </div> <div class="rightCol"> </div> </div> </div> So I have 2 floating columns sitting inside a container #colWrap then that is sitting inside another container #main. I'm trying to get the 2 floating columns so there heights are always the same BUT at the same time for the height to adjust according to how much content is being placed inside them, if you get what I mean? So even if there is more content in the left than the right I still want them to have the same container height...so basically it doesn't look odd on the page. Any tips/advice would be greatly appreciated, thanks James
-
What is your approach?
Some interesting stuff, thanks for the responses. As I'm not in the profession...(but hopefully one day that will change) it's interesting to see professional and experienced people's approach to starting out a site.
-
Legal advice - photos
Thanks roothost
-
Legal advice - photos
Good afternoon all and happy Friday...13th? I am hoping someone will have the answer to this question... I have a gallery page on a car/limo hire site and I wanted to upload some pictures to it. Some of the pictures are of people that have used the company in the past, so question is...Can I? Or is there a some sort of law where I need to get the people's permission first? Any tips/advise would be much appreciated, thanks James
-
Is there a way?
Like I said any advice or tips are greatly appreciated so thanks very much Wickham, all noted down!