CyberSkull
CAGiversary!
I've noticed that CAG isn't using enough CSS in it's page layout.
Let's take a simple example of the platform icons. They don't specify the height or width which causes the layout engine of the browser to recalculate the page layout every time a new image is loaded. Adding a css class with associated dimensions will allow the page to be laid out before the image loads, speeding up page load time for the end user.
This is the current code for the NES icon used in the game listing table.
It should be changed to:
And in the site's stylesheet there should be an entry:
This is just one example of what can help the site. Ideally all reused images should have an associated class in the stylesheet, but that's not always possible/practical. Moving towards that is always a good thing though.

Let's take a simple example of the platform icons. They don't specify the height or width which causes the layout engine of the browser to recalculate the page layout every time a new image is loaded. Adding a css class with associated dimensions will allow the page to be laid out before the image loads, speeding up page load time for the end user.
This is the current code for the NES icon used in the game listing table.
HTML:
[IMG]http://www.cheapassgamer.com/forums/images/misc/gameicons/nes.gif[/IMG]
It should be changed to:
HTML:
[IMG]http://www.cheapassgamer.com/forums/images/misc/gameicons/nes.gif[/IMG]
And in the site's stylesheet there should be an entry:
Code:
img.platform {
height: 15px;
width: 15px;
border: 0;
}
This is just one example of what can help the site. Ideally all reused images should have an associated class in the stylesheet, but that's not always possible/practical. Moving towards that is always a good thing though.