Forum Moderators: open
I can load the CSS file into a string using FileSystemObject, but I'm not quite sure how to parse it to get the background color out of the body{} area. The CSS files being edited could vary so there isn't any way to do it by number of spaces or line number or anything like that. So I would need to load everything between the word body and } and then within that block of text find the "background:" portion and take the HTML color code after it.
This is over my head though, anyone have any ideas?