Viewing topic:HTML: General FAQ
Page: 1
Topic post 12-09-2007 - 14:29
In the HTML forum we expect you to follow a few rules.

Opening a new topic
When you open a new topic make sure the topic doesn't already exist. You can use the search function to search if a simular topic already exist. Of course we won't delete your topic, but be sure to search bofore you post.

Make a topic title clean and easy to understand. So open a topic with the subject in the title. E.g. "Website problem" would be wrong, "Table doesn't seem to close?" would be right.

Only speak in English, your native language is not allowed, and it will be deleted without any second thoughts. Little words of course won't be a problem.

Stick to HTML, don't post a problem which is not connected to HTML by any means. Shared problems, E.g. HTML and CSS, HTMLand JavaScript are preffered to be placed in the subforum of the second subject.

Reply in the topic
Mainly the same as when opening a new topic, stick to the subject and post in English.

Please keep your solution or comment as simple as posible, don't use difficult English for most of us are not native English speakers. As for the problem solution iself, explain it throughly with and example if posible.

FAQ content
- Table FAQ
Topic post 12-09-2007 - 20:34
Tables
Syntax:
code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<table width="200" height="200" border="1">
   <tr>
      <td> 
          First col
      </td>
      <td>
          Second col
      </td>
   </tr>
   <tr>
      <td colspan="2">
         Cell that takes the size of two columns
      </td>
   </tr>
</table>
 


My table is ending a very weird way?
A very common problem is that tables don't seem to end, or just behave very weird. The first thing you should check if you don't got a <table> or </table> to much, or to less. Especially in highly complicated table-based websites this can often cause huge problems.
(Thats why i also recommend using tabs (or 3 spaces) to indicate a new cell, or now row. E.g. The example ebove)

How can i remove the border? (line)
Set the <table> atribite "border" to zero. E.g. The example above.

My table cells have some space (margins / padding) on the sides.
These are called margins, spacings and padding. You can use the cellpadding, and cellspacing atributes for <table> and set it to zero. (or the amount of space in pixels)


This FAQ will be filled with more subjects soon.

©Copyrights Combined Minds. All rights reserved 2006 - 2008 : Disclaimer
Realized by www.Minna-Media.com