Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help with Template for Corporate look and feel

853096Apr 6 2011 — edited Apr 7 2011
Hi,

I have a small layout not much more than a sidebar and a display area for other application pages
to be viewed in.

This consists of two files, a css layout in acmeTlayout.css and the menu in acmeTstructure.html
Whenever I load it in my browser it displays perfectly, also the css was checked in the w3.org
validator. The layout was created using #myid {} and div id="myid"

I thought it would be simple to transfer this into Apex 4.0.2 but not having worked with
Templates before It is causing me some problems. My method was as follows:

I created a new template acmeTlayout,

then applied the following edits

Definition Header: -- basically a link to acmeTlayout.css

<!DOCTYPE html PUBLIC "-//W3C/DTD HTML 4.01 Transitional//EN">
<head>
<link rel="stylesheet" type="text/css" href="file:///projects/acme/acmeTlayout.css">
#HEAD#
<title><#TITLE#></title>
</head>
<body #ONLOAD#>#FORM_OPEN#<a name="PAGETOP"></a>

Definition Body: -- A cut and paste of the acmeTstructure.html contents

Created a new application page, set the template to acmeTlayout and run the page.
I get is the contents displayed but the layout has been completely ignored.

Any ideas?

Edited by: 850093 on 06-Apr-2011 15:55

Edited by: 850093 on 06-Apr-2011 15:57
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2011
Added on Apr 6 2011
4 comments
96 views