Staredit Network > Forums > Technology & Computers > Topic: HTML Table BG Colors
HTML Table BG Colors
Dec 27 2008, 3:01 pm
By: Devourer  

Dec 27 2008, 3:01 pm Devourer Post #1

Hello

Hi all.
I just wanted to ask if there is any way to atuomatly color all table-data's (<td>) in the same color with only 1 script.
I also try to do this with Font color. So, is there any way to do so?
Even maybe for a specific column or row?



Please report errors in the Staredit.Network forum.

Dec 27 2008, 6:53 pm Falkoner Post #2



It's called CSS, although you could also try bgcolor and see if that works. For text color it's just color=xxx.



None.

Dec 27 2008, 6:58 pm Devourer Post #3

Hello

Quote from Falkoner
It's called CSS, although you could also try bgcolor and see if that works. For text color it's just color=xxx.

CSS can do it? (im not a pro in CSS) but thanks.
<body bgcolor=black> does work, yes, but the bg color should be colord different.
The <font color=xxx> doesn't work for <td> things. It requires a specific farb-font-code as far as I know, but I would be happy if someone knows an other code to do so... maybe also CSS?

thank you anyway.



Please report errors in the Staredit.Network forum.

Dec 27 2008, 7:05 pm Falkoner Post #4



Yeah, so at the top you need to put some CSS code, I would definitely learn CSS if you plan on doing any serious web page building.



None.

Dec 27 2008, 7:08 pm Devourer Post #5

Hello

Quote from Falkoner
Yeah, so at the top you need to put some CSS code, I would definitely learn CSS if you plan on doing any serious web page building.
Well... I actually learn PHP and co as a hobby and a bit for Informatics @ school... so I can get good marks ;)
but I think that I am able to make a good page, but:
  • no time
  • no fun if doing it alone
  • no money (I wont waste it for that) for a good domain

do you know a better page than http://www.w3schools.com ?



Please report errors in the Staredit.Network forum.

Dec 27 2008, 8:46 pm Centreri Post #6

Relatively ancient and inactive

Domains cost maybe $20 a year. Really?



None.

Dec 27 2008, 8:55 pm Devourer Post #7

Hello

Quote from Centreri
Domains cost maybe $20 a year. Really?
Why should I pay for things where probably noone will use/visit it? -> waste



Please report errors in the Staredit.Network forum.

Dec 27 2008, 9:12 pm Falkoner Post #8



I didn't pay for my domain, people use it, it hasn't taken that much time to do.



None.

Dec 28 2008, 12:18 am O)FaRTy1billion[MM] Post #9

👻 👾 👽 💪

Quote from Devourer
Quote from Centreri
Domains cost maybe $20 a year. Really?
Why should I pay for things where probably noone will use/visit it? -> waste
If you don't mind it being *.dyndns.org, then you can get one from dyndns.com.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Dec 28 2008, 11:19 am Devourer Post #10

Hello

Quote from O)FaRTy1billion[MM]
Quote from Devourer
Quote from Centreri
Domains cost maybe $20 a year. Really?
Why should I pay for things where probably noone will use/visit it? -> waste
If you don't mind it being *.dyndns.org, then you can get one from dyndns.com.
Well thanks, but it's much easiert (for me) to use my ohost.de server [2 500 MB] and FTW-Program



Please report errors in the Staredit.Network forum.

Dec 28 2008, 1:40 pm Forsaken Archer Post #11



Code
<STYLE type="text/css">
  .mytablecolors > td {background-color: orange }
</STYLE>
<table class="mytablecolors">
<tr><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td></tr>
</table>

I didn't actually test it, but it should be what you are looking for, I believe. It won't work with IE6 due to CSS2. You might not need the > sign, in which case, it would work for IE6. There are other alternatives as well.

Also, domains cost like $7. $20 is lol :).



None.

Dec 28 2008, 8:35 pm O)FaRTy1billion[MM] Post #12

👻 👾 👽 💪

td.mytablecolors { ...} would work in IE6.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Ultraviolet, jun3hong