The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

However...

Hi John Colby.

Thanks for that. It does validate. However, My text boxes are out of line with each other. Is there anyway I could fix this. For example adding spaces within a line without the <pre> element as XHTML 1.1 doesn't like this.

your last comment "Tables are designed for ease of viewing and presenting data" is a bit too general, though, because it could be used to rationalize/justify presenting the typical web site 2- or 3-column layout in a table, and clearly, that's not tabular data, even though it's data, and even though the web d3zign3rs might claim that a 2- or 3-column layout enhances "ease of viewing" (which in my mind it clearly does not)

I will not use tables only for layout - therefore a bit of a CSS purist.

Originally Posted by r937

your last comment "Tables are designed for ease of viewing and presenting data" is a bit too general, though, because it could be used to rationalize/justify presenting the typical web site 2- or 3-column layout in a table, and clearly, that's not tabular data, even though it's data, and even though the web d3zign3rs might claim that a 2- or 3-column layout enhances "ease of viewing" (which in my mind it clearly does not)

rudy

Yes agree with your qualifcations - phraseology at this time of night after imbibation of festive spirit is not too exact

JohnNo electrons were harmed during the creation, transmission
or reading of this posting. However, many were excited and
some may have enjoyed the experience.

Got there in the End...

Hi there John Colby & r937.

Thanks for your help. I had a look at the links you both posted. I decided to place the title of each text field above their respective text boxes as opposed to the left of them. I then put each title and textbox into a seperate <p class="#"> and give it a margin-left of 70px. I then simply used a <br /> to have a title and textbox on seperate lines. Phew...it validates nicely.

Thanks for your help. I managed to avoid using tab... ta.. t.. I can't bring myself to say the word. That tabular data thingy. You know the one I mean.

One last thing.

Sorry Folks.

One last thing. How do you get images to align to the center when inside a div which has its text-align: left; ...and get it validated?

I tried using <h3> <img...> </h3> . It worked but didn't validate. I also tried a <p class="#"> and a <span class="#">. None of these validated to XHTML 1.1 either. What am I doing wrong here? I just don't understand it. Here's what I get:

I'm gonna have a few pages with a few centred images on them so I was initially compelled to use a div class. That didn't validate. I then attempted an div id. The 2 methods centred the image okay but didn't validate. Here's the deal:

I decided to go with the form layout on the link Rudy recommended. However, I don't think I used the same code. I feel a touch of <br itis /> coming on. Getting rid of <br/> tags will be a Sunday job over the holiday sometime. I'll cross that <bridge /> when I come to it. No more jokes. Honest!!!

It works...It works... It works...

Hey Rudy.

Pure genuis. It works. It validates. Hell it even made me smile too. However, I think you're absolutely correct about thoses pesky <br /> tags being kept to a minimum. As you'll be aware from looking at my code, that page was absolutely riddled with them. You learn something new every day I guess.

<edit> just noticed your last post. I now intend spending a day next week implementing your margin suggestion. Cheers. </edit>

Thank you ever so much. I really appreciate your help with what I can only say was the final showdown in terms of me getting my site finished. It only leaves me now to wish you a Wonderful Merry Christmas and a Happy New Year and to also extend my Best Wishes to anyone reading this.