Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  How to use CSS?

phpMyEdit General     How to use CSS?
Post new topic   Reply to topic    
 
neerajme     Joined: 28 Dec 2009   Posts: 7  
Post Posted: 2010-01-02 14:23
Back to top  Reply with quote     

Hello Folks,
Thanks in advance for helping.

We wanted to know what is the right way to use our own CSS for phpmyedit. We have the CSS. It works as well when we hack it in by making changes to the phpmyeditsetup.php.

we feel this is not the right way. Can some one tell us the correct way to do this?

There are many threads on the CSS creation, but could not find any that provides detailed instructions on how to correctly use this CSS.

Really appreciate the help.

warm regards.

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2010-01-02 17:14
Back to top  Reply with quote     

Using CSS with phpMyEdit forms is no different from using CSS with any other HTML document. Begin with a very basic stylesheet. Use Firefox with Web Developer Toolbar / CSS / View style information.

 
neerajme     Joined: 28 Dec 2009   Posts: 7  
Post Posted: 2010-01-07 23:18
Back to top  Reply with quote     

Thanks doug, but how do we do it.

Do we make changes to the generated php code ?

Or,

Do we make changes to the phpmyeditsetup settings so that the generated code refers to my custom css?

 
glenleslie     Joined: 10 Nov 2009   Posts: 5  
Post Posted: 2010-01-10 06:06
Back to top  Reply with quote     

neerajme wrote:
Thanks doug, but how do we do it.

Do we make changes to the generated php code ?

Or,

Do we make changes to the phpmyeditsetup settings so that the generated code refers to my custom css?


Take a look at the screenshots page: http://www.phpmyedit.org/article.php?screenshots

A CSS stylesheet is posted there. save that code as phpME.css (or whatever you want) on your web site.

Remove the code in the <style> section of the generated code from phpmyeditsetup and link to this external css file.

worked like a charm on my site to give me a different look and feel as well as a baseline for playing round with styles + phpME.

Tx to VZ for posting that example!

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy