Preview and the first heading

4 views
Skip to first unread message

Markus

unread,
Jun 29, 2009, 4:50:43 AM6/29/09
to BoltWire
Hi,

When previewing a page that has a heading at the beginning, this
heading shows as normal text. Yet when the page is saved, it displays
as a heading.

Best wishes
Markus

The Editor

unread,
Jul 31, 2009, 10:08:29 AM7/31/09
to bolt...@googlegroups.com
Perhaps I'm misunderstanding, but I'm not getting this result? I
create a page test.header with some markup on it. Then created
test.somepage, typed some text, hit preview, and it showed up as
expected.

Make sure you have this line in your style sheet or something equivalent:

.preview { border: 2px dotted orange; padding:.5em; margin: 1em 0;

Cheers
Dan

Markus

unread,
Jul 31, 2009, 10:58:29 AM7/31/09
to BoltWire
Try to preview a page with the following content:

test
! test

Then try to preview:

! test

It seems to me that the source of the latter misses the opening h1
tag:

<p><div class='preview' > test</h1>
</div></p>

For the first example the source is:

<p><div class='preview' >test<br />
<h1> test</h1>
</div></p>

Obviously, without the opening tag, the headline renders as normal
text and the h1 style is not applied.

Can you now get the same results as me? :)

Regards, Markus
Reply all
Reply to author
Forward
0 new messages