Jump to content

Halp please HTML formatting

Go to solution Solved by Ariona,

Ah didn't know they needed it to be run on a webserver, ol well, at least I get to toy around with some java :P

 

Nope, Java not javascript, though I'm sure I could probably figure something out in javascript as well.

 

Maybe create a content box and a submit button or something, then output the edited text to another content box.

 

It's oaky it's taking me forever but Im 1 by 1 colloring the numbers..  Though I do wonder why this functionality isn't in HTML somehow... 

I need to make all of these values like this first one. Can I select all of the 2nd values and 3rd values by themselves or do I really have to double click the number and color it to get it to work? Please help..tell em theres a trick..or..something.. Even if I can double click multiple values And change all their colors at once it would be better

 

Snow White 228 223 208

 

 

Ash Grey 172 168 162

Goobbue Grey 137 135 132

Slate Grey 101 101 101

Charcoal Grey 72 71 66

Soot Black 43 41 35

Rose Pink 230 159 150

Lilac Purple 131 105 105

Rolanberry Red 91 23 41

Dalamud Red 120 26 26

Rust Red 98 34 7

Wine Red 69 21 17

Coral Pink 204 108 94

Blood Red 145 59 39

Salmon Pink 228 170 138

Sunset Orange 183 92 45

Mesa Red 125 57 6

Bark Brown 106 75 55

Chocolate Brown 110 61 36

Russet Brown 79 45 31

Kobold Brown 48 33 27

Cork Brown 201 145 86

Qiqirn Brown 153 110 63

Opo-opo Brown 123 92 45

Aldgoat Brown 162 135 92

Pumpkin Orange 197 116 36

Acorn Brown 142 88 27

Orchard Brown 100 66 22

Chestnut Brown 61 41 13

Gobbiebag Brown 185 164 137

Shale Brown 146 129 108

Mole Brown 97 82 69

Loam Brown 63 51 41

Bone White 235 211 160

Ul Brown 183 163 112

Desert Yellow 219 180 87

Honey Yellow 250 198 43

Millioncorn Yellow 228 158 52

Coeurl Yellow 188 136 4

Cream Yellow 242 215 112

Halatali Yellow 165 132 48

Raisin Brown 64 51 17

Mud Green 88 82 48

Sylph Green 187 187 138

Lime Green 171 176 84

Moss Green 112 115 38

Meadow Green 139 156 99

Olive Green 75 82 50

Marsh Green 50 54 33

Apple Green 155 179 99

Cactuar Green 101 130 65

Hunter Green 40 75 44

Ochu Green 64 99 57

Adamantoise Green 95 117 88

Nophica Green 59 77 60

Deepwood Green 30 42 33

Celeste Green 150 189 185

Turquoise Green 67 114 114

Morbol Green 31 70 70

Ice Blue 178 196 206

Sky Blue 131 176 210

Seafog Blue 100 129 160

Peacock Blue 59 104 134

Rhotano Blue 28 61 84

Corpse Blue 142 155 172

Ceruleum Blue 79 87 102

Woad Blue 47 56 81

Ink Blue 26 31 39

Raptor Blue 91 127 192

Othard Blue 47 88 137

Storm Blue 35 65 114

Void Blue 17 41 68

Royal Blue 39 48 103

Midnight Blue 24 25 55

Shadow Blue 55 55 71

Abyssal Blue 49 45 87

Lavender Purple 135 127 174

Gloom Purple 81 69 96

Currant Purple 50 44 59

Iris Purple 183 158 188

Grape Purple 59 42 61

Lotus Pink 254 206 245

Colibri Pink 220 155 202

Plum Purple 121 82 108

Regal Purple 102 48 78

Link to comment
https://linustechtips.com/topic/404012-halp-please-html-formatting/
Share on other sites

Link to post
Share on other sites

Sweet mother of god my eyes, please dont copy and paste. It makes us dark users loose their eyes.Zk58uOp.png\

What i would do is make this in java script and work from there but that's just me

 

 

Hopefully someone comes along and give more info

|Casual Rig| CPU: i5-6600k |MoBo: ROG Gene  |GPU: Asus 670 Direct CU2 |RAM: RipJaws 2400MHz 2x8GB DDR4 |Heatsink: H100i |Boot Drive: Samsung Evo SSD 240GB|Chassis:BitFenix Prodigy |Peripherals| Keyboard:DasKeyboard, Cherry MX Blue Switches,|Mouse: Corsair M40

|Server Specs| CPU: i7-3770k [OC'd @ 4.1GHz] |MoBo: Sabertooth Z77 |RAM: Corsair Vengeance 1600MHz 2x8GB |Boot Drive: Samsung 840 SSD 128GB|Storage Drive: 4 WD 3TB Red Drives Raid 5 |Chassis:Corsair 600t 

Link to post
Share on other sites

So you just want the 1st set of numbers red, 2nd set green, 3rd set blue?

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

Lol, couldn't you automate this type of scripting using an IDE like Netbeans?

CPU: Intel Core i5-4460 Motherboard: ASRock H97M Anniversary RAM: Kingston HyperX 1600MHz 8GB (2x4GB) GPU: ASUS GeForce GTX 750Ti
Case: Corsair Air 240 White Storage: Western Digital Caviar Black 500GB PSU: Corsair CX500 Keyboard: CM Storm Quickfire Rapid (Cherry MX Blue)
Mouse: SteelSeries Kinzu V2 Operating System: Windows 8.1N

Link to post
Share on other sites

yes. 

 

I've got an idea, though I have no idea on how to make it work xD (Basically have something scan through them all and see each line as separate, then look at each line and find the 3rd, 4th, and 5th arguments in them, then get the values of each one, modify it so they have the color codes added.)

 

--Edit--

Give me about 5 minutes, working on a little java file that might be able to do it :P

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

I've got an idea, though I have no idea on how to make it work xD (Basically have something scan through them all and see each line as separate, then look at each line and find the 3rd, 4th, and 5th arguments in them, then get the values of each one, modify it so they have the color codes added.)

 

--Edit--

Give me about 5 minutes, working on a little java file that might be able to do it :P

 

Okay kool. I don't know any code other than some basic HTML really. And thats just from forums like here. 

Link to post
Share on other sites

 

--Edit--

Give me about 5 minutes, working on a little java file that might be able to do it :P

 

I would really give the advice to not use java for this! Ariona clearly stated that he only knows basic HTML and setting up a whole webserver just to be able to run a java file would be way to overkill. Also you don't know his server setup, maybe he has no possibilty for such a webserver (like 90% of all webhosters only run PHP).

 

Or did you mean javascript?

My beast (PC):

  • ASUS R.O.G. Rampage IV Black Edition, X79, LGA2011, AC4
  • 2x ASUS Fury X
  • Intel Core i7 4930K BOX (LGA 2011, 3.40GHz) OC @4.4GHz
  • Corsair H100i, CPU Cooler (240mm)
  • Samsung SSD 830 Series (512GB)
  • Samsung SSD 850 Pro 1TB
  • Western Digital 512GB HDD
  • TridentX 4x 8GB 2400MHz
  • Corsair Obsidian 900D

Link to post
Share on other sites

One could always LEARN?

CPU: Intel Core i5-4460 Motherboard: ASRock H97M Anniversary RAM: Kingston HyperX 1600MHz 8GB (2x4GB) GPU: ASUS GeForce GTX 750Ti
Case: Corsair Air 240 White Storage: Western Digital Caviar Black 500GB PSU: Corsair CX500 Keyboard: CM Storm Quickfire Rapid (Cherry MX Blue)
Mouse: SteelSeries Kinzu V2 Operating System: Windows 8.1N

Link to post
Share on other sites

I would really give the advice to not use java for this! Ariona clearly stated that he only knows basic HTML and setting up a whole webserver just to be able to run a java file would be way to overkill. Also you don't know his server setup, maybe he has no possibilty for such a webserver (like 90% of all webhosters only run PHP).

 

Or did you mean javascript?

 

Ah didn't know they needed it to be run on a webserver, ol well, at least I get to toy around with some java :P

 

Nope, Java not javascript, though I'm sure I could probably figure something out in javascript as well.

 

Maybe create a content box and a submit button or something, then output the edited text to another content box.

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

Ah didn't know they needed it to be run on a webserver, ol well, at least I get to toy around with some java :P

 

Nope, Java not javascript, though I'm sure I could probably figure something out in javascript as well.

 

Maybe create a content box and a submit button or something, then output the edited text to another content box.

 

It's oaky it's taking me forever but Im 1 by 1 colloring the numbers..  Though I do wonder why this functionality isn't in HTML somehow... 

Link to post
Share on other sites

Ah didn't know they needed it to be run on a webserver, ol well, at least I get to toy around with some java :P

 

Nope, Java not javascript, though I'm sure I could probably figure something out in javascript as well.

 

Maybe create a content box and a submit button or something, then output the edited text to another content box.

 

Actually I think the simplest approach would be to simply add a css class to the numbers.

I wrote a small working sketch for you:

https://jsfiddle.net/dvy6cgpb/

My beast (PC):

  • ASUS R.O.G. Rampage IV Black Edition, X79, LGA2011, AC4
  • 2x ASUS Fury X
  • Intel Core i7 4930K BOX (LGA 2011, 3.40GHz) OC @4.4GHz
  • Corsair H100i, CPU Cooler (240mm)
  • Samsung SSD 830 Series (512GB)
  • Samsung SSD 850 Pro 1TB
  • Western Digital 512GB HDD
  • TridentX 4x 8GB 2400MHz
  • Corsair Obsidian 900D

Link to post
Share on other sites

It's oaky it's taking me forever but Im 1 by 1 colloring the numbers..  Though I do wonder why this functionality isn't in HTML somehow... 

It's because HTML isn't an actual programming LANGUAGE as it is more of just a markup. This kind of functionality in HTML is superfluous, as it honestly should be handled with other supplements to HTML such as CSS, javascript/jQuery (for animated colors or something), etc.

CPU: Intel Core i5-4460 Motherboard: ASRock H97M Anniversary RAM: Kingston HyperX 1600MHz 8GB (2x4GB) GPU: ASUS GeForce GTX 750Ti
Case: Corsair Air 240 White Storage: Western Digital Caviar Black 500GB PSU: Corsair CX500 Keyboard: CM Storm Quickfire Rapid (Cherry MX Blue)
Mouse: SteelSeries Kinzu V2 Operating System: Windows 8.1N

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×