Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Line-height
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martin1
Super User

Netherlands
626 Posts

Posted - 06 Apr 2007 :  17:02:57  Show Profile  Reply with Quote
Hmmm my post has seems to have disappeared[2 ?:-|].
So I'll post it again.

I was looking for an option in DHE to set the line-height of text. Can't seem to find it. Is this something you could add to the editor Davide?

Eaxmple:
http://www.w3schools.com/css/tryit.asp?filename=trycss_line-height

<style type="text/css">
p.small {line-height: 90%}
p.big {line-height: 200%}
</style>

<p>
This is a paragraph with a standard line-height.
The default line height in most browsers is about 110% to 120%.
This is a paragraph with a standard line-height.
This is a paragraph with a standard line-height.
</p>

<p class="small">
This is a paragraph with a smaller line-height.
This is a paragraph with a smaller line-height.
This is a paragraph with a smaller line-height.
This is a paragraph with a smaller line-height.
</p>

<p class="big">
This is a paragraph with a bigger line-height.
This is a paragraph with a bigger line-height.
This is a paragraph with a bigger line-height.
This is a paragraph with a bigger line-height.
</p>

Martin

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 Apr 2007 :  18:57:03  Show Profile  Visit s.dav's Homepage  Reply with Quote
Yes, maybe in the future. I've to check its compatibility.

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 10 Apr 2007 :  15:16:10  Show Profile  Reply with Quote
Line-height compatibillity:

http://www.westciv.com/style_master/academy/browser_support/text.html

Microsoft Internet Explorer 3.x incorrectly treats number values and values with em or ex units as pixel values. This bug can easily make pages unreadable, and so authors should avoid provoking it wherever possible; pixels units are often a good choice.

For some reason, Opera 4 will 'inherit' inline absolute (as well as pixels) line height declarations back up to the previous line. Thus if you specify line-height: 200px on an inline element, it will also affect text on the previous and following lines.


Not sure who still uses IE 3 and Opera 4 they are really really really old:-).

Martin
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Apr 2007 :  21:23:17  Show Profile  Visit s.dav's Homepage  Reply with Quote
;-) I'm using Mosaic, do you know?

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 10 Apr 2007 :  23:16:48  Show Profile  Reply with Quote
I might assume not the latest version 3 but the old version 2 hahahahaha. Man mosaic that's archaic[2 H:)]. It rhyms so it must be true!

Martin
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Apr 2007 :  09:04:49  Show Profile  Visit s.dav's Homepage  Reply with Quote
[2 ()-)]

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000