Forum Stats

  • 3,826,892 Users
  • 2,260,722 Discussions


New css using problem

737845 Member Posts: 1
edited Nov 30, 2009 7:16AM in APEX Discussions
Hi everybody!

After I have uploaded a new css file in my application, I can't use it in my HTML source code.
I don't know, how do it.
What is the path, function, or substitution string, (anything else?) what I need write before the css name in header in the page template?
I cannot access the unix file system directly.

Thanks, David.


  • Pete Mahon
    Pete Mahon Member Posts: 106
    edited Nov 30, 2009 7:16AM
    Hi David,

    If you have uploaded the CSS file within your application as a static file then you can reference it on the page you are working on no problem.

    You will need to include this line in the HTML header of every page you are displaying as you cannot do it with page Zero, or alternatively change your template to include it.

    For CSS file uploaded into the workspace (no application specified in upload wizard):
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#mycssfile.css" />

    If you restrict your CSS file to one application you should use:
    <link rel="stylesheet" type="text/css" href="#APP_IMAGES#mycssfile.css" />

    Note there is no "/" before the filename.

    Hope this helps.

    Cheers, Pete
This discussion has been closed.