Application Express User's Guide > Controlling Page Layout and... > Using Custom Cascading Styl... > Referencing an Uploaded Cas...
Referencing an Uploaded Cascading Style Sheet in the Page Template |
Previous |
Next |
You can reference an uploaded cascading style sheet within the Header section of the page template. You use the Header section to enter the HTML that makes up the <HEAD> section of the HTML document.
To reference an uploaded cascading style sheets:
On the Database Home Page, click the Application Builder icon.
Select an application.
Click Shared Components.
Under User Interface, select Themes.
The Themes page appears.
On the Tasks list, click View Templates.
Select the name of the page template you want to edit.
Use a <link>
tag within the head section to reference the appropriate style sheet.
To reference an uploaded file that is associated with a specific application, you would use the substitution string #APP_IMAGES#
. For example:
<html> <head> <title>#TITLE#</title> #HEAD# <link rel="stylesheet" href="#APP_IMAGES#sample2.css" type="text/css"> </head> ...
To reference an uploaded file that is associated with a specific database user account (or workspace), you would use the substitution string #WORKSPACE_IMAGES#
. For example:
<html> <head> <title>#TITLE#</title> #HEAD# <link rel="stylesheet" href="#WORKSPACE_IMAGES#sample3.css" type="text/css"> </head> ...