Avatar

format headline (General)

by Alfie ⌂, Vienna, Austria, Sunday, November 18, 2007, 00:21 (6004 days ago) @ Uli
edited by Alfie, Sunday, November 18, 2007, 00:30

Hi Uli!

My attempt to substitute h1 by b in thread.tpl.inc was without effect.
Probably the style.css has to be modified.

Both

<h1></h1> and <p></p>

are block-elements, i.e., a new line is added by default in (X)HTML.

If you want to avoid the line-feed you will have to define both as an inline-element.

Whereas

<h1>foo</h1><p>bar</p>

gives:

foo
bar

Modifying the CSS to

<h1 style="display: inline;">foo</h1><p style="display: inline;"> bar</p>

will give:

foo bar

Try to add

.posting h1 {display: inline; }
.posting p  {display: inline; }

to style.css...

Since I guess from your name and another post that you are german-speaking, see also SELFHTML for further help.

--
Cheers,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)

locked
4860 views

Complete thread:

 RSS Feed of thread