Ok, looks like a couple problems, but hopefully easy to fix...   Hmmm

First, the text input problem actually turned out to be quite tricky
to fix. I'm exploring, but it goes deep. In the mean time, you might
try using a style sheet to define the style and just add an id or
class to the input markup...  I think that's the usual approach...

[text class=search...]

Second to get the style working for the images, I neglected to add
that parameter to the allowed attr's for form submit images. Go to
engine.php around line 169 and add "style: to the list, It should look
like this:

$BOLTattrs['image'] = 'name,src,alt,align,class,id,disabled,style';

Just an oversight, because I've never tried this before. I'll fix with
the next release of BoltWire

Cheers,
Dan


On Wed, Aug 24, 2011 at 12:58 AM, zenith <[email protected]> wrote:
> Thanks for your reply Dan!
> It works to use style on the text input field, however not combined
> with a value (which is what I would like). This code puts the style
> code into the value of the text field instead of into the style
> parameter:
> [text myquery "{?myquery}" style="width:80px; height:12px; border:0px;
> background-color:#fa3; line-height:0.7em;"]
>
> There is a problem with the image too, as it omits the style and adds
> "files/" to the src:
> [image src="../boltwire/farm/img/search16.png" style="float:right;
> margin-top:5px; border:9px solid;"]    returns   <input type='image'
> src='files/../boltwire/farm/img/search16.png'  />
>
> zenith
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to