display h1 and p on same line

L

libsfan01

hi all

in a cell in my table i want to display a h1 and a p on the same line.

how can this be achieved through style manipulation?

regards

marc
 
R

Richard Cornford

libsfan01 said:
in a cell in my table i want to display a h1 and a p on
the same line.

how can this be achieved through style manipulation?

CSS questions would be better asked on CSS newsgroups.

Richard.
 
R

Richard Cornford

libsfan01 said:
There arent any good ones :-(

Yes there are, but your style of asking questions may not get the best
responses from them.

Richard.
 
J

Joshie Surber

<style>
h1, h1+p {display:inline}
h1 {clear:left}
h1+p {clear:right}
</style>
Add classes, IDs, and the such as you see fit.
 
L

libsfan01

h1 {clear:left}
h1+p {clear:right}

thanks joshie.

does this however only work with 2 elements, what about 3?

also anyone know any good css groups?

regards

marc
 
S

scriptguru

Joshie Surber напиÑав:
<style>
h1, h1+p {display:inline}
h1 {clear:left}
h1+p {clear:right}
</style>
Add classes, IDs, and the such as you see fit.
try also
P {width:50%;float:left}
or
H1 {width:50%;float:left}

(depends on the current tags position)
 
R

Randy Webb

libsfan01 said the following on 9/9/2006 5:18 PM:
thanks joshie.

does this however only work with 2 elements, what about 3?

also anyone know any good css groups?

How about the one dedicated to CSS?

comp.infosystems.www.authoring.stylesheets

But, as Richard stated, your manner of asking questions may get you
black balled before you even start.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top