Hi Coony,
On 22 Oct 12 23:41 Coony <
stew....@gmail.com> said:
> I am having trouble making the page center into web browser. Can
> anyone help me with this
The conventional method is to create a <div> to act as a wrapper for
the page content and add the styling rules required.
Do this:
1. Hit CTRL-A (to select entire page content)
2. Hit CTRL-X (to cut entire page content)
3. On the formatting toolbar, open the paragraph styling drop-down
list and select "Generic container <div>"
4. Hit CTRL-V (to paste the page content within the newly created
<div> tag)
5. On the Status line (aka "Tag bar") click on the <div> tag (to
select the wrapper)
6. On the Menu bar open Panels > Style Properties (to open the Style
Properties Panel)
7. On the panel, ensure the "Apply styles to:" field says "this
element through its ID" then open the "Geometry" section of the panel.
8. Open the Geometry section of the panel and enter a value for the
width - e.g. 960px (The Enter ID dialogue opens.)
9. Enter an ID name in the dialogue and click OK (Suggest: "wrapper")
10. Under Margins: clear the "Same four margins" box (to open the four
separate fields)
11. On the left and right margin fields select "Automatic"
Job done!
Notes:
# This process produces a new internal stylesheet (or adds the style
rule to an existing internal stylesheet) that will automatically
equalise the left and right margins, effectively centering the
contents of the wrapper.
# Ideally this style rule should be exported to a linked stylesheet so
it can be easily applied to all pages.
Greg Chapman
http://www.gregtutor.plus.com
Helping new users of KompoZer and The GIMP
Still exploring BlueGriffon