This is a discussion on "Help with "H" tags" within the Web Page Design section. This forum, and the thread "Help with "H" tags are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Help with "H" tags
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help with "H" tags
Hey there!
I've noticed that whenever I use an "H" tag like <h4> or <h5>, the text next to it is shown on the next line. I was wondering of there's any chance to place the text right next to what goes on the "H" tag. Any ideas might help, thanks... Here's an example in case I wasn´t very clear: <h4>MY TITLE GOES HERE</h4> <span>Some amazing text</span> It's not about the span tag. The output would be: MY TITLE GOES HERE Some amazing text I'd like it to be: MY TITLE GOES HERE Some amazing text |
|
|
|
|||
|
Re: Help with "H" tags
Well since it is for defining titles and more often then not titles go on their own lines, h# tags were defined as block level which is why the behave the manner you describe. You can always just use <span></span> with a class or id to alter the font to show up like you want it to.
If you insist on using h# tags then you can define it as an inline item with a little css: display: inline; For you example to display the bottom results you can do this: h4{ display: inline; } |
![]() |
| Tags |
| help, quothquot, tags |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a "tag" system to find relevant "related" pages | MrQuestions | PHP Forum | 3 | Mar 20th, 2008 23:06 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| Image "Alt" tags not working | terrycr | Web Page Design | 35 | May 24th, 2007 00:33 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |