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.

html tables

3 posters

Go down

Solved html tables

Post by jiannos March 24th 2010, 12:11 pm

I played around with the code, but didnt manage to get the desired outcome.
If someone's good in HTML and willing to help me i would please him to give me the code so as to have something like this...
html tables Untitl11


Last edited by jiannos on March 27th 2010, 9:12 am; edited 1 time in total
avatar
jiannos
Forumember

Male Posts : 141
Reputation : 0
Language : Greek,German,English
Location : Where the party is B)

http://greekduelists.darkbb.com

Back to top Go down

Solved Re: html tables

Post by Sanket March 24th 2010, 3:57 pm

Can you post your original code?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: html tables

Post by jiannos March 24th 2010, 4:00 pm

Code:
<table width="100%" border="1" cellspacing="5" cellpadding="5">
  <tr>
    <td width="31">&nbsp;</td>
    <td width="284">&nbsp;</td>
    <td width="31">&nbsp;</td>
    <td width="279">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
avatar
jiannos
Forumember

Male Posts : 141
Reputation : 0
Language : Greek,German,English
Location : Where the party is B)

http://greekduelists.darkbb.com

Back to top Go down

Solved Re: html tables

Post by Sanket March 24th 2010, 4:17 pm

Code:
<table border="1"  width="100%">
  <tr><!-- Row 1 -->
    <td colspan="2">Board 1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>Top Posters</td><!-- Col 3 -->
    <td>Posts</td><!-- Col 4 -->
    <td>Credits</td><!-- Col 5 -->
    <td>team Records</td><!-- Col 6 -->
    <td>Wins</td><!-- Col 7 -->
    <td>Losses</td><!-- Col 8 -->
  </tr>
  <tr><!-- Row 2 -->
    <td>1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>3</td><!-- Col 3 -->
    <td>4</td><!-- Col 4 -->
    <td>5</td><!-- Col 5 -->
    <td>6</td><!-- Col 6 -->
    <td>7</td><!-- Col 7 -->
    <td>8</td><!-- Col 8 -->
    <td>9</td><!-- Col 9 -->
  </tr>
  <tr><!-- Row 3 -->
    <td>1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>3</td><!-- Col 3 -->
    <td>4</td><!-- Col 4 -->
    <td>5</td><!-- Col 5 -->
    <td>6</td><!-- Col 6 -->
    <td>7</td><!-- Col 7 -->
    <td>8</td><!-- Col 8 -->
     <td>9</td><!-- Col 9 -->
  </tr>
  <tr><!-- Row 4 -->
    <td>1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>3</td><!-- Col 3 -->
    <td>4</td><!-- Col 4 -->
    <td>5</td><!-- Col 5 -->
    <td>6</td><!-- Col 6 -->
    <td>7</td><!-- Col 7 -->
    <td>8</td><!-- Col 8 -->
     <td>9</td><!-- Col 9 -->
  </tr>
  <tr><!-- Row 5 -->
    <td>1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>3</td><!-- Col 3 -->
    <td>4</td><!-- Col 4 -->
    <td>5</td><!-- Col 5 -->
    <td>6</td><!-- Col 6 -->
    <td>7</td><!-- Col 7 -->
    <td>8</td><!-- Col 8 -->
     <td>9</td><!-- Col 9 -->
  </tr>
  <tr><!-- Row 6 -->
    <td>1</td><!-- Col 1 -->
    <td>2</td><!-- Col 2 -->
    <td>3</td><!-- Col 3 -->
    <td>4</td><!-- Col 4 -->
    <td>5</td><!-- Col 5 -->
    <td>6</td><!-- Col 6 -->
    <td>7</td><!-- Col 7 -->
    <td>8</td><!-- Col 8 -->
     <td>9</td><!-- Col 9 -->
  </tr>

</table>


Here is the base structure, you can modify accordingly.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: html tables

Post by jiannos March 24th 2010, 4:31 pm

Reaaally thanks. How can i modify the width of each column ?
avatar
jiannos
Forumember

Male Posts : 141
Reputation : 0
Language : Greek,German,English
Location : Where the party is B)

http://greekduelists.darkbb.com

Back to top Go down

Solved Re: html tables

Post by Sanket March 24th 2010, 4:35 pm

Just add the width attribute to the <td>
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: html tables

Post by jiannos March 27th 2010, 9:05 am

Thanks you can lock it.
avatar
jiannos
Forumember

Male Posts : 141
Reputation : 0
Language : Greek,German,English
Location : Where the party is B)

http://greekduelists.darkbb.com

Back to top Go down

Solved Re: html tables

Post by ankillien March 27th 2010, 12:35 pm

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