606646
23
Zoom out
Zoom in
Previous page
1/58
Next page
KompoZer User Guide 17 December 2007 Based on version 0.7.10 23
How could that be used? Well perhaps your site
establishes a style using an external style sheet. Per-
haps you have one page about emergency procedures
and you decide that all its paragraphs should be in
red. You simply add an internal rule on that page
redefining the ‘p’ tag to be red but also link the page to
your normal style sheet. All your normal styles will be
applied except that all paragraph text will be in red,
nothing else will be non-standard.
KompoZer will actually allow you to link several
external sheets to a page. The browser reads these in
the order encountered and acts on the most recent
information read. Internal sheets still obtain priority
irrespective of the order they appear in the code.
The full rules for prioritisation are rather complex.
Perhaps in an attempt to assist here KompoZer allows
you to switch off style sheets while testing pages. With
the CaScadeS open (see later) select a stylesheet and
check the ‘Disabled’ box.
Styles employ a bespoke nomenclature. KompoZer
uses this little since, except in source view, the code is
hidden from the author. The terms involved do appear
in this User Guide. Here they are along with some
examples. The examples show the source code that
would appear either in the head area of your page or
in an external style sheet.
Style Nomenclature
Simple rule with one declaration p { font-family : Arial, sans-serif ;}
Rule with 2 declarations p { font-family : Arial, sans-serif ; font-size : medium ;}
Rule with 2 selectors h1 , h2 { Color : #990000 ;}
Rule with class selector .redtext { color : red ;}
Rule with complex selector * #menu li a:link { text-decoration : none ;}
Key:
Rules appear within a blue bordered box
Selectors have a red border and white background
Declarations have a dashed border
Properties have a green border and white background
Values have a magenta border and white background
* This selector selects list items in the div with id ‘menu’ and which are linked.
Creating a style rule for an element
4.2 Creating styles
4.2.1 Internal styles
As we will see later style rules are stored in style-
sheets. KompoZer includes a CSS editor called CaS-
cadeS which allows you to create stylesheets and
define rules. Before you define a rule you must have a
stylesheet but if you are working on a page which has
none CaScadeS will create one for you.
Creating a style rule for an element
To create a style rule for an element
1 Click the CaScadeS button on the Com-
position toolbar. The CSS Stylesheets
window opens.
2 Click on the artist's palette button. In the ‘Sheets
and rules’ pane you will see an internal style-
sheet has been created for you.
3 To create a rule click ‘Style applied to all ele-
ments of type’
4 Beside the blank box click the drop down arrow.
You will see listed a number of common ele-
ments. To create a style for one of these click it
alternatively enter the tag for any other element.
5 Click ‘Create Style rule’
6 You are now presented with a window headed
23


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Kompozer 07 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Kompozer 07 in the language / languages: English as an attachment in your email.

The manual is 2,17 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Kompozer 07

Kompozer 07 User Manual - German - 157 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info