Annoying Formatting

  • Thread starter Thread starter Victor
  • Start date Start date
V

Victor

I've got a very long list that I want to post, that I want to be formatted like this:

<p><h3>Heading Goes Here</h3>This is the explanation</p>

But when I start with this:

<p>Heading Goes Here This is the explanation</p>

When I select "Heading Goes Here" and then apply H3 to it from the Style drop-down menu,
it applies H3 to the entire line, not only the three words that I only want it to apply
to.

The list is oh so very long, manually applying the HTML is quite tedious.

How do I do this?

Vic
 
Why not enter the whole thing in the font you want (default or whatever),
then select the heading only and enlarge the size of it?
Or you can have </p> after the heading and format the resulting two
paragraphs as you wish (for instance, zero space between them).
 
You can not nest a H tag in a P tag
Correct html is
<h3>Heading Goes Here</h3>
<p>This is the explanation</p>

To easily do this to text like
"Heading Goes Here This is the explanation"
Just hit the Enter key after "Here" and apply the H tag to the 1st part
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| I've got a very long list that I want to post, that I want to be formatted like this:
|
| <p><h3>Heading Goes Here</h3>This is the explanation</p>
|
| But when I start with this:
|
| <p>Heading Goes Here This is the explanation</p>
|
| When I select "Heading Goes Here" and then apply H3 to it from the Style drop-down menu,
| it applies H3 to the entire line, not only the three words that I only want it to apply
| to.
|
| The list is oh so very long, manually applying the HTML is quite tedious.
|
| How do I do this?
|
| Vic
|
|
|
|
 
You can't as this construct is invalid HTML. It must look like this
instead:
<h3>Heading Goes Here</h3><p>This is the explanation</p>

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Three words: Search Engine Optimization.


Mir said:
Why not enter the whole thing in the font you want (default or whatever),
then select the heading only and enlarge the size of it?
Or you can have </p> after the heading and format the resulting two
paragraphs as you wish (for instance, zero space between them).
 
Ah, I think I've got my compliant solution:

Stefan and Jens, I can use the correct HTML you recommend, and get the formatting I want
with these styles inside my ID:

#bodytext h3 {margin-bottom:0px;}
#bodytext p {margin-top:0px;}

That will give me, inside the bodytext ID:


HEADING GOES HERE
This is the explanation, with no blank line above

HEADING GOES HERE AGAIN WITH BLANK LINE
This is the explanation, with no blank line above

Thanks, all

Vic


...
 
Back
Top