Applying CSS Classes Working With HTML Tables
8.9 Applying CSS Classes
Site Studio, by default, applies font and paragraph settings directly inline to the text. Alternatively, you can apply classes from a cascading style sheet to your text and images. Using CSS classes, you can store all of your font and paragraph settings in one location and then apply those settings to your web page. This saves you time, because rather than change the font and paragraph settings for each individual heading or paragraph, you can specify a class for each one. If you must change those settings, simply update the class. To implement CSS classes, you insert a reference to your style sheet in the head of your page template. You can do this using a relative path, for example: link href=--HttpRelativeWebRoot--groupspublicdocumentsadacctstylesheet.css type=textcss rel=stylesheet Or, more typically, you put them in a fragment. Placing CSS references in a fragment does not expose the directory structure of your server. Then, apply the class names from the style sheet to your text and graphics by editing the page template in Source view or by using the Properties pane in Design view. Figure 8–6 Using the Properties Pane to Apply the Class MyNewStyle. The Site Assets pane in Designer can be very useful for adding, editing, and identifying the path to the Cascading Style Sheet in the content server. Many of the fragments that come with Site Studio contain CSS files as an asset to the fragment see Adding, Editing, and Deleting Fragment Assets on page 13-15. You can reference class names from those CSS files, too, if you like. 8-10 Oracle Fusion Middleware Users Guide for Site Studio Designer You may also want to make these classes available to contributors while working in the Contributor application. This helps you enforce consistency across the site and make site-wide style updates much easier.8.10 Working With HTML Tables
HTML tables are often used in web page design. They can be used to structure a web page when you do not want to use cascading style sheets to do so. The treatment of HTML tables in a page template is no different from tables in other web pages. There are two principal uses for an HTML table: 1 to present data in a tabular format, and 2 to lay out text and graphics on a web page. As the designer of the site, you may find yourself using tables more frequently for the latter. Working in a table, you can control how content appears on the web page by specifying the size and location of the table, the size of each column and row, and the content that goes into each cell. You keep your site visitors from seeing the table by hiding its borders. In Site Studio, tables are especially useful for positioning contribution regions and the elements within them. To make specific edits to your table, you can modify the HTML TABLE tag directly in the Properties pane. You can also make changes in source view. Figure 8–7 Properties of the TABLE Tag in Design View In the Properties pane, you can change the background color, border width, cell padding, and several other settings. All of the attributes that would be entered into the TABLE tag are available in the Property Panel. For a complete description of the TABLE tag, visit the World Wide Web Consortium W3C Web site: http:www.w3.orgTRhtml401structtables.htmledef-TABLE .8.11 Viewing Templates in Designer
Parts
» Oracle Fusion Middleware Online Documentation Library
» About Site Studio Designer, Manager, and Contributor
» Oracle Content Server and Site Studio Reusable Assets and Content
» Compared to Site Studio 10gR4 10.1.4.0.0 - Build 9.0.0.354 Compared to Site Studio 10gR3
» Context Menus Standard Windows Keyboard Shortcuts Site Studio Designer-Specific Keyboard Shortcuts
» Web Sites in HCSP, JSP, and ASP System Requirements About Designer
» System Requirements Installing Designer Uninstalling a Previous Version of Site Studio Designer
» Site Presentation Files Separation of Site Presentation and Content
» Site Content Files Site Control and Configuration Files
» Managed Web Sites Site Asset Storage
» Site Roles Presentation Model
» Contribution Model Oracle Fusion Middleware Online Documentation Library
» Site Object Hierarchy Oracle Fusion Middleware Online Documentation Library
» Reusing Site Assets Oracle Fusion Middleware Online Documentation Library
» Elements and Element Definitions
» Region Templates and Region Definitions
» Placeholders and Placeholder Definitions
» Subtemplates Page Templates Oracle Fusion Middleware Online Documentation Library
» Contributor Data Files and Native Documents
» Fragments Cascading Style Sheets
» Project Files Primary and Secondary Pages
» Why Is Planning Important? What Parts of the Site Will Be Reused?
» Naming Site Assets Oracle Fusion Middleware Online Documentation Library
» Will Contributors Submit Native Documents? How Will the Contribution Process Be Coordinated?
» Order of Site Asset Creation Creating Element Definitions
» Creating Region Definitions Creating Region Templates
» How Will The Placeholder Function On The Page? What Will The Placeholder Definition Control?
» How Should Fragments Be Used? Will Primary and Secondary Pages Require Different Templates?
» How Reusable Should The Page Templates Be? Should There Be Both Primary and Secondary Pages?
» How Will Content Be Reused? Will A Manager Be Necessary?
» Installing Designer Starting Designer Main Designer Window
» Site Hierarchy Properties Pane
» Standard Toolbar Site Toolbar
» Formatting Toolbar HTML Toolbar
» Log File Site Connection Manager
» Link Wizard Oracle Fusion Middleware Online Documentation Library
» Switch Content Wizard Oracle Fusion Middleware Online Documentation Library
» Fragment Editor Oracle Fusion Middleware Online Documentation Library
» Launching Contributor Site Studio Contributor
» Contributor Editor Site Studio Contributor
» Contributor and Workflows Site Studio Contributor
» Site Studio Manager Site Studio Administration Page in Oracle Content Server
» Site Studio Publisher in Oracle Content Server
» Publish Now Site Studio Publisher
» Moving or Docking a Pane to a Different Border
» Using the Customize Dialog Creating a New Menu
» Adding Shortcuts to the Tools Menu
» Assigning Keyboard Shortcuts Setting Display Options
» Changing the Path Used in a Site Address
» Beside Stopped Site Page, click the Additional Information icon
» About Page Templates About Region Templates
» Changing Log File Settings Understanding the Contribution Regions
» Inserting Placeholders Inserting Objects Inserting Fragments
» Working With Text Arranging Objects on the Template
» Applying CSS Classes Working With HTML Tables
» Region Templates and Region Definitions Working With Native Documents and Conversion Definitions
» About Placeholder Definitions About Region Definitions
» Creating a New Definition Copying a Definition
» From the menu bar, select File, then select Definitions, then select Upload
» Contributor Data Files Native Documents Conversion Definitions Images
» Working With Element Definitions Creating a New Content File Copying a Content File
» Requirements for Native Documents
» Using Dynamic Converter Template Selection Rules Sample Fragments for Native Documents
» About Scripts About Custom Configuration Scripts About Custom Element Forms
» Implementing a Custom Element
» Backward Compatibility and Upgrading Sample Custom Elements
» Working With Images Custom Configuration Scripts
» Default Validation Options Oracle Fusion Middleware Online Documentation Library
» In the Site Hierarchy pane, right-click the desired section and choose Select
» Viewing and Editing Web Site and Section Properties
» Expanding and Collapsing the Site Hierarchy Refreshing Your Site Hierarchy in Designer
» Working With Fragments Assigning Content With The Switch Content Wizard
» Hyperlink Formats Working With Links
» Color-Coded Differences when Comparing Web Pages Using the Compare Changes Feature
» About Fragments Adding and Editing Fragments
» Fragment Handling in Templates Fragments in the Toolbox
» Filtering Fragments in the Toolbox Adding Fragments to a Template
» Click OK. Changing the Parameters of a Fragment
» Creating a New Fragment Deleting a Fragment
» Inserting Parameters and Parameter Declarations in a Snippet
» Deleting a Fragment in the Toolbox About Site Reports Web Site Objects Report Site Usage Report
» Choose Content Tracker Report.
» Content Tracker Report About Workflows Workflow Types
» Workflow Experience for Contributors Setting Up a Workflow
» Contributor Data Files in Workflows Native Documents in Workflows
» About Site Studio Manager Choosing Where and When to Display Manager
» When Manager is Displayed Creating a Manager Configuration Settings File
» Copying a Manager Configuration Settings File
Show more