ID:2532481
 
(See the best response by Lummox JR.)
Code:
            Check_Logs()
set category = "GM"
/*if(MasterGMCheck() != 2)
usr<<System("This verb is reserved for the MasterGM")
return*/

switch(input("Options:","Which log?") as null|anything in list("Suggestion Log", "Bug Log", "Error Log", "Clear All Logs", "Cancel"))
if("Clear All Logs")
switch(alert("Are you sure?","Think Carfully","Yes", "No"))
if("No")
return
if("Yes")
if(!key in Owner)
usr<< "Only the Owner can clear logs"
return
fdel(SLog)
SLog = "<body bgcolor=#000000><font size = 2>"
fdel(BugLog)
BugLog = "<body bgcolor=#000000><font size = 2>"
world<< "All logs cleared by [usr]"
if("Suggestion Log")
switch(input("Options:","Suggestion Log") as null|anything in list("Check Log", "Clear Log"))
if("Check Log")
winset(usr, "browser", "is-visible=true")
src << browse(SLog)
if("Clear Log")
if(!key in Owner)
usr<< "Only the Owner can clear logs"
return
fdel(SLog)
SLog = "<body bgcolor=#000000><font size = 2>"
world<< "Suggestion log cleared"


Problem description:
So I'm fairly new to skins and i'm trying my best but I have a suggestion reporting verb and a GM verb that can call the log but when I do that the text in the browser is black and I can only see it when I highlight it with my mouse... ? Anyone else experience this that can help? Thank you! Let me know if you need more info or snippets.
SSubmitButton()
set name = "Submit Suggestion"
winset(usr, "SSubmit", "is-visible=true")
winset(usr,"SSubmit.SSubmitInput", "text='(Enter Suggestion Here)'")
SSubmit(var/t as text)
set hidden = 1
if(!t) t = winget(usr,"SSubmit.SSubmitInput", "text") //They probably hit the submit button.
winset(usr, "SSubmit", "is-visible=false")
winset(usr,"SSubmit.SSubmitInput", "text='(Enter Suggestion Here)'")

SLog += "([time2text(world.realtime)]) - [usr] submitted: [t]."

usr<< "Your suggestion has been submitted. Thank you for the input!"
for(var/mob/A in world)
if(A.key in Owner)
A<< "A suggestion has been submitted!"
return

Best response
You set a background color but no foreground color.

You should avoid the <font> tag in HTML sent to a browser though; CSS styles are a better option. Also you must never put spaces around = in an attribute.

For security, be sure to use html_encode() on any text you include in the page.
Thank you so much! That worked perfectly! I will have to check out how to do CSS styles and how to use the encode but thank you for the tips!