The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

added HTML page ... help with HTML 'version' please

3 posters

Go down

Solved added HTML page ... help with HTML 'version' please

Post by DBCrazy October 6th 2009, 3:36 pm

I'm making some HTML pages for our site and I'm running into a problem with some HTML works and some doesn't. I'm making a table which isn't a problem, but some things just don't want to work.

Example below ...

Code:
<table border="1" cellpadding="10">
<tr>
<td align="left">Col 1</td><td>Col 2</td><td>Col 3</td>
</tr>
</table>

Simple, but of the few things I've done so far, cellpadding or align haven't worked. This is stuff right off of w3schools. Is there a version of html somewhere that I can change or update, or even somewhere to find out what works and what doesn't would help.

Thanks.
DBCrazy
DBCrazy
New Member

Female Posts : 14
Reputation : 0
Language : English

http://nbth.forumotion.com/

Back to top Go down

Solved Re: added HTML page ... help with HTML 'version' please

Post by Rok October 7th 2009, 2:26 am

It appears that you're doing everything pretty much right. You're ending the tags correctly. Here, try this (I'm making a table for my forum right now at this moment anyway, lol) :
Code:
<table border="0" cellpadding="3" cellspacing="5" width="100%">
<tr><td>BLA TITLE1</td> <td>BLA TITLE2</td> <td>BLA TITLE3</td> <td>BLA TITLE4</td></tr>
<tr><td>BLA 1</td> <td>BLA 2</td> <td>BLA 3</td> <td>BLA 4</td></tr>
</table>
That will support both your cell padding and spacing at a perfect setting. You can continue on the table so forth and so on.
Hope that helps. Wink
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: added HTML page ... help with HTML 'version' please

Post by DBCrazy October 7th 2009, 8:51 am

Rok, thank you very much. That gave me the space that I wanted in the table, but just so you know, the cellpadding and cellspacing had next to nothing to do with it. The width is the part that did it. But that's the kind of help that I needed.

Thank you!
DBCrazy
DBCrazy
DBCrazy
New Member

Female Posts : 14
Reputation : 0
Language : English

http://nbth.forumotion.com/

Back to top Go down

Solved Re: added HTML page ... help with HTML 'version' please

Post by Rok October 8th 2009, 2:20 am

Haha, it's no problem. Smile
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: added HTML page ... help with HTML 'version' please

Post by ankillien October 8th 2009, 3:56 am

Solved > Locked
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum