Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Line-height

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Martin1 Posted - 06 Apr 2007 : 17:02:57
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
5   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 11 Apr 2007 : 09:04:49
[2 ()-)]
Martin1 Posted - 10 Apr 2007 : 23:16:48
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
s.dav Posted - 10 Apr 2007 : 21:23:17
;-) I'm using Mosaic, do you know?
Martin1 Posted - 10 Apr 2007 : 15:16:10
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
s.dav Posted - 09 Apr 2007 : 18:57:03
Yes, maybe in the future. I've to check its compatibility.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000