[ZendTo] Re: One more request: an "X" icon ?
Eythor Thorsteinsson
eythort at menandmice.com
Fri May 29 09:39:12 BST 2015
A basic thing in css like vertical align can really be cumbersome. I sometimes give up, and just use a table :)
You could also just skip the img and use the text with some more style:
<a href="#" style="color:red;font-weight:bold;font-size:20px;" onclick="removeFileRow(this)">x</a>
Looks perfectly fine to me:
Regards,
Eythor
> On 29 May 2015, at 08:22, Jamtssuren, Batbold <BJamtssuren at gauff.net> wrote:
>
> That’ my way Is works
>
> <img style="vertical-align: middle" src="images/x.png" alt="Remove file" border="0">
>
> Von: zendto-bounces at zend.to <mailto:zendto-bounces at zend.to> [mailto:zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>] Im Auftrag von Jules
> Gesendet: Freitag, 29. Mai 2015 10:20
> An: ZendTo Users
> Betreff: [ZendTo] Re: One more request: an "X" icon ?
>
> What's the simplest way of inserting that CSS into the IMG tag?
>
> On 28/05/2015 17:45, Stockton, Lee wrote:
> Try:
>
> {
> vertical-align: Middle
> }
>
> Lee
>
> Sent from my iPhone
>
> On 28 May 2015, at 17:33, Jules <Jules at zend.to <mailto:Jules at zend.to>> wrote:
>
> Perfect, thanks!
>
> I've added a bit of HTML to replace the "X"
> <img src="images/x.png" alt="Remove file" border="0">
> but the vertical alignment isn't quite right. It looks like it might be sitting on the baseline of the word "Description:", rather than vertically centred relative to the textbox next to it.
> If you edit new_dropoff.tpl and replace the 3 occurrences of X with that text above, and then just reload the page, you'll see what I mean.
> I'm hopeless at modern HTML (I haven't written any in the last 15 years really!). Is there a simple adjustment that will alter the alignment reliably on all browsers?
>
> Thanks!
> Jules.
>
>
> On 28/05/2015 15:07, Eythor Thorsteinsson wrote:
> What about this?
> <image001.png>
>
> On 28 May 2015, at 13:52, Jules <Jules at zend.to <mailto:Jules at zend.to>> wrote:
>
> Folks,
>
> Many thanks for all your help in getting bugs fixed in this new release,
> it's much appreciated (I'm snowed under at work this week, very
> interesting new project that's chewing up time!).
>
> In the "new dropoff" form, there is still just an "X" character as the
> marker for what to click on to delete a file from the list.
>
> Could someone possibly spend a few minutes begging/borrowing/stealing
> (well, maybe not the last one) a suitable icon that means "remove this
> file from the list"? It needs to be the right size for the current
> dimensions used in the files list on that page.
>
> Many thanks!
>
> Jules
>
> --
> Julian Field MEng MBCS CITP CEng
>
> 'If I were a Brazilian without land or money or the means to feed
> my children, I would be burning the rain forest too.' - Sting
>
> www.Zend.To <http://www.zend.to/>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>
>
> Jules
>
> --
> Julian Field MEng MBCS CITP CEng
>
> 'It's okay to live without all the answers' - Charlie Eppes, 2011
>
> www.Zend.To <http://www.zend.to/>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
>
>
> Jules
>
> --
> Julian Field MEng MBCS CITP CEng
>
> 'It's in Apple's DNA that technology alone is not enough. It's
> technology married with liberal arts, married with the humanities,
> that yields us the result that makes our hearts sing.' - Steve Jobs
>
> www.Zend.To <http://www.zend.to/>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> Geschäftsführer: Uwe Gauff, Stefan Bollow, Michael Fischer
> Rechtsform: Kommanditgesellschaft, Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRA 11308, persönlich haftende Gesellschafterin Gauff GmbH , Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRB 15152
>
> Diese Nachricht und eventuelle Anhänge unterliegen gewissen Beschränkungen und Haftungsausschlüssen unserer Unternehmensgruppe. Für Details dürfen wir Sie auf die Langform unter http://www.gauff.net/global/disclaimer <http://www.gauff.net/global/disclaimer> verweisen. Bitte behandeln Sie die Informationen dieser Mail als vertraulich.
>
> This message (and attachments) is subject to restrictions and a disclaimer. For Details please refer to http://www.gauff.net/global/disclaimer <http://www.gauff.net/global/disclaimer>. Please consider the information herein as confidential.
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto <http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150529/7fae80ae/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-19.png
Type: image/png
Size: 55145 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150529/7fae80ae/attachment-0001.png
More information about the ZendTo
mailing list