dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Redefine CSS Word Color?

  1. #1
    Join Date
    Mar 2010
    Posts
    672

    Redefine CSS Word Color?

    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!

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    No, that you cannot do.

  3. #3
    Join Date
    Mar 2010
    Posts
    672
    I was afraid of that
    But oh well, not the end of the world, thanks.

  4. #4
    Join Date
    Aug 2008
    Posts
    3
    find-replace all?

  5. #5
    Join Date
    Mar 2010
    Posts
    672
    Quote Originally Posted by barr View Post
    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!

  6. #6
    Join Date
    Aug 2008
    Posts
    3
    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...

  7. #7
    Join Date
    Mar 2010
    Posts
    672
    Quote Originally Posted by barr View Post
    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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles