Tags for lots of things are going to have to be div, because we can't do

things like <p><div>...</div></p>. Why not, I have no idea. Seems pretty
sensible to me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32095 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-19 21:13:19 +00:00
parent e8ee20e5d7
commit 194254082e
3 changed files with 20 additions and 9 deletions

View File

@ -19,7 +19,12 @@ Style Standard
Align Block Align Block
AlignPossible Block, Left, Right, Center AlignPossible Block, Left, Right, Center
LabelType No_Label LabelType No_Label
HTMLTag p HTMLStyle
div.standard {
text-indent: 2em;
margin-bottom: 2ex;
}
EndHTMLStyle
End End
Input stdtitle.inc Input stdtitle.inc

View File

@ -35,7 +35,12 @@ Style Standard
Align Block Align Block
AlignPossible Block, Left, Right, Center AlignPossible Block, Left, Right, Center
LabelType No_Label LabelType No_Label
HTMLTag p HTMLStyle
div.standard {
text-indent: 2em;
margin-bottom: 2ex;
}
EndHTMLStyle
End End
#Input stdcharstyles.inc #Input stdcharstyles.inc

View File

@ -77,9 +77,9 @@ InsetLayout Marginal
EndFont EndFont
MultiPar true MultiPar true
NeedProtect true NeedProtect true
HTMLTag span HTMLTag div
HTMLStyle HTMLStyle
span.marginal { div.marginal {
border: 2px solid black; border: 2px solid black;
padding: 1ex; padding: 1ex;
margin: 1ex; margin: 1ex;
@ -107,9 +107,9 @@ InsetLayout Foot
Size Small Size Small
EndFont EndFont
MultiPar true MultiPar true
HTMLTag span HTMLTag div
HTMLLabel \arabic{footnote} HTMLLabel \arabic{footnote}
HTMLInnerTag span HTMLInnerTag div
HTMLStyle HTMLStyle
span.foot_label { span.foot_label {
vertical-align: super; vertical-align: super;
@ -117,10 +117,10 @@ InsetLayout Foot
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
span.foot_inner { div.foot_inner {
display: none; display: none;
} }
span.foot:hover span.foot_inner { div.foot:hover div.foot_inner {
display: block; display: block;
border: 1px double black; border: 1px double black;
margin: 0em 1em; margin: 0em 1em;
@ -154,6 +154,7 @@ InsetLayout Note:Note
Size Small Size Small
EndFont EndFont
MultiPar true MultiPar true
HTMLTag div
HTMLIsBlock false HTMLIsBlock false
# FIXME HTML Need CSS # FIXME HTML Need CSS
End End
@ -169,7 +170,6 @@ InsetLayout Note:Greyedout
Size Small Size Small
EndFont EndFont
MultiPar true MultiPar true
HTMLTag span
HTMLStyle HTMLStyle
span.note_greyedout { span.note_greyedout {
background-color: #A0A0A0; background-color: #A0A0A0;
@ -177,6 +177,7 @@ InsetLayout Note:Greyedout
padding-right: 1ex; padding-right: 1ex;
} }
EndHTMLStyle EndHTMLStyle
HTMLTag div
HTMLIsBlock false HTMLIsBlock false
End End