display h1 and p on same line

Newbie Member
13Sep2006,22:48   #1
mcyi2mr3's Avatar
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
Team Leader
26Sep2006,13:42   #2
pradeep's Avatar
You have to use CSS...here's how to do it.

HTML Code:
 <h1 style='display:inline'>hi</h1><p style='display:inline'>cool</p>
Go4Expert Member
26Sep2006,20:49   #3
ryan's Avatar
or you could put the css in an external style sheey

Code:
H1 {
display: inline;
}