Posts filed under My PHP / MySQL Life

WPTouch and Webcomic Working Together

I happen to be a user of both WPTouch (a plugin that makes my blog mobile friendly) and Webcomic (a plugin and theme that allows you to organize comic series). The problem lies in that webcomic uses a custom post type for displaying the images associated with each comic and WPTouch has no idea how to display a webcomic. Thus,

Better CSS Part 4: Naming Conventions

When you are giving names to your ids and classes use names that are appropriate and clear. If you had a class just called “wrapper” and someone else was looking at your CSS they would have no idea what it is used for or where it’s in use. Give it a more descriptive name like “wrapper_header” or “wrapper_image”. I also

Better CSS Part 3: ids vs. classes

This is a touchy subject. Whether you should use the id attribute or the class attribute in your HTML to style things with CSS. One thing is certain, XHTML standards say that ids must be unique. If you have multiple ids that are the same, then you need to refer to them with classes instead. With that out of the

JQTouch DynamicHeight Extension

This is an extension for JQTouch (a framework built on top of JQuery) that allows you to build mobile optimized websites. This extension arose out of the need to have a dynamic min-height setting rather than relying on the static min-height settings in the jqtouch.css file. This allows for greater cross-browser compatability when aligning items to the bottom of a