-
CSS Books
Hi I hope I am in the right place... I have recently learnt HTML and CSS to a fairly good level. I am far beyond the beginner level but I am looking to move up to expert level. I was wondering if anyone can recommend any good books on this. I have read Dan Cederholms "bulletproof" books which are very good and they focus on fluid layouts and making sure things still work in different circumstances. I have a book looking at HTML5 as well. What I really need is some superb reference books or a book that shows you how they got to a certain look using CSS. Thanks
-
PHP form help
The form works from the users side but the information that should go to my email is blank. Please help HTML <form method="post" action="inforequest.php"> <input type="hidden" name="_subject" value="Cullins Membership Enquiry" /> <input type="hidden" name="_redirect" value="thankyou.html" /> <input type="hidden" name="_do" value="send" /> <label for="name">Full Name<label><br /> <input type="text" value="" id="name" name="Name"><br /> <label for="email">Email Address</label><br /> <input type="text" value="" id="email" name="Email"/><br> <label for="postal">Postal Address</label><br /> <textarea id="postal" name="Postal" style="height: 100px; width: 200px;"></textarea><br><br> <input type="submit" value="Sign Up"> </form> INFOREQUEST.PHP <?php session_start(); // Redirect to specified page (<input type="hidden" name="redirect" value="thankyou.html"/>) header( 'Location: ' . $_POST['_redirect'] ); // To Address. Don't try making a form variable out of this, otherwise people will use // this mailer to send email on their behalf $to = 'richard_gleeson365@hotmail.com'; // From Address $from = $_POST["Email"]; // Subject taken from form (<input type="hidden" name="subject" value="Some Subject from the Email"/>) $subject = htmlentities(preg_replace('/(\r|\n).*/','',$HTTP_POST_VARS['_subject'])); // build a nice table for the message from form variables $message = '<style type="text/css">table,tr,td,pre {font-family:Arial;font-size:10pt;margin:0px;padding:1px 2px 1px 2px;} </style>' . "\r\n"; $message .= '<table border="0" cellspacing="0" cellpadding="2">' . "\r\n"; $i = 0; while(list($k,$v)=each($HTTP_POST_VARS)){ //echo($k.'='.$v.'<br />'); // ignore our variables if($k[0]=='_') continue; $rowcolor = (0==($i++ % 2))?'#e0e0e0':'#ffffe0'; $message .= '<tr style="background-color:' . $rowcolor . '"><td style="border-right:1px solid black;"><b>' . htmlentities($k) . '</b></td><td><pre>' . htmlentities($v) . '</pre></td></tr>' . "\r\n"; } $message .= '</table>' . "\r\n"; // Add from address $headers = 'FROM: ' . $from . "\r\n"; // Send html email $headers .= 'Content-Type: text/html'; // send the mail mail($to, $subject, $message, $headers); ?>
-
CSS problem
thank you that solves it can you explain what i did wrong. why was the overflow causing the problem?
-
CSS problem
correct, ive just worked out that its fine in IE the problem is in firefox. any ideas?
-
CSS problem
thanks really appreciate the help!
-
CSS problem
i get the error when im on the index page. if i try clicking on the bottom 2 buttons it wont go to the page but instead displays the index page as the above attached image.
-
CSS problem
-
CSS problem
Hi I have attached the html and css. On the index page the 6 boxes link to specific pages containing galleries (unfinished) The top 4 boxes go to their respective pages ok, but the bottom 2 contain errors. Can anybody tell me why and correct it? There may also be other css errors? note,i have not included the images in the download hence the grey background. thanks! website.zip
-
Foldering websites properly
This isnt the normal question of how to put folders together inside a main folder (e.g CSS folder, Images folder, assets folder etc...) What i want to know is how people organise their websites within windows (if using pc)? do you put all websites together in a websites folder, or do you organise everything within client folders?
-
ie float problem
brilliant thank you
-
ie float problem
thanks mate is that the doctype i should always be using?
-
ie float problem
ok they didnt seem to work. Attached is CSS and HTML. This is my first website, so if anybody could help me out it would be appreciated. There may be some tips on my code you could help me with as well? thanks! index.html styles.css
-
ie float problem
thanks, but this didnt solve the problem.its still floating beneath the gallery in IE.
-
ie float problem
As you can see from the attached example i am having a problem with the css in IE. It is fine in firefox but annoying me in IE. Can anybody help? current css code - (#main is nested inside #container, with #portfolio and #info nested within #main) #wrapper { background-color: #ffffff; background-repeat: repeat-y; margin: 0 auto; width: 760px; text-align: left; } #container { width: 760px; } #main { width: 760px; } #portfolio-home { width: 445px; float: left; overflow: auto; margin: 0px; } #info { float: left; width: 275px; overflow: auto; color: #666666; padding: 0 0 0 40px; margin-bottom: 40px; }
-
getting my site onto the web
Hi ive spent alot of time designing my first website. At the moment it is all located on my desktop. What is the process I have to go through to get it on the web? Can someone list the process or post a link to a site which will show me. Also, this website will occasionally need to be edited (text and files that can be downloaded from it) Thanks!