Sie sind nicht angemeldet.

1

Donnerstag, 28. Oktober 2010, 19:24

Small issue with textfield

Hello,

Have a small issue with the textfield placing a period (.) or dot next to the image. If I remove the image the dot goes away. I suspect this issue is causing my why the image bleeds outside the textfield box. Here is my code and an image. Help on this is much appreciated.

Zitat

<krpano version="1.0.8" onstart="action(start);">
<plugin name="text_01" url="plugins/textfield.swf"
align="center" width="580" height="300" x="0" y="0" visible="false"
html="data:html_text_01"
css="data:css1_text_01"
keep="true"
roundedge="1"
borderwidth="1"
bordercolor="0xFFFFFF"
backgroundcolor="0xFFFFFF"
selectable="false"
alpha="0.7"
shadow="5"
autosize="center"
onhover="showtext(Click to Close, csmall);"
onclick="action(close,text_01);"
/>

<data name="html_text_01">
<p align="left">
<font face="arial" size="+3">
<b>About This Flooring</b>
</font>
</p>
<a>
<img src="images/floor_westchester.jpg"/>
</a>
<br/><br/>
<p align="left">
<font face="times" size="+1">
Hardwood flooring is the value-added way to bring beauty and warmth to your home. Hardwood floors are a great investment, are easy to clean and maintain, and are naturally safe for the environment.<br/>
<br/>
Bruce hardwood flooring is known for being the tough and durable, yet affordable solution for wood floors. Not only are our hardwood floors strong, but also are gorgeous and pleasing to the eye. You can’t go wrong with a Bruce hardwood floor.<br/>
<br/>
To read floor specifications <a href="http://www.bruce.com/resflram/na/bruce/en/us/prod_detail.asp?itemId=106556.0&lineId=6029.0" target="_blank">click here</a>.
</font>
</p>
</data>

<data name="css1_text_01">
a { text-decoration:underline; color:#110088; font-weight:bold; }
a:hover { color:#885500; }
</data>
</krpano>
»rbudnikas« hat folgendes Bild angehängt:
  • textfield_issue.png

2

Donnerstag, 28. Oktober 2010, 20:15

Can you provide the image too?

floor_westchester.jpg

3

Donnerstag, 28. Oktober 2010, 20:35

Here you go.
»rbudnikas« hat folgendes Bild angehängt:
  • floor_westchester.jpg

4

Freitag, 29. Oktober 2010, 17:20

In my tests, your dot goeth away when I remove

text-decoration:underline;

from the code below


<data name="css1_text_01">
a { text-decoration:underline; color:#110088; font-weight:bold; }
a:hover { color:#885500; }
</data>

5

Samstag, 30. Oktober 2010, 00:35

Thanks Jarredja,

So my next question is if this is the problem and I still want the link underline what would be the correct statement? I could find anything that would work on the adobe flash site.

6

Samstag, 30. Oktober 2010, 00:46

At the moment, I don't know. I will try to find out. *confused*

7

Samstag, 30. Oktober 2010, 00:55

How about this??


<u>click here</u>

8

Samstag, 30. Oktober 2010, 18:30

Thanks. That works!

Ähnliche Themen