By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,785 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,785 IT Pros & Developers. It's quick & easy.

Displaying text alongside heading instead of underneath??

P: n/a
I'm using <h1>MY HEADING</h1> to display a title, however I would like to
show one short line of text beside it<p>The short line of text</p>, and then
go back to normal.

Here's an example of how it keeps displaying now:

======================
MY HEADING
The short line of text

Back to normal

======================

Here's how I'd like it to display:

MY HEADING The short line of text

Back to normal

======================

Thanks
John

--
To contact directly:
Remove periods between letters
Change NON to NET
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
John B. wrote:
I'm using <h1>MY HEADING</h1> to display a title, however I would
like to show one short line of text beside it<p>The short line of
text</p>, and then go back to normal.

Here's an example of how it keeps displaying now:

======================
MY HEADING
The short line of text

Back to normal

======================

Here's how I'd like it to display:

MY HEADING The short line of text

Back to normal

======================


Apply display:inline to the css for h1

h1 {display:inline;}
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
Jul 20 '05 #2

P: n/a
Thanks, Peter. That did the trick.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.