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.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[2024-5-16. : 3:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: 3claudiac152hB0, 8audreye7723wh3