Forum Moderators: open
why would you advise against display:inline? As far as I know, and I donīt really know CSS, so I could very well be wrong, this is the only way to prevent a line feed.
Suppose we had the following html snippet:
<h1>Aaron</h1><p>Carter</p>
Without any CSS this would produce:
[6]Aaron[/6]Carter
All one could achieve with your suggestions would be:
[6]Aaron[/6]
Carter
But if I understood the original poster right than this is not what was desired. Digimon wanted to produce something like this:
[6]Aaron[/6]Carter
The only way to get that would be:
h1, p {
display: inline;
} Another way would be to declare the h1 as a float:left.
h1, p {
float:left;
} But then Carter would be aligned with the top of the large A. This is probably a matter of what looks more appealing. When you have quite a lot of text it might look good to have it floating around your heading.
Andreas
In printing you can find embedded headings (See LaTeX samples [math.jussieu.fr], Squeezing Space in LaTeX [www-h.eng.cam.ac.uk] the part about @startsection, Document Organization [english.ttu.edu] 5. Headings). That does not make them anything less than headings.
What need to put them inline?
To suggest a nicer and better looking styling for your page. Probably not suited for h[1-3] but ok for anything less. I like it. :)
Andreas
Hick:)
How many pint did you have already? ;)
[edited by: andreasfriedrich at 11:14 pm (utc) on Sep. 26, 2002]
Marketing teams input produces cross purposing in view of goal alignments due to knowlege paucity, necessitating workflow education and orientation. Media sourcing as an acquistion strategy is counterproductive in a internet environment in virtual component methodology. Imaging through ideals rather than real world branding, is a perilous undertaking with negative results. Branding strategies generating motion as activity without reproducible results is a ultimately futile effort if left in place.