display h1 and p on same line

mcyi2mr3's Avatar
Newbie Member
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
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
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>
0
ryan's Avatar, Join Date: Aug 2006
Go4Expert Member
or you could put the css in an external style sheey

Code:
H1 {
display: inline;
}