Click to See Complete Forum and Search --> : Redefine CSS Word Color?
Jarrod1937
05-01-2010, 10:49 AM
I am in the middle of redesigning our site and while doing so i see that my boss has manually inserted a "small parts not safe for children" message on quite a few miniature products of ours. The problem is that since the message is not being generated, for me to change its styling, i would have to go into each and every single product to edit it as the background color is set using bgcolor="mistyrose":
http://code.google.com/p/doctype/wiki/MistyroseCSSColor
So, i am curious if i can save myself some work and alter the color the keyword "mistyrose" is associated with.
Any help would be appreciated, thanks!
Declan1991
05-01-2010, 11:04 AM
No, that you cannot do.
Jarrod1937
05-01-2010, 11:08 AM
I was afraid of that :(
But oh well, not the end of the world, thanks.
Jarrod1937
05-03-2010, 06:26 PM
find-replace all?
I'm assuming you're referring to mysql's replace function? Actually, that never entered my mind, but it should do the trick since 'mistyrose' as a string is fairly unique. Thanks!
I actually didn't get that this information was stored in a database and was refering to the general "replace all" procedure.
Did your boss insert this in a product description text or something like that? Just the thought of mixing data and layout together in a database makes me shiver...
Jarrod1937
05-04-2010, 08:51 AM
I actually didn't get that this information was stored in a database and was refering to the general "replace all" procedure.
Did your boss insert this in a product description text or something like that? Just the thought of mixing data and layout together in a database makes me shiver...
Yes, she added the message, enclosed within its own table, separately into a couple hundred products within their description text...