Friday, 29 October 2010
Monday, 25 October 2010
How To Vertically Center A Site
http://webdesignpond.co.uk/wdp/tips-tutorials/how-to-vertically-center-a-site/
Next comes the part of code that will center the site:
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
This works by setting the height of the vertical div to 50% minus half the size of the wrappers height, by floating this to the left and then using the clear:left; within the wrapper, the wrapper div is then pushed down underneath the vertical div, causing it to be vertically centered.
Step Two – The HTML
|
| |
|
| |
|
| |
|
| |
There you have it a vertically centered site.
Friday, 22 October 2010
how to send html emails using PHP
$body = <<<EOF
<html><body>
<table width="100%" border="1" cellspacing="1" cellpadding="1">
<tr>
<th width="32%" scope="col">Q</th>
<th width="68%" scope="col">A</th>
</tr>
EOF;
$cont = "Content-Type: text/html; charset=ISO-8859-1\r\n";
if (mail($to, $subject, $body, $cont)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
Free HTML form downloads
Find a template or design you like. Download the XHTML/CSS files for your workflow OR Add it to your Wufoo account to customize and use it to collect data right away
Wednesday, 20 October 2010
Tuesday, 19 October 2010
how to make 301 redirects
How to create 301 redirects, good practise when renaming website pages
http://www.webconfs.com/how-to-redirect-a-webpage.php
PHP Redirect
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>
free Captcha
Free captcha script downloads, captcha tutorials and information.
Add captcha to your website by yourself in less than 20 minutes
and no php nor HTML knowledge needed.
Monday, 18 October 2010
Welcome to my blog
and articles related to web design so that i can find them again
later. Its also a way of adding articles to my iphone for reading on
the go via the RSS reader
feel free to subscribe & comment on my posts