Social Question

GIFTownP's avatar

Can somebody help me with my (X)HTML?

Asked by GIFTownP (59points) October 8th, 2009

It’s kind of a formatting / CSS issue, actually.
http://i33.tinypic.com/2cgo68i.png
i need someone to help me with the bug shown in the above picture, the HTML is below:
http://freetexthost.com/bsqlly3vgb

Observing members: 0 Composing members: 0

5 Answers

wenn's avatar

the problem is you are using tables. Tables make everything implode.

But to answer your question, seems to be some issue with your colspans.

honeslty though i would remake this with divs, so much cleaner, organized and easier to work with.

MrItty's avatar

In your second row, you have a lone
<td>
that has no content and no close tag. I’m willing to bet that’s the issue.

But I agree with @wenn – this is revolting HTML. I’m guessing it was generated for you by some program. Ditch that program and rewrite it yourself as <div>s.

jackm's avatar

The they mean by <div>s is CSS. Look into redesigning that form using css

Vincentt's avatar

Actually, you’ll want to use <form> and it’s elements, perhaps a <fieldset> and <legend> or even a <h1> somewhere. <div>‘s really are overused as you can just style those elements without wrapping them in another <div>.

adrianscott's avatar

I subscribe to Vincentt’s opinion. Typically if you’re using some other HTML elements in your design, there’s no need to add code-weight by wrapping everything in DIVs.

The idea is that you’ll have much cleaner code and it will actually load faster. My recommendation would be to utilize <label> tags for the “your name” and “your email” display, and regular <input> fields for the… input fields.

I would also recommend the use of CSS sprites rather than individual images in order to keep your page load down.

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther