You are not logged in.


Monday, May 30th 2011, 11:14am

is there any way to get height of [p] from html element of "Textfield"


Is there any way to get a height of [p] tag from html element of "textfield" plugin.

<plugin name="popup" enabled="true" url="plugins/textfield.swf" keep="true" offset="center" align="center" edge="center" x="0" y="0" width="80%" html="[p]This is some content[/p]" css="p{color:#FFFFFF; font-family:Arial; font-size:12px; font-weight:bold; text-align:center; backgrond=#000000; padding:0px; margin:0px 0px 0px 0px; text-align:center; display:inline-block; text-shadow: 2px 2px 2px #000; height:auto; border:1px solid #FF0000;}" />

I want height of [p] tag and need set that height to "textfield" plugin, as content which are coming in [p] tag are not fixes it is vary in all the panos.

Please help me out.



Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message


Monday, May 30th 2011, 3:14pm

Set it in the CSS.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter ::


Tuesday, May 31st 2011, 6:20am

Hi sachagriffin,

I have tried some CSS hack for vertical center. but as KRPano doesn't support all the html tag and css hacks.
can you please give me some idea how about how to write css for vertical center content in KRPano?