Include a css page

Hi Forum!
I need to include a css in my htmlb document.
I write:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<%@extension name="phtmlb" prefix="phtmlb"%>
<htmlb:content design="design2003">
  <htmlb:document >
    <htmlb:documentHead title = "Create a customer">
      <htmlb:headInclude/>
       <style type="text/css">
         </style>
   </htmlb:documentHead>
   <htmlb:documentBody>
   <htmlb:form method="post">
Well, i dont know what i have to insert inside the sytle tag.
Another way could be insert directly in the documentHead this:
<link href="CSS/zlrep.css" rel="stylesheet" type="text/css">
I have tried but anything changes...
Thanks indeed and regards!
Mon

Hi again guys!
One idea!
Doing chances, i tried to put this structure:
<htmlb:page>
....my code...
</htmlb:page>
in spite of: <htmlb:document>...
Like a html page.., but i think that i find out the origin of my problem:
<htmlb:content design ="DESIGN2003">
Can it be this sentence the problem? Because this is like a style for these elements:
      <phtmlb:containerTitle id                    = "containerTitle"
                             title               = "Create a customer"
                             collapsible         = "FALSE"
                             design              = "TRANSPARENT"
                             hasContentConnector = "FALSE"
                             scrollingMode       = "AUTO" >
      <phtmlb:containerContentItem design         = "TRANSPARENT"
                                     border        = "TRUE"
                                     hasPadding    = "FALSE"
                                     scrollingMode = "AUTO" >
Maybe if i delete this line and insert my css code works...
Thanks guys for ur answers..
Regards from Spain,
Mon
Message was edited by: Mon

Similar Messages

  • Stop Dreamweaver loading scripts/CSS files included in a page

    Dreamweaver CC 2014.1 (Mac OS X 10.10, Yosemite) has a big BUG... isn't possibile build with it large/complex websites.
    If I have a website with large numbers of css files (or scripts), Dreamweaver takes too much time to load/save a page that included them (the wheel turns indefinitely).
    Is it possible to stop Dreamweaver from loading scripts and CSS files included in a page while I'm working on it (even temporarily)?
    I know that without this function (load external files) Dreamweaver is absolutely useless, but at the moment I haven't still found another IDE tool and I need to work with speed.
    Thanks

    Live View, Code View or Design View?
    Have you validated your code to check for errors?
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    You could comment out your links to external scripts and CSS Files.
    <!--this is an html comment
    -->
    To turn off styles in Design View only, go to View > Style Rendering > untick Display Styles.  Or consider using a Design-Time Style Sheet.
    Dreamweaver Help | Use Design-Time style sheets
    To speed things up a bit, try these tips:
    1. Edit -> Preferences -> Code Hints -> Disable description tooltips
    2. Edit -> Preferences -> Highlighting -> Untick both Live Data Untranslated and Translated
    3. Edit -> Preferences -> Sync Settings -> Untick all in sync settings
    Nancy O.

  • How to include a CSS from another project

    Hi all,
    I'm developing an AbstractPortalComponent which uses some of my own defined stylesheets. I can include the stylesheet defined in my own project by this:
    com.sapportals.portal.prt.resource.IResource myStyle =
    request.getResource("css", "css/my_nav.css");   
    response.include(request, myStyle);
    Now I need to include another CSS but from another project.
    I tried also to get the response and write the HTML code but it writes it into the <BODY></BODY> tag and the CSS is not used when rendering the document:
    ...</head>
    <body class="prtlBody urFontBaseFam urScrl">
    <LINK REL=stylesheet HREF="/irj/portalapps/myProject/css/zglobal.css" TYPE="text/css">
    Does anybody know the solution?
    Thanks in advance,
    Romano

    There are document hooks that you can use to insert things into the response of a page being written to the client.
    Therefore, if you create a service which implements the IDocumentHookListener, you will then need to implement the
    String doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    and
    void doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    The first method, that returns a String, you can basically check where in the document you would like to write code, something like
    switch (documentPosition) {
      case IDocumentHookListener.HEAD_SECTION_BEGIN :
        return "some string";
        break;
      case IDocumentHookListener.HEAD_SECTION_END :
        return "some other string";
        break;
    The second method, simply writes out the String returned from the first method to the response, i.e.
      response.write(doDocumentHook(documentPosition, request));
    I hope this helps
    Darrell

  • Include a CSS file problem

    I having a problem in including a css file in my jsp pages.
    the tag is written as follows
    <link rel="StyleSheet" type="text/css" href="ressources/stylesheet.css" media="screen"> I did change the directory ressource, the path and tried to play each and every time with this tag but it doesn't work. by the time I deploy my application, it tells me to download this css file or sometimes it tells me that the ressource is not available.
    I am using netbeans with Glassfish.

    Sorry for taking so long to answer but, it sounds that you didn't understand me.
    I have included the exact lin to the css file but it still have a problem. below is the code in the JSP page
    <%
    String CssUrl= (String)application.getAttribute("CssUrl");
    %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="StyleSheet" type="text/css" href="<%=CssUrl%>/stylesheet.css" media="screen">
            <title>Login Utilisateur</title>
        </head>
    ...the CssUrl variable is defined in the web.xml file as the follwoing
    <init-param>
                <param-name>CssUrl</param-name>
                <param-value>/GestionBudget/resources/css</param-value>
            </init-param>Please can you explain to me why when I execute the page, I got no Css application and sometimes, I got the error page of the server that the css file as a resource doesn't exist.

  • Including external CSS while designing

    Hi there!  Sorry if this is a simple question, but I'm a Dreamweaver newbie and didn't see this answered anywhere else, in the Dreamweaver help or forums.
    I'm usually creating portions of pages in dreamweaver, that get included later in larger pages.  It's not possible for me to edit the whole page at once, as some parts of the pages are dynamic and out of my control.  What I want to do is include all the CSS that gets included elsewhere in the page somehow in Dreamweaver, without including it in the HTML.  I know what these files are and where the exist, it's just I don't want to have to go back with every page and delete those references to the CSS files, since I don't want them included twice!  Is there anyway to tell dreamweaver to automatically include these CSS files when I'm designing these pages?  It would make my life so much easier...
    Assuming it is so, what is this called so I can find the documentation and read up on it?
    Thanks in advance!

    See if Design Time Stylesheets achieve what you're looking for
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7e17a.h tml

  • Can I consolidate the CSS pages?

    Hello,
    I noticed that Muse creates a CSS page for every singe HTML page so I have about 50 CSS pages. What's the point of CSS if there's not just one master?
    Is it possible to have just one? For a few reasons,
    A) the client will think I'm crazy once they see 50+ CSS pages
    B) should the client want to make changes in the future it's ridiculous to make them change 50+ pages just to change a font color. No, the client most likely will not buy Muse just to make a few simple updates and I will not be available for future updates.
    OR
    Is it possible to export my Muse site so it's not dependent on using Muse in the future? I like building with Muse but am thinking it's probably not the way to go since I build then pass the sites off to clients.
    thanks for any input.

    Site wide formatting is stored in the site_global.css. Examples of site wide formatting include Paragraph Styles, Character Styles, Graphics Styles, List Styles and Hyperlink Styles you define in Muse. If you use styles in Muse for your formatting, it would then be possible to edit the CSS style definition in the site_global.css to alter the appearance of all text or objects that use that style (though editing the HTML output by Muse is not a workflow we encourage).
    Page-specific formatting (i.e. where the objects are located on the page, formatting applied not using styles, etc.) is stored in a .css file for that specific page, since it's only relevant to that page. Even if you make very heavy use of the styles available in Muse, there will still be size, position and stacking order information that is only relevant to that specific page and thus recorded in the page-specific css file.

  • CSS page confusion

    I am new to CSS and Dreamweaver. I have created a CSS page
    that is text only. However, I wish to have the CSS page deliver a
    standard page with a header division, navigation bar division, left
    bar division and footer division. I want every new page that I
    create to have those divisions with all the links in them so I can
    just concentrate on adding the body text that will change from page
    to page. I thought that the CSS page would do all that, but I
    cannot get it to work. Is there a way to get these divisions to
    automatically come up on a new page that i might create?
    Vic
    I am using Windows Xp and Dreamweaver CS3.

    > I thought that the CSS page would do all that, but I
    cannot get
    > it to work. Is there a way to get these divisions to
    automatically come up
    > on a
    > new page that i might create?
    You are confusing CSS with DW Templates and perhaps
    Server-side includes.
    CSS will have the ability to place every page element on any
    page that
    contains, or links to that CSS, but CSS does not have the
    ability to create
    such pages from nothing.
    So, the scheme would be, you create a page using the CSS
    required to style
    everything properly, and then you either save that page as a
    DW Template, or
    you cut out the important bits and save them as server-side
    includes.
    If you used Templates, then you would spawn a new page from
    the Template,
    add the unique content, and save the page. Repeat this
    process for each
    page in the site.
    If you used server-side includes, then you would save your
    parent page that
    has assembled the includes to deliver the layout you want,
    with some generic
    filename. With that generic page open, you would add your
    page-specific
    content, and save it with that page's name. Then replace the
    page-specific
    content with different content, and save it with the new
    page's name.
    Repeat that process for all the pages in the site.
    Get it? CSS doesn't create the pages, however if you create a
    page with the
    elements in it that are referenced by your CSS Selectors, it
    will style that
    page as you wish.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "PainReliefDiet" <[email protected]> wrote
    in message
    news:[email protected]...
    >I am new to CSS and Dreamweaver. I have created a CSS
    page that is text
    >only.
    > However, I wish to have the CSS page deliver a standard
    page with a header
    > division, navigation bar division, left bar division and
    footer division.
    > I
    > want every new page that I create to have those
    divisions with all the
    > links in
    > them so I can just concentrate on adding the body text
    that will change
    > from
    > page to page. I thought that the CSS page would do all
    that, but I cannot
    > get
    > it to work. Is there a way to get these divisions to
    automatically come up
    > on a
    > new page that i might create?
    > Vic
    >

  • "inc" extension wont display in css page layout

    i am new to building pages with css. all i know is table based layouts. im trying to make a new template for my sites. also they are ASP pages. my problem is when im trying to use the "inc" code for my headers, footers, navigation, and a right menu. they dont display.
    what would be different for getting those files to display in a css page layout?

    You're close but you're missing quotes around your include file names.  And your includes contain too much information.
    Include files are nothing more than snippets of html code. An include  statement is inserted into the parent page where you want the content to  appear.  For this demo, I have three pre-built SSI files in my Includes  folder:
    HeadMenu.ssi
    LeftLinks.ssi
    Footer.ssi 
    My parent page has been saved as Untitled.shtml (.shtml or  .shtm tells the server there are include statements in the page). You may also  use .php or .asp if your server supports these, however those include statements look different from  the ones  in this demo.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="container">
    <div id="header">
    <!--#include virtual="Includes/HeadMenu.ssi" -->
    <!--end header --> </div>
    <div id="sidebar1">
    <!--#include virtual="Includes/LeftLinks.ssi" -->
    <!--end sidebar1 --> </div>
    <div id="mainContent">
    <h1>Main Content H1</h1>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing odio.</p>
    <!--end mainContent --> </div>
    <div id="footer">
    <!--#include virtual="Includes/Footer.ssi" -->
    <!--end footer --> </div>
    <!--end container --> </div>
    </body>
    </html>
    My HeadMenu.ssi file looks like this with only the relevant menu code.
    <div id="menu">
    <a href="#content">skip menu &gt;</a>
    <a class="intro" href="index.shtml">home</a>
    <a class="gallery" href="gallery.shtml">gallery</a>
    <a class="tools" href="tools.shtml">tools</a>
    <a class="portfolio" href="portfolio.shtml">portfolio</a>
    <a class="fees" href="Fees.shtml">fees</a>
    <a class="links" href="links.php">links</a>
    <a class="contact" href="contact.shtml">contact</a>
    </div> <!--end menu -->
    You can see a working example of this on my website:  http://alt-web.com
    One last thing, you won't see includes appear on in browser  until you publish  to a web server.  If you want to test pages locally, you'll need to install a local testing  server (WAMP, XAMP, MAMP) on your computer.
    Ask your server host if they  support SSIs and whether or not  .shtml or .shtm files are set-up up to parse includes.  Sometimes you need to add this to your .htaccess file.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print |  Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Adobe recommends: CSS page layout basics

    Over the next week, we are going to be publicizing some high-value content  from adobe.com and other community sites. We have been tracking what's   been most important to our users, and feel that getting this content out to the larger community will go a long way toward helping people tackle some of their most pressing challenges.
    Continuing on our quest for great layout tips, our next recommendation comes from yours truly:
    CSS page layout basics
    This article takes you through the A-Z of what makes up a basic CSS layout. It also shows you how to use some of the CSS layouts that come packaged with Dreamweaver.
    Give it a spin and let us know what you think!
    Previous recommendation threads:
    Use Dreamweaver CS 5.5 to package your web application for iOS and Android devices
    Customizing a Spry Menu Bar widget
    Spry Menu Bar resources
    Layout 101

    Although I love sending newbies to tutorials, I am sometimes stuck with a quandary especially when I see the word basics.
    To me, a basic layout does not require any more than
    <!DOCTYPE HTML>
    <html>
    <head>
      <meta charset="utf-8">
      <title>Untitled Document</title>
      <style>
              body {width: 960px; margin: auto;}
              #header {height: 85px; background: #060;}
              #nav {height: 35px; background: #000;}
              #aside {height: 400px; width: 180px; background: #999; float: left;}
              #article {margin-left: 200px;}
              #footer {height: 35px; background: #000; clear: both;}
         </style>
    </head>
    <body>
      <div id="header"></div>
      <div id="nav"></div>
      <div id="aside"></div>
      <div id="article"></div>
      <div id="footer"></div>
    </body>
    </html>
    In the above I have used fixed heights. That is because I have not placed any content into the div elements, but still wanted to show the outcome.
    When the basic layout has been settled on, we can start with our niceties like resetting styles, padding for the content etc. I have noticed that David Powers has written an article (which I have not as yet read) on Modernizr wich will help as a good starting point.
    The main thing to keep in mind is to keep it simple.
    Gramps
    Oops! Sorry! the Modernizr article goes way beyond the basics. Please only tackle this if you are brave enough. The reason I thought that it may be a good starting point is beacause I have been using HTML5Boilerplate (which includes Modernizr) for quite some time now.
    Message was edited by: altruistic gramps

  • How to include a jsp page in another jsp jsp page

    hi,
    i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
    <%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
    but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
    the servlet is in
    C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
    i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
    plz help
    manish

    use this for including in your selectattribute.jsp
    <jsp:include page="header.jsp" flush="true"/>
    I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • Include a Glossary Page in a Webi report for report documentation

    Hi experts,
    My client would like to include a Glossary Page at the start/end of each Webi report. This page should include documentation/explanation of each dimension detail, measure, formula, etc shown on the report.
    I cannot find any designated location in the Webi report for documentation purpose. Assuming I have created this documentation in a word/html document, what is the easiest way of including this info in the Webi report?
    So far I can think of 2 options:
    1) Include a new report with one or more blank cells, and paste the text from the word/html document into the blank cell.
    Pros: Can be printed out together with the report contents (print both reports together).
    Cons: Considerable effort with creating this page
    2) Include a blank cell in the original/separate report, and insert a hyperlink for this word/html document into the blank cell.
    Pros: Less effort involved
    Cons: Cannot be printed out together with the report contents
    Besides these 2 options, are there better ways of creating the Glossary page?
    Thanks in advance for any suggestion.
    Linda

    We do something similiar in that users cannot create a new document.  Users can only copy and edit the existing template for new reports.  The template has standard headers, footers and confidentiality statements that are required on all reports.
    Here are some of the standard formulas we include in the header/documentation report tab:
    ="Report Title: "+DocumentName()
    ="Run User: "+CurrentUser()
    ="Run Date: "+LastExecutionDate()
    =If (DocumentPartiallyRefreshed();"Your document contains partial data only")
    =DocumentName()
    =DataProviderSQL([Query 1])
    These formulas automatically fill in some of the basic data using option 1 from your list.

  • How to include custom css in js file

    Hi,
    We have a JS view and we want to include custom css in the same. How can we achieve the same.

    Hi Saket,
    You can use this in your view
    jQuery.sap.includeStyleSheet("custom.css","MyCustomCSS");
    or if it is in a package called css
    jQuery.sap.includeStyleSheet("css/custom.css","MyCustomCSS");
    MyCustomCSS is just an alias to call the css file
    Thanks,
    Roshini

  • Friends..how can i include a jsp page in a servlet

    like i want to use like
    if(conditionl)
    out.println(" welcome");
    //////// here i want to include some jsp page /////
    I tried with...
    <% @include %> but its not working
    Thanks in advance

    I tried with...
    <% @include %> but its not working
    Thanks in advanceThat only woks for JSP Pages.
    You have to call the include method of the RequestDispatcher
    if(conditionl)
      out.println(" welcome");
      getRequestDispachter("/myJSPDir/my.jsp").include(request, response);
    }

  • How can I include a jsf page?

    I need to include a jsp page that contains jsf code, I try with:
    <c:import url="faces/include.jsp" var="prova" />
    but the server response:
    javax.servlet.ServletException: Cannot find FacesContext
    There something that is wrong?
    Thank's
    Teo

    I read the document but is not my case.
    My java server faces works well until I put the tag
    <c:import url="./include.jsp" var="jsf" />
    from tag library, ans I don't know why
    Thank's
    Matteo

Maybe you are looking for

  • How do i get facebook notifications from facebook to my ipad with ios6?

    on my ipad notifications are not coming up on my lock screen like they do on my iphone. How do i get them on my ipad?

  • Re: Error when configuring Data Masking with workload masking in 12c

    Hello, Even I am facing a similar issue - error message displayed when trying for data-masking along with R.A.T. capabilities Can anybody help resolve this. Objective - Use Real Application Testing in combination with Test Data Masking Pack Current S

  • Stopping program without waiting for trigger

    Hi everybody I have a problem that I just can't get my head around. I have a program that I use to aquire data. The program goes through the motions of waiting for the trigger, aquiring the data on the appropriate channel, displaying it, and loops ba

  • Logon Triggers As A Security Mechanism

    I'd like to get people's opinions on an idea that's been proposed by my organization's architecture team. I work in a rapid development environment with an extensive database code base.  A good amount of DDL, Code Complication, and adhoc DML occurs o

  • Why after SAVE(CREATE) my form is cleared?

    I am saving a record and the form gets cleared.  The row is inserted, but I need to go back to list and edit it. I do not have any process to clear the cache or a branch, since I states in the same page. Any idea? Efren