Dynamic Designs Blog

— 10 Reasons Why Firefox Is Better Than IE

Posted September 17th 2009 by Aaron in BrowsersComments (0)

01. It’s faster
02. It doesn’t allow sloppy HTML
03. It can handle rounded corners
04. The tabs actually work
05. It forced IE to up its game; clear fonts, tabs etc.
06. It has a download manager by default
07. Add-ons are widely available
08. It has a better password manager
09. Web pages display better
10. It’s not made by Microsoft

— If Homepage Statement

Posted September 16th 2009 by Aaron in PHPComments (0)

In PHP you can use an If Statement to display something on your homepage but something different on the rest of your pages. The search box on Dynamic Designs is only displayed only on the homepage but not elsewhere on the site. Below is the code used to do this:

<?php
$uri = $_SERVER['REQUEST_URI'];
if ($uri == "/") {
echo "This is the homepage";
} else {
echo "This is not the homepage";
}
?>

You can change the echos to a line of code or replace them with a PHP include.

— HTML If Conditions & Statements

Posted September 16th 2009 by Aaron in HTMLComments (0)

Like Java and other programming languages, HTML also has its own set of If Conditions and Statements. They’re really simple to use and are useful if you want to have a page look the best it can in different browsers.

For example, Internet Explorer 6 and below can’t handle transparent PNG images but Internet Explorer 7 and above can, so you may want to remove the transparent PNG in Internet Explorer 6 and below.

To do this, you can use the following If Statements:

<!--[if gt IE 7]>
<TABLE style="background: url(images/gradient.png);" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<![endif]-->

This code is read as it’s written. It means if the browser you’re using is greater than Internet Explorer 7, use the PNG image background. Internet Explorer 6 and below will not use the PNG background. Read the rest of this entry »

— Portfolio Update & New Annie Layout

Posted September 15th 2009 by Aaron in PortfolioComments (0)

I’ve updated my Portfolio to include all the recent layouts I’ve made. You can check them out by clicking here. I’ve also added a new layout to Anniemaniac which you can view by clicking on the picture below:

— Dynamic Designs Version 3

Posted September 15th 2009 by Aaron in Dynamic DesignsComments (0)

I’ve finally had time to update the site. I’ve added a new layout as you can see. The blog is now part of the main page and will be updated a lot more often.

Orders are currently closed until I get my PayPal account sorted out.

I’ve also added a comments feature so you can leave comments on each post.

Page 3 of 512345