Trenton Moss
This article was written by Trenton Moss. Trenton's crazy about web accessibility and usability - so crazy that he went and started his own web accessibility and usability consultancy to help make the Internet a better place for everyone.
Latest articles
-
Ten CSS Tricks You May Not Know
by Trenton MossSome great tips and tricks using CSS - from applying more than one CSS class to an element, specifying a different style sheet to be used for printing, image replacement techniques and more.
-
CSS Positioning Within a Container
by Trenton MossOne of the best things about CSS is that you can position an object absolutely anywhere you want in the document. It's also possible (and often desirable) to position objects within a container. It's simple to do too.
-
Centre Aligning a Block Element
by Trenton MossLearn how to have a fixed width layout website, and the content floated in the middle of the screen, with pre IE 6 compatability.
-
Image replacement technique
by Trenton MossIt's always advisable to use regular HTML markup to display text, as opposed to an image. Doing so allows for a faster download speed and has accessibility benefits. However, if you've absolutely got your heart set on using a certain font and your site visitors are unlikely to have that font on their computers, then really you've got no choice but to use an image.
-
CSS and round corners: Boxes with curves
by Trenton MossOne of the main reasons for having to use images on any web page is to create curves and round corners. It's currently impossible to create any kind of curved shapes using just HTML, so images need to be used. Putting these images into the HTML document with a table layout can create a large amount of superfluous code. Using the power of CSS we'll create the following box with round corners, without an <img> tag in sight.
-
CSS font shorthand rule
by Trenton MossLearn how to shorten those CSS font rules.