Re: Different style definitions of tables |
Wed, 24 April 2002 15:28 |
|
Have you taken a look at the members page of the FUDforum? At top of the member table you can see the mentioned different styles. (Mozilla 0.9.9; Konqueror 3.0) BTW, I know you can sort the rows, but the class in the source-code is the same as in my first post. Bye, Mike
|
|
|
Re: Different style definitions of tables |
Thu, 18 April 2002 15:54 |
|
prottoss wrote on Thu, 18 April 2002 3:11 PM | The 2nd code you've pasted is a better aproach, but both codes will end up with the same result as far as the browser is concerned.
|
I'm sorry but it wouldn't at Mozilla 0.9.9 and at Konqueror 3.0. Perhaps you have misunderstood me, but the code I posted previously wasn't created by me, but by FUD. I just copied it! I add two little screenshots to this post. Bye, Mike
-
Attachment: forum1.jpg
(Size: 6.57KB, Downloaded 592 times)
-
Attachment: forum2.jpg
(Size: 5.36KB, Downloaded 607 times)
|
|
|
Different style definitions of tables |
Thu, 18 April 2002 14:46 |
|
Have you already noticed, that the style of tables wouldn't be constructed the same way? I noticed that, as I tried to change the text-color of tableheadings. The table of the first page looks like that of threads. The table of a category looks different.
Then I looked at the source code of these pages and found the following two entries.
----------------------------
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable"> <tr> <td colspan=3 width="100%" class="TableHeading">Forum</td> <td class="TableHeading">Posts</td> <td class="TableHeading">Threads</td> <td nowrap class="TableHeading">Last Post</td> <td nowrap class="TableHeading">Moderator(s)</td> </tr>
----------------------------
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable"> <tr class="TableHeading"> <td> </td> <td> </td> <td width="100%">Thread</td> <td width=1>Replies</td> <td width=1>Views</td> <td align="center">Rating</td> <td nowrap>Last Post</td> <td nowrap>Started On</td> </tr>
----------------------------
You can see, that the style-class "TableHeading" on the one hand is located in the tabledata-tag and on the other hand in the tablerow-tag. I'm not sure, whether this is wanted.
I tried to find the appropriate php-files, but didn't succeed. Oh yes... I use version 1.2.7 of FUD.
Bye, Mike
|
|