Ask a Question related to HTML & CSS, Design and Development.
-
Zakarumite #1
Line spacing
sorry for my ignorance, but how do I define the space between lines in designer
mode.
example, if i write a poem the lines should appear close to each other, but
they appear to spaced out, and I just can't find the option to alter that....
if anyone can help I would be thankful.
Zakarumite Guest
-
line spacing help!
I'm trying to get Contribute to let me single-space something! In a Word Document, one can go to Format-Paragraph - and then adjust the line spacing... -
Line Spacing and external CSS
Hello! I'm loading an HTML-Document into a texfield and use an external CSS-document for formatting. My problem is: how can i change the line... -
Line spacing changes
Contribute 3 has started changing the line spacing when I paste/insert from MS Word. Some parts of documents retain the single line spacing while... -
Line spacing in Pub 02
I'm working with Pub 02, using just the basic fonts (serif and san serif), regular font size (10), for all my text, and only single-line spacing... -
text line spacing and line tool
1.) Using InDesign 2.0.2 - When aligning text (in one particular text frame)to a base grid, the text will always skip one line even though the base... -
Murray *TMM* #2
Re: Line spacing
Use CSS to change the inherent margins for the <p> tag -
p { margin:2px; } /* adjust to suit */
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Zakarumite" <webforumsuser@macromedia.com> wrote in message
news:darign$oa9$1@forums.macromedia.com...> sorry for my ignorance, but how do I define the space between lines in
> designer
> mode.
> example, if i write a poem the lines should appear close to each other,
> but
> they appear to spaced out, and I just can't find the option to alter
> that....
>
> if anyone can help I would be thankful.
>
Murray *TMM* Guest
-
rob::db #3
Re: Line spacing
Create a style for the <p> tag your poem's in (or whatever tag its in), and
set the line-height for that style, either in pixels of ems. For example,
poem_block
{
font-size:11px; line-height:15px
}
I don't think altering the margins will make any difference to how far apart
the lines of a block of text are spaced.
Hope that helps,
Rob
Zakarumite wrote:> sorry for my ignorance, but how do I define the space between lines
> in designer mode.
> example, if i write a poem the lines should appear close to each
> other, but they appear to spaced out, and I just can't find the
> option to alter that....
>
> if anyone can help I would be thankful.
rob::db Guest
-
Murray *TMM* #4
Re: Line spacing
Certainly it will. Try it and see.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"rob::db" <rob@digitalburn.net> wrote in message
news:dasbo2$rj3$1@forums.macromedia.com...> Create a style for the <p> tag your poem's in (or whatever tag its in),
> and
> set the line-height for that style, either in pixels of ems. For example,
>
> poem_block
> {
> font-size:11px; line-height:15px
> }
>
> I don't think altering the margins will make any difference to how far
> apart
> the lines of a block of text are spaced.
>
> Hope that helps,
>
> Rob
>
>
> Zakarumite wrote:>>> sorry for my ignorance, but how do I define the space between lines
>> in designer mode.
>> example, if i write a poem the lines should appear close to each
>> other, but they appear to spaced out, and I just can't find the
>> option to alter that....
>>
>> if anyone can help I would be thankful.
>
Murray *TMM* Guest
-
rob::db #5
Re: Line spacing
Sorry Murray, I just tried it, with a big block of text, and it didn't do
much, with <p style='margin:5px'>... stuff... </p> (no other styling defined
for the tag). For the same styling with a span tag, it indented the left of
the first line to the specified amount, which isn't surprising. That's all
in XHTML 1.0 Transitional.
Even if it did work, it's far better to use the line-height property, which
is designed for the task, and won't lead to unexpected results. For example,
if you wanted to put the text in a positioned <div> tag, even if it did
affect the line-height, (which it won't), it will cause the <div> to have
margins all around it, which you probably don't want.
Murray *TMM* wrote:> Certainly it will. Try it and see.
>
>
> "rob::db" <rob@digitalburn.net> wrote in message
> news:dasbo2$rj3$1@forums.macromedia.com...>> Create a style for the <p> tag your poem's in (or whatever tag its
>> in), and
>> set the line-height for that style, either in pixels of ems. For
>> example,
>>
>> poem_block
>> {
>> font-size:11px; line-height:15px
>> }
>>
>> I don't think altering the margins will make any difference to how
>> far apart
>> the lines of a block of text are spaced.
>>
>> Hope that helps,
>>
>> Rob
>>
>>
>> Zakarumite wrote:>>> sorry for my ignorance, but how do I define the space between lines
>>> in designer mode.
>>> example, if i write a poem the lines should appear close to each
>>> other, but they appear to spaced out, and I just can't find the
>>> option to alter that....
>>>
>>> if anyone can help I would be thankful.
rob::db Guest
-
Murray *TMM* #6
Re: Line spacing
Let's make sure there is agreement on what we are discussing.
Changing the margin on the <p> tag will affect the space between adjacent
paragraphs, e.g.,
<p> this one </p>
<p> and this one </p>
Changing the line height will adjust the space between each line within a
paragraph, e.g.,
<p>this line <br> and this one <br> and this one </p>
The OP was asking about the first example as I read it. You read it as the
second one.
And XHTML matters not at all.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"rob::db" <rob@digitalburn.net> wrote in message
news:dasdto$ui$1@forums.macromedia.com...> Sorry Murray, I just tried it, with a big block of text, and it didn't do
> much, with <p style='margin:5px'>... stuff... </p> (no other styling
> defined
> for the tag). For the same styling with a span tag, it indented the left
> of
> the first line to the specified amount, which isn't surprising. That's all
> in XHTML 1.0 Transitional.
>
> Even if it did work, it's far better to use the line-height property,
> which
> is designed for the task, and won't lead to unexpected results. For
> example,
> if you wanted to put the text in a positioned <div> tag, even if it did
> affect the line-height, (which it won't), it will cause the <div> to have
> margins all around it, which you probably don't want.
>
>
>
>
> Murray *TMM* wrote:>>> Certainly it will. Try it and see.
>>
>>
>> "rob::db" <rob@digitalburn.net> wrote in message
>> news:dasbo2$rj3$1@forums.macromedia.com...>>> Create a style for the <p> tag your poem's in (or whatever tag its
>>> in), and
>>> set the line-height for that style, either in pixels of ems. For
>>> example,
>>>
>>> poem_block
>>> {
>>> font-size:11px; line-height:15px
>>> }
>>>
>>> I don't think altering the margins will make any difference to how
>>> far apart
>>> the lines of a block of text are spaced.
>>>
>>> Hope that helps,
>>>
>>> Rob
>>>
>>>
>>> Zakarumite wrote:
>>>> sorry for my ignorance, but how do I define the space between lines
>>>> in designer mode.
>>>> example, if i write a poem the lines should appear close to each
>>>> other, but they appear to spaced out, and I just can't find the
>>>> option to alter that....
>>>>
>>>> if anyone can help I would be thankful.
>
Murray *TMM* Guest
-
rob::db #7
Re: Line spacing
I didn't think the fact that I used XHTML would matter, but it's best to be
complete when quoting results.
I read "the space between lines" as meaning the space between lines, not hte
space between paragraphs, which I think was what the original poster was
asking for. Of course, specifying margins for a <p> element will effect the
spacings around it, as you say.
Murray *TMM* wrote:> Let's make sure there is agreement on what we are discussing.
>
> Changing the margin on the <p> tag will affect the space between
> adjacent paragraphs, e.g.,
>
> <p> this one </p>
> <p> and this one </p>
>
> Changing the line height will adjust the space between each line
> within a paragraph, e.g.,
>
> <p>this line <br> and this one <br> and this one </p>
>
> The OP was asking about the first example as I read it. You read it
> as the second one.
>
> And XHTML matters not at all.
>
>
> "rob::db" <rob@digitalburn.net> wrote in message
> news:dasdto$ui$1@forums.macromedia.com...>> Sorry Murray, I just tried it, with a big block of text, and it
>> didn't do much, with <p style='margin:5px'>... stuff... </p> (no
>> other styling defined
>> for the tag). For the same styling with a span tag, it indented the
>> left of
>> the first line to the specified amount, which isn't surprising.
>> That's all in XHTML 1.0 Transitional.
>>
>> Even if it did work, it's far better to use the line-height property,
>> which
>> is designed for the task, and won't lead to unexpected results. For
>> example,
>> if you wanted to put the text in a positioned <div> tag, even if it
>> did affect the line-height, (which it won't), it will cause the
>> <div> to have margins all around it, which you probably don't want.
>>
>>
>>
>>
>> Murray *TMM* wrote:>>> Certainly it will. Try it and see.
>>>
>>>
>>> "rob::db" <rob@digitalburn.net> wrote in message
>>> news:dasbo2$rj3$1@forums.macromedia.com...
>>>> Create a style for the <p> tag your poem's in (or whatever tag its
>>>> in), and
>>>> set the line-height for that style, either in pixels of ems. For
>>>> example,
>>>>
>>>> poem_block
>>>> {
>>>> font-size:11px; line-height:15px
>>>> }
>>>>
>>>> I don't think altering the margins will make any difference to how
>>>> far apart
>>>> the lines of a block of text are spaced.
>>>>
>>>> Hope that helps,
>>>>
>>>> Rob
>>>>
>>>>
>>>> Zakarumite wrote:
>>>>> sorry for my ignorance, but how do I define the space between
>>>>> lines in designer mode.
>>>>> example, if i write a poem the lines should appear close to each
>>>>> other, but they appear to spaced out, and I just can't find the
>>>>> option to alter that....
>>>>>
>>>>> if anyone can help I would be thankful.
rob::db Guest
-
Murray *TMM* #8
Re: Line spacing
Yep - so we need to wait for the OP to show up....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"rob::db" <rob@digitalburn.net> wrote in message
news:dashsu$5sa$1@forums.macromedia.com...>I didn't think the fact that I used XHTML would matter, but it's best to be
> complete when quoting results.
>
> I read "the space between lines" as meaning the space between lines, not
> hte
> space between paragraphs, which I think was what the original poster was
> asking for. Of course, specifying margins for a <p> element will effect
> the
> spacings around it, as you say.
>
>
> Murray *TMM* wrote:>>> Let's make sure there is agreement on what we are discussing.
>>
>> Changing the margin on the <p> tag will affect the space between
>> adjacent paragraphs, e.g.,
>>
>> <p> this one </p>
>> <p> and this one </p>
>>
>> Changing the line height will adjust the space between each line
>> within a paragraph, e.g.,
>>
>> <p>this line <br> and this one <br> and this one </p>
>>
>> The OP was asking about the first example as I read it. You read it
>> as the second one.
>>
>> And XHTML matters not at all.
>>
>>
>> "rob::db" <rob@digitalburn.net> wrote in message
>> news:dasdto$ui$1@forums.macromedia.com...>>> Sorry Murray, I just tried it, with a big block of text, and it
>>> didn't do much, with <p style='margin:5px'>... stuff... </p> (no
>>> other styling defined
>>> for the tag). For the same styling with a span tag, it indented the
>>> left of
>>> the first line to the specified amount, which isn't surprising.
>>> That's all in XHTML 1.0 Transitional.
>>>
>>> Even if it did work, it's far better to use the line-height property,
>>> which
>>> is designed for the task, and won't lead to unexpected results. For
>>> example,
>>> if you wanted to put the text in a positioned <div> tag, even if it
>>> did affect the line-height, (which it won't), it will cause the
>>> <div> to have margins all around it, which you probably don't want.
>>>
>>>
>>>
>>>
>>> Murray *TMM* wrote:
>>>> Certainly it will. Try it and see.
>>>>
>>>>
>>>> "rob::db" <rob@digitalburn.net> wrote in message
>>>> news:dasbo2$rj3$1@forums.macromedia.com...
>>>>> Create a style for the <p> tag your poem's in (or whatever tag its
>>>>> in), and
>>>>> set the line-height for that style, either in pixels of ems. For
>>>>> example,
>>>>>
>>>>> poem_block
>>>>> {
>>>>> font-size:11px; line-height:15px
>>>>> }
>>>>>
>>>>> I don't think altering the margins will make any difference to how
>>>>> far apart
>>>>> the lines of a block of text are spaced.
>>>>>
>>>>> Hope that helps,
>>>>>
>>>>> Rob
>>>>>
>>>>>
>>>>> Zakarumite wrote:
>>>>>> sorry for my ignorance, but how do I define the space between
>>>>>> lines in designer mode.
>>>>>> example, if i write a poem the lines should appear close to each
>>>>>> other, but they appear to spaced out, and I just can't find the
>>>>>> option to alter that....
>>>>>>
>>>>>> if anyone can help I would be thankful.
>
Murray *TMM* Guest
-
Zakarumite #9
Re: Line spacing
sorry for this kind of confusing text but i was refering to space between
paragraphs, I will try to make an CSS style altough I've never worked with this
option, I'm a begginer.....
Thanks for the help
Zakarumite Guest
-
Murray *TMM* #10
Re: Line spacing
YAY! That's what I thought you meant. 8)
It's simple. Open the page, display the CSS panel with WINDOW | CSS Styles
(Shift-11), and click on the New Style icon. You can elect to embed this
style in the current page, or to write it to an external stylesheet file.
Then select the tag radio button (since you are redefining an HTML tag - the
'p' tag), scroll to and select 'p', and under the BOX category, you will
find the option to change the margins for top, right, bottom and left.
Adjust to suit and press enter or click OK. That's it.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Zakarumite" <webforumsuser@macromedia.com> wrote in message
news:db01e6$h4c$1@forums.macromedia.com...> sorry for this kind of confusing text but i was refering to space between
> paragraphs, I will try to make an CSS style altough I've never worked with
> this
> option, I'm a begginer.....
>
> Thanks for the help
>
Murray *TMM* Guest
-
GPM247 #11
Line Spacing
Hi
I hope someone can help.
When typing within contribute and then press return to start a new line, the gap between the lines is to big, it dont match the rest of the site.
Regards
Gary
GPM247 Guest
-
ThinkInk #12
Re: Line Spacing
You have several options.
1. you can use linebreaks (Shift + Enter) or in the menu go to2. you can set the margin and padding in your CSS for the p tag to 0>Insert>Linebreak
3. (not my favourite cause the p-tags get attributes inside that you better
have in your CSS-file) you can adjust settings in the admin section to use
Dreamweaver like p-tags or Text-processor like p-tags (then Contribute ads
style="margin:0;" to the tag)
ThinkInk Guest



Reply With Quote

