This is one way to do it:
Here is a paragraph with several lines of text. Here is a paragraph with several lines of text. Here is a paragraph with several lines of text. Here is the sentence I want on a bigger line Here is a paragraph with several lines of text. Here is a paragraph with several lines of text.Here is a paragraph with several lines of text. Here is a paragraph with several lines of text.
However, you will not have control over the exact placement of the span and it could potentially end up spanning two lines.
I would recommend something like this:
Here is a paragraph with several lines of text. Here is a paragraph with several lines of text. Here is a paragraph with several lines of text.
Here is the sentence I want on a bigger line
Here is a paragraph with several lines of text. Here is a paragraph with several lines of text.Here is a paragraph with several lines of text. Here is a paragraph with several lines of text.
This allows you to have control over where the line is placed
2007-05-25 05:32:21
·
answer #1
·
answered by Brian D 2
·
0⤊
0⤋
ok well in my HTML book that I have this is what is says.
The Margin property controls how much space is added between elements. Most browers automatically add margin space to headers and paragraphs. To keep the header section next to the paragraph that follows it, set margins for both elements to 0 (zero).
h1 { margin : 0 }
p { margin - top : 0: margin - bottom : 12px }
To keep a certain amount of space between paragraphs, set the bottom margin to 12 pixels, as shown. Make sure there is no space between the 12 and the px.
The Section header look much better closer to the paragraph. Note that the body still has a bit of margin which is keeping the h1 and p elements from butting up next to the browser itself.
I hope this helps. if you have anymore questions feel free to ask.
2007-05-25 05:31:38
·
answer #2
·
answered by sexylittlemisstweetybird83 5
·
0⤊
0⤋
Hard to do, as your paragraph lines will be divided differently on different screens (e.g., different screen widths), on different resolutions, on different windows, on different browsers, and on, and on. Is that what you intend? Or do you intend to have strict granular control such that each line is of a fixed width with the same word at the beginning and end of each line no matter on which screen it is displayed, which browser, and so on.
If the latter, then it almost sounds as if you should style the lines as separate paragraphs, with style="margin: npx; padding: npx;" or some such...
Or you could make each line a graphic image, and display them even more to your liking...
2007-05-25 05:32:02
·
answer #3
·
answered by fjpoblam 7
·
0⤊
0⤋
use the tag "pre"
it helps you predefine the spacing in your editor . i.e. whatever spacing you put in your text based editor the same will be shown in your html page.
e.g.
hgkjgljglhlhklhkhk
kjgjlgljgljgljgljljgljggjl
,b,mbm,b.mb.n..
mv,v,nbv,b,bjkgbkj
will print as it is on html page also.
definitely solves ur question dear.
Enjoy!!!
2007-05-25 05:55:40
·
answer #4
·
answered by rohit k 2
·
0⤊
0⤋
use break lines,
not
and the tag is garbage, go to w3schools.com for more
2007-05-25 05:33:00
·
answer #5
·
answered by indigo 3
·
0⤊
0⤋
Um try this code
or
**this one means paragraph**
2007-05-25 05:27:30
·
answer #6
·
answered by spoonyl 3
·
0⤊
2⤋
There are a couple of ways to achieve this, the easiest is probably with use of a table
1 | The little kid sucks at html coding |
2 | we've know this now for years |
3 | maybe someone can help him |
2016-05-17 12:06:18
·
answer #7
·
answered by ? 3
·
0⤊
0⤋
With more brs or different sizes
2007-05-25 05:45:18
·
answer #8
·
answered by ROY L 6
·
0⤊
0⤋