Topics: User Forum
Oct 15, 2014 at 10:39 AM

I'm new in AVFP.
Can someone please guide me on how to put css on my default.avfp

Thank you very much!
Oct 16, 2014 at 2:46 PM
An AVFP file is, basically, just a normal HTML file with VFP code embeeded. If you want to apply CSS styles to your AVFP page you do it as yo would do with a regular HTML file:

a) Using a STYLE tag:
.myStyle {
  color: black;
  margin: 20px;
b) Loading an external CSS file:
 <link rel="stylesheet" type="text/css" href="yourfile.css">
c) Using element's STYLE attribute:
<span style="text-align: center;">This is a centered text</span>

Victor Espina
Oct 17, 2014 at 2:30 AM
Ok. I'll try it.

Thank you very much Victor