Christina Sng dot com

Thrilling Web Adventures of a Retired Tech Guru

About

Christina Sng retired after a long and illustrious career as a web developer, information architect, site producer, and usability consultant. Retirement, however, is boring! Join her here on her continuing adventures on the web.

Archive for the 'Alignment' Category

Align it Right in Wordpress

Monday, May 26th, 2008

When fixing your alignment from the left, don’t forget to specify an equal white space distance from the right too.
As you’ve probably noticed, I have added Twitter updates on the top right hand box there to humanise the blog a little. ->
The default setting in Stylesheet flushed it right against the margin which is [...]

Read the rest of this entry »

Fixing Alignment on Wordpress

Saturday, May 10th, 2008

I confess it has been a long time since I have had to edit someone else’s code. Admittedly these days it is easier to build a site with customisable templates (themes, here on Wordpress) but it takes time to understand what another developer has written and immerse your vision into their code.
If it is straightforward [...]

Read the rest of this entry »

In Wordpress, you’ll need to find an alternative to the usual hspace and vspace tags.
Here’s a great suggestion from the Wordpress Codex. In the stylesheet, paste this:

img.left { padding: 4px; margin: 0 7px 2px 0; display: inline; }

And in your markup code in whichever file you’re editing, e.g. About, in my case, code it like [...]

Read the rest of this entry »