Using tables

A

aslindy

I have been updating my church's web site. One page was designed with the
text in a table, with each paragraph (in the more indented part) in a
separate cell - http://www.goodshepherdmidland.org/what_we_believe.htm
Other pages just have the text in a single table cell, with multiple
paragraphs - http://www.goodshepherdmidland.org/announcements.htm

Is there a reason the first example should be used? Why should each
paragraph be in a separate cell? It just seems to make more code.

Plus, for indenting in all the cells on the 'what we believe' page, they
just used a bunch of spaces, which I don't think is a good idea. If I were
going to change the page, I would not have the indent at the beginning of
the paragraph, I would just add an additional line space between paragraphs.
I can't even see a good way to have an indent at the beginning of the
paragraph... just the spaces.

Thanks for any comments/suggestions.

Amy
 
D

Dan L

Instead of using the space bar, indents can be done more graciously with
inline CSS, such as <p style="margin-left: 10px;">. Don't know why the
original author used the "one paragraph per table cell" approach.
 
A

aslindy

So, at the beginning of each paragraph, right before the text, I would just
put <p style="margin-left: 10px;"> to make an indent?
Just making sure I understand what you mean.
Amy
 
D

Dan L

That's correct. Of course you'll want to change the 10px to whatever you
want to suit your needs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top