<br> how many is too many?

greg's picture

He has: 1,581 posts

Joined: Nov 2005

I have a terms and conditions page on a site, which has about 800 words and therefore a lot of spacing to make it look nice.

Trouble is I have 50 to make the nice spacing everywhere
is this ok?
Or should I be using a css p class
which will take longer typing out all those p class="" for the single breaks, double breaks and treble breaks

any other method for spacing text on a page?

He has: 698 posts

Joined: Jul 2005

Possibly if you provided a piece of code it would be easier to see what you mean, but on most terms and conditions pages I have seen, there are headers, subheaders, and then text, which could translate to something like , , and tags which could be styled in three different ways in CSS.

Maybe your page is coded in a different way.

Kurtis

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

It sounds like these should be paragraphs not line breaks. I think line breaks should only be used as a last resort, when you just need a line break and there is no other semantic mark-up that would work better.

I don't see why you would need a class on these paragraphs. Use your CSS to style all paragraphs the same. If there are other paragraphs on the page, wrap your terms and conditions in a div, give it an ID, and style all the paragraphs inside that id.

Once you've got your paragraphs in, you can use margins, padding, and line-height in your CSS to space them nicely.

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.