"ഫലകം:Quote box/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

196 ബൈറ്റുകൾ നീക്കംചെയ്തിരിക്കുന്നു ,  6 വർഷം മുമ്പ്
undo: gap is needed to separate [show] from content
(→‎Collapsing text: fix gap above hidden content)
(undo: gap is needed to separate [show] from content)
Note that, although {{para|halign|center}}, the centering is reset after the {{tl|hidden begin}}, since that template applies its own styling. This can be resolved by using {{para|contentstyle}} in {{tl|hidden begin}} with appropriate markup; in this case:
:{{tlx|hidden begin |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}}
 
There is also a gap above the hidden content when it is shown. This can be eliminated with {{para|style|margin-top: -5em}} in {{tl|hidden begin}}.
 
{{markup
“''Oh no, no,''” said the little Fly, “''to ask me is in vain,''
''For who goes up your winding stair can ne'er come down again.''”
{{hidden begin|style=margin-top: -5em |ta2=center |contentstyle=margin: 1em auto;}}
“I'm sure you must be weary, dear, with soaring up so high;
Will you rest upon my little bed?” said the Spider to the Fly.
“''Oh no, no,''” said the little Fly, “''to ask me is in vain,''
''For who goes up your winding stair can ne'er come down again.''”
{{hidden begin|style=margin-top: -5em |ta2=center |contentstyle=margin: 1em auto;}}
“I'm sure you must be weary, dear, with soaring up so high;
Will you rest upon my little bed?” said the Spider to the Fly.
0

തിരുത്തലുകൾ

"https://ml.wikipedia.org/wiki/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2361437" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്