freshJet Posted May 7, 2011 Report Share Posted May 7, 2011 Anyone know how to make the green/red textboxes seen around many phpVMS websites? Here's an example at Virgin Atlantic Virtual: http://virginatlanticva.co.uk/index.php/pages/ourpartners Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 7, 2011 Moderators Report Share Posted May 7, 2011 Its the standard css class that vms uses, example <p id="success">Your text here</p> <p id="error">Your text here</p> I have created lots you can define them in your css. 1 Quote Link to comment Share on other sites More sharing options...
freshJet Posted May 7, 2011 Author Report Share Posted May 7, 2011 Cool, thanks! Quote Link to comment Share on other sites More sharing options...
freshJet Posted May 7, 2011 Author Report Share Posted May 7, 2011 Got it working with a bit of playing around in CSS. Thanks Mark. Quote Link to comment Share on other sites More sharing options...
FiveStar Posted May 7, 2011 Report Share Posted May 7, 2011 ITROBB can you please post the full code with css code so others can also take advantage how it goes thanks in advance Asmara Quote Link to comment Share on other sites More sharing options...
freshJet Posted May 7, 2011 Author Report Share Posted May 7, 2011 Yeah I'll do it later Quote Link to comment Share on other sites More sharing options...
James142 Posted May 7, 2011 Report Share Posted May 7, 2011 (edited) [REMOVED] Edited May 7, 2011 by James142 Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 7, 2011 Moderators Report Share Posted May 7, 2011 ITROBB can you please post the full code with css code so others can also take advantage how it goes thanks in advance Asmara Look in your css its not hard to reproduce. Quote Link to comment Share on other sites More sharing options...
FiveStar Posted May 8, 2011 Report Share Posted May 8, 2011 hey it was looking hard for me itrob please copy paste the code here please? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 8, 2011 Moderators Report Share Posted May 8, 2011 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> Quote Link to comment Share on other sites More sharing options...
FiveStar Posted May 9, 2011 Report Share Posted May 9, 2011 hey mark i am not asking about this code i was having problem with CSS stuff how we can put the code in css file with different colors....? Quote Link to comment Share on other sites More sharing options...
freshJet Posted May 9, 2011 Author Report Share Posted May 9, 2011 #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. Quote Link to comment Share on other sites More sharing options...
FiveStar Posted May 9, 2011 Report Share Posted May 9, 2011 Thanks All it worked for me now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.