HighDots Forums  

Change spacing between lines

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Change spacing between lines in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 10:41 AM






.oO(judas2)

Quote:
After the perfect answer of James Shook I still doubt of what Nsv2
really needs. By the way I ask to you all a thing: what about using
different classes in the same paragraph? Is it not recommended?
Something like

<p class="foo bar">...</p>

or what? It's possible, personally I don't use it. I try to keep the
number of IDs and classes as small as possible. You can do a lot of
styling without classes, if you make use of all the different kinds of
selectors (especially descendant selectors, even IE recognizes them).

Micha


Reply With Quote
  #12  
Old   
judas2
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 11:51 AM






I just wonder if I couldn't use e.g.: .title instead of h1 and .text instead of p. Is it the same if I define classes instead of redefine tags?

Reply With Quote
  #13  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 12:00 PM



On 09 Jul 2004 in macromedia.dreamweaver, judas2 wrote:

Quote:
I just wonder if I couldn't use e.g.: .title instead of h1 and
.text instead of p. Is it the same if I define classes instead
of redefine tags?
You mean like:
<div class="title">Headline Goes Here</div>
<div class="text">Lorem Ipsum dolor sit amet ...</div>

Sure. However, search engines tend to like semantic markup:
<h1>Headline Goes Here</h1>
<p>Lorem Ipsum dolor sit amet ...</p>

SEs don't understand that <div class="title"> is the most important text
on the page; however, they do understand that if something is in a <hx>
tag, that it's important, and (As I Understand It) they rate pages that
way.

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php


Reply With Quote
  #14  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 12:29 PM



.oO(judas2)

Quote:
I just wonder if I couldn't use e.g.: .title instead of h1 and .text
instead of p. Is it the same if I define classes instead of redefine
tags?
First, .title applies to all elements of the class "title". And I wonder
why you want to do it. If you have a heading use a heading element, if
you have a paragraph use the paragraph element. Of course you can apply
classes to them if necessary.

Micha


Reply With Quote
  #15  
Old   
nsv2
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 12:43 PM



Thank you to all who replied to my question. Changing the CSS style margins
did the job. As a novice, I spent hours tyring to do read, learn, and do it on
my own. I should have asked from the professionals in the beginning. Thank
you again.


Reply With Quote
  #16  
Old   
judas2
 
Posts: n/a

Default Re: Change spacing between lines - 07-09-2004 , 12:44 PM



Joe Makowiec your answer has been very clear and convincing. Now I go out (on a certain bridge)
Thx a lot
Bye

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.