Monthly Archives: February 2011
Browser Sizes and Buttons
- February 8, 2011
- / Posted in CSS, HTML
- / By James
- / No Comments.
A few handy external links… BROWSER SIZES http://browize.com http://ipadpeek.com http://resizemybrowser.com BUTTONS http://www.catswhocode.com/blog/top-10-css3-buttons-tutorials http://webdesignledger.com/tutorials/12-excellent-css3-button-and-menu-techniques http://www.performable.com/buttons/ http://css-tricks.com/css3-button-maker/
The new selectors
- February 8, 2011
- / Posted in CSS
- / By James
- / No Comments.
If you have ever worked with CSS before, you would already know the basic selectors that are available. But there are many more that you may not be aware of as yet. Here are a few that may spike your interest. An ADJACENT SELECTOR [php]ul + p { color: #cccccc; }[/php] This will only apply [...]
Read more@import or link – which to use for your CSS
- February 7, 2011
- / Posted in CSS
- / By James
- / No Comments.
Most times when I have created a design, I use the standard format for calling my CSS file, namely [php]<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />[/php] This is placed in my header file before the head tag and it works every single time. However, like me, you have probably seen the @import call [...]
Read moreFlash – it keeps getting in my way!
- February 7, 2011
- / Posted in HTML
- / By James
- / No Comments.
Ever had the problem where you have a Flash element on your site and for some reason it hides your other elements on the page? Not sure? Well, here is an example. I had a drop down menu that was sitting just above a simple rotating image highlight [driven by Flash]. The trouble was, every [...]
A few quick CSS/HTML facts
- February 7, 2011
- / Posted in CSS, HTML
- / By James
- / No Comments.
Most of you will know these, but just in case, they are handy all the same… To shorthand your padding and margins, instead of using: [php]margin-top: 10px; margin-right: 4px; margin-bottom: 20px; margin-left: 16px;[/php] just do the following: [php]margin: 10px 4px 20px 16px;[/php] As you can see, the properties are clockwise. ———————————————– And in your use [...]
Read morePost Revisions and Autosave
- February 7, 2011
- / Posted in WP Ideas
- / By James
- / No Comments.
I am not sure of the exact version number as to when the post revisions and autosave feature was applied to WordPress, but it was some time ago now. I have to say from the outset, that it is not one of my favourite features as it seems to get in the way more than [...]
Read moreUser contact info – modify
- February 7, 2011
- / Posted in WP Ideas
- / By James
- / No Comments.
For as long as I can remember, WordPress has had three social links included within the user profile section. These are ‘Aim’, ‘Yim’ and ‘Jabber’. Now, I am not saying these are not useful, but to be honest, in all my work with WordPress over the years – dealing with literally thousands of clients – [...]
Read moreHow to add default content to your posts
- February 6, 2011
- / Posted in WP Ideas
- / By James
- / No Comments.
If you have a need to add the same content to the end of every post, say for something such as letting visitors know of a new project etc, then this piece of code is for you. Add the following to the functions.php file and change the text to suit your needs. [php]add_filter( ‘default_content’, ‘my_editor_content’ [...]
Ellipses
- February 6, 2011
- / Posted in WP Ideas
- / By James
- / No Comments.
Sometimes, the excerpt function just does not cut it and you might think to yourself, I wish I could replace those [...] three dots with something more useful. Well, worry no more… Just add this code to your functions.php and change the ellipses to whatever you wish. [php] function trim_excerpt($text) { return rtrim($text,’[...]‘); } add_filter(‘get_the_excerpt’, [...]
Read moreSubscribe
Latest Blog Articles
- CSS Resources -17-
- Miscellaneous Resources -3-
- Javascript/jQquery Resources -3-
- WordPress Resources -5-
- HTML5 Resources -3-
- CSS Resources -16-
- CSS Resources -15-
- CSS Resources -14-
- CSS Resources -13-
- Miscellaneous Resources -2-
Blog Categories
Recent Comments
Web Hosting and Design with Support - now there's a novel idea!

