One of the most commonly asked questions I get about CSS is
how to center things. It was really easy when we just used the
deprecated <center> tag. But trying to do it with CSS can sometimes be very frustrating. That's because CSS treats
block-level elements differently from
inline elements (except
<img />, which is a
block-level tag, but it centers like an inline tag). In my
centering with CSS article, I teach you how to center anything on your page. I even show you how to center things vertically. And if that's not enough, you can learn how to
center a document with a fixed width layout and
center a document with a liquid layout.
Being a web designer is like any other creative pursuit. Every so often you'll need to
recharge the creative batteries. I enjoy
brainstorming to help me get unblocked, but I also will get inspiration from nature, my friends, and even books I'm reading. Of course, looking at other websites can be inspiring as well. Some About.com readers have
shared their inspirations and you can too. What inspires your web design work?
Get the site you're working on featured on About.com: What's in Your Editor?
More Web design resources and help: Follow me on Twitter or Become a Fan on Facebook
One of the things I like best about
XML is how you can use it for so many different things. But when I first started using it, I would create one XML document and then when I needed another with similar content (but different
XML elements) I would just write a new XML document. When I finally figured out about
XSLT I was ecstatic. XSLT lets you take a set of data in an XML document and convert it into another XML document. I have used it for converting articles from a
CMS into HTML (
XHTML, actually) and for converting an
RSS feed into a website. And Darla has a multi-page
XSLT Tutorial where you'll learn the basics of XSLT, how to
set up an XSLT output stream, how to
use the value-of element, and much more. You'll be impressed with how useful XSLT is!