
Useful scripting techniques
Feel free to take a look through techniques we use so often we thought it would be worth mentioning them. The articles assume you have a technical understanding of websites - they are not a tutorial in using the techniques rather an example of how to use them.
16/08/11 - First Link Priority
The rule of ‘first link priority,’ its importance, and whether it even exists is a hotly-discussed subject amongst web developers and those in the SEO field, with some calling it a theory, and others taking it very seriously indeed.There isn't...
28/09/10 - Find lowest common denominator
if(($i+1) % 2 == 0) $odd = " class='odd'";18/09/10 - Round Corners
As most browsers have adopted the border-radius property (bar Internet Explorer) AFX have started using the CSS set attribute.Example:
.round { -moz-border-radius: 5px; -webkit-border-radius: 5px; }
.round-bottom { -moz-border-bottom-left-radius:...
18/09/10 - Styling a CSS Button
To display a HTML button without any kind of styling is risky to say the least. Browsers render buttons differently and they certainly do not care if their button fits within your intended site look and feel.When styling buttons it is important to remember...
18/09/10 - Pseudo White Border on Buttons
As usual Internet Explorer rocks again by adding a 1px border inside styled buttons with a background image. This obviously looks odd!Fix:
The 1px border is a slither of the elements background colour showing through. Set the background colour to the...
18/09/10 - IE6 PNG Transparency
I am sure everyone knows by now that IE6 does not natively support PNG transparency.Check out Drew Dillers Belated PNG to help resolve this issue.
Quirks:
Linking...
28/02/11 - HTACCESS 301 redirect
Use the following example to re-direct site aliases using 301 redirects.Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.independentsurveys.co.uk [NC]
RewriteRule ^(.*)$ http://www.metcalfebriggs.co.uk/$1 [L,R=301]
| ||
| ||


