Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  How to use CSS?

phpMyEdit General     How to use CSS?
Odoslať novú tému   Odpovedať na tému    
 
neerajme     Založený: 28.12.2009   Príspevky: 7  
Príspevok Zaslal: 2010-01-02 14:23
Návrat hore  Odpovedať s citátom     

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     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2010-01-02 17:14
Návrat hore  Odpovedať s citátom     

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     Založený: 28.12.2009   Príspevky: 7  
Príspevok Zaslal: 2010-01-07 23:18
Návrat hore  Odpovedať s citátom     

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     Založený: 10.11.2009   Príspevky: 5  
Príspevok Zaslal: 2010-01-10 06:06
Návrat hore  Odpovedať s citátom     

neerajme Napísal:
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!

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov