Jump to content

Recommended Posts

  • Moderators
Posted

Come on please, this is basic stuff.

what exactly do you need to know, if you give a paragraph the id of success you get a green box round your text if you give it a error you get a red box.

Just try it on your site somewhere,

<p id="success">This is a green box</p>

<p id="error">This is a red box</p>

Posted

#success {
background-color: #CCFF99;
border-style:dotted;
border-width:1px;
padding: 5px;
border-color: #009900;
text-align: left;
}

#error {
background-color: #FF9999;
border-style:dotted;
border-width:1px;
padding: 5px;
border-color: #FF0000;
text-align: left;
}

That's mine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...