Indenting Text

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I've just started my new job working on this huge website and I'm wondering what would be the best way to indent text.

On the following pages (as an example), I would like to indent the text under the headers:

http://www.housing.uwaterloo.ca/residence_life/academic.html (the secons with the Tutoring sessions - Math:, Science:, Engineering:)
http://www.housing.uwaterloo.ca/fees/contracts.html (the sections with "Contracts Available" and "Terms and conditions")

There is no real structural reason for doing this, it's mainly to visually segment the content so the user can see what goes were. Obviously, a CSS class is needed. The two issues I am trying to figure out are a) what it should be called and b) what it should be applied to. isn't exactly semantic Smiling It should also be applied to the block of content, not the individual items, but I'm not sure that wrapping them in a div is the best solution.

(I know there are a lot of mark-up and consistincy issues to fix on these pages. Lots of work to be done).

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

My way of doing it would have been

, is that not longer valid HTML?

-Greg

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I think

is really meant for quotes. These are not quotes... I'll try to look up the spec on that so we know for sure.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Here we are:

http://www.w3.org/TR/2005/WD-WCAG20-HTML-TECHS-20050630/#blockquote

See s. 5.8 on misuse of blockquote Smiling

He has: 490 posts

Joined: May 2005

Who cares what blockquote is for. It keeps text from spreading all over the page, and it validates. I'm like Hunter, "it works for me" as long as this is true; I don't worry about the correct crowd. Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.