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
AlignPossible Block, Left, Right, Center
LabelType No_Label
HTMLTag p
HTMLStyle
div.standard {
text-indent: 2em;
margin-bottom: 2ex;
}
EndHTMLStyle
End
Input stdtitle.inc

View File

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

View File

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