Skip to Content
avatar image
Former Member

Using CSS in Webdynpro

Hi All

Could anyone please clarify me on the following questions.

1.What is CSS?

2.For what it is used for?

3.How it is used in webdynpro and in EP?

Thanking in Advance.

Hema

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 07:27 AM

    Hi Hemalatha,

    CSS is Cascading Style Sheets .

    It define how to display HTML elements

    Styles are normally stored in Style Sheets

    External Style Sheets can save you a lot of work

    External Style Sheets are stored in CSS files

    Multiple style definitions will cascade into one

    Also styles sheets defines how html elements are to be displayed. Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in your Web, just by editing one single CSS document!

    CSS is a breakthrough in Web design because it allows developers to control the style and layout of multiple Web pages all at once. As a Web developer you can define a style for each HTML element and apply it to as many Web pages as you want. To make a global change, simply change the style, and all elements in the Web are updated automatically.

    Yes we can use it in EP but i am not sure about Web DynPro.

    I hope you got some idea on it.

    Regards

    Sagar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 07:29 AM

    Hi Hema,

    Cascading Style Sheets (CSS): A stylesheet language used to describe the presentation of a document written in a markup language. ...

    What is CSS?

    • CSS stands for Cascading Style Sheets

    • Styles define how to display HTML elements

    • Styles are normally stored in Style Sheets

    • Styles were added to HTML 4.0 to solve a problem

    • External Style Sheets can save you a lot of work

    • External Style Sheets are stored in CSS files

    • Multiple style definitions will cascade into one

    Style sheets are a very powerful tool for the Web site developer. They give you the chance to be completely consistent with the look and feel of your pages, while giving you much more control over the layout and design than straight HTML ever did.

    Invented in 1997, Cascading Style Sheets (CSS) are just now starting to be widely used among browsers and Web developers are learning to be more comfortable with them. Those of you who use HomeSite 4.0 know that they are eventually going to take the place of tags such as <FONT>, which have been deprecated in HTML 4.0.

    With CSS, your HTML documents can be displayed using different output styles:

    See how it works

    Styles Solve a Common Problem

    HTML tags were originally designed to define the content of a document. They were supposed to say "This is a header", "This is a paragraph", "This is a table", by using tag like <table> and so on. The layout of the document was supposed to be taken care of by the browser, without using any formatting tags.

    As the two major browsers - Netscape and Internet Explorer - continued to add new HTML tags and attributes (like the <font> tag and the color attribute) to the original HTML specification, it became more and more difficult to create Web sites where the content of HTML documents was clearly separated from the document's presentation layout.

    To solve this problem, the World Wide Web Consortium (W3C) - the non profit, standard setting consortium, responsible for standardizing HTML - created STYLES in addition to HTML 4.0.

    All major browsers support Cascading Style Sheets.

    Style Sheets Can Save a Lot of Work

    Styles sheets define HOW HTML elements are to be displayed, just like the font tag and the color attribute in HTML 3.2. Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in your Web, just by editing one single CSS document!

    Watch the Below Link for How it is used in Web Dynpro

    http://help.sap.com/saphelp_nw70/helpdata/en/46/89af7fbe4d429ee10000000a1553f7/frameset.htm

    With Regards,

    Roop Kumar.

    Edited by: Roop kumar Annavarapu on Sep 2, 2008 1:00 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 08:29 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 11:21 AM

    Hi All,

    Thanks for your response.I want to know how to add UI elements in a webdynpro application through CSS?

    How to make that CSS?

    can anyone please guide me...?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 12:17 PM

    Hi Ayyaparaj,

    Can u give me any useful links to go through about theme editors.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2008 at 09:50 AM

    Hi all,

    Kindly tolerate my ignorance.

    I still couldn't find answer for my question.

    can we add our own UI elements apart from those present in NWDS in our webdynpro apllication through CSS?

    If so how to create dat CSS?

    and how we import that CSS to our webdynpro project?

    Can anyone explain me in detail with an example.Please.....

    Thanking you in advance

    Hema

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      can we add our own UI elements apart from those present in NWDS in our webdynpro apllication through CSS?

      No. You can enhance the look and feel.

      Regards

      Ayyapparaj