(Note for others:  Alice forwarded on a copy of the HTML off-list)

Alice,

It looks like it is an odd HTML problem and a definite bug in the DSpace 
XMLUI.  It looks like the problem starts with your "Abstract" field, as 
it doesn't have any hint/help text specified.   So, under the "Abstract" 
field you have an empty tag:
<span class="field-help"/>

I think this tag is confusing IE7 (for whatever reason).   If I place 
any text in there (e.g. <span class="field-help">test me</span>), then 
the problem is fixed until the next empty "hint" text occurs.   I've 
also verified this same problem happens in out-of-the-box DSpace 1.5.2, 
if I remove any of the default <hint> text in the input_forms.xml

I'm going to log a bug in DSpace Jira (our issue tracking system).   
It's likely there's a relatively easy fix, and we can let you know once 
we're able to resolve it.   The quick fix (on your end) would be to make 
sure that each field has <hint> text specified in your input_forms.xml.  
Obviously, that's not ideal, so we'll look into a real fix to the issue.

Thanks for reporting this!

- Tim

Stuart Lewis wrote:
> Hi Alice,
>
> Could you post a dump of the HTML for the page for us to look at?
>
> Thanks,
>
>
> Stuart Lewis
> IT Innovations Analyst and Developer
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: 64 9 373-7599 x81928
> http://www.library.auckland.ac.nz/
>
>
> On 13/11/2009, at 8:33 AM, Platt, Alice wrote:
>
>   
>> Thanks for your response, Tim:
>>
>> It seems to have started after we added several input fields to the  
>> submission form. I'm wondering if maybe adding several input fields  
>> caused a glitch with the way the input-forms.xml file is processed.
>>
>> I saved the source of the two submission pages that have the problem  
>> and ran it through the W3C Markup Validation Service, which assured  
>> me that the XHTML code and the CSS code is valid.
>>
>> I did take a close look at the source as you suggested (I do usually  
>> use Firefox; this problem with IE was discovered on someone else's  
>> computer), and unfortunately I don't see anything out of the ordinary.
>>
>> I'm using IE Version 7.0.
>>
>> Quite perplexing!
>>
>> Alice
>>
>> -----Original Message-----
>> From: Tim Donohue [mailto:[email protected]]
>> Sent: Thursday, November 12, 2009 2:12 PM
>> To: Platt, Alice
>> Cc: [email protected]
>> Subject: [Spam ??, Use Caution] Re: [Dspace-tech] incredibly  
>> shrinking text
>> Importance: Low
>>
>> Alice,
>>
>> What version of Internet Explorer are you using? I've just tried IE8  
>> and
>> IE7 and both of them seem to work fine with the out-of-the-box DSpace
>> 1.5.2 XMLUI submission process.
>>
>> It sounds like this could be something in what you've changed (to add
>> the new metadata elements). It sounds like a CSS / HTML issue here.  
>> It's
>> likely you could have invalid HTML that is confusing Internet Explorer
>> (look especially for odd HTML tags that have nothing in them, like
>> <div/> or similar). If you have odd empty HTML tags, sometimes just
>> adding a simple space (&nbsp;) in the tag will help IE figure things  
>> out
>> properly.
>>
>> If you use Firefox at all, you also may want to install FireBug
>> (http://getfirebug.com/) plugin. This plugin will let you right  
>> click on
>> an area of the page and choose "inspect element" to see the HTML + CSS
>> source that is being applied by the web browser. You may want to  
>> inspect
>> the source right around the area where you see the "incredibly  
>> shrinking
>> text" start to happen in IE.
>>
>> Good luck. Let us know if you need more help. If you figure it out,  
>> it'd
>> also be good to let us know what the resolution was, so that you can
>> help others who may come across the same problem in the future.
>>
>> - Tim
>>
>> Platt, Alice wrote:
>>     
>>> I haven't gotten any feedback to the following question... hoping for
>>> some ideas.
>>>
>>> Currently, in Internet Explorer only, the submission form text gets
>>> smaller and smaller as I scroll down the page. The sidebar is also
>>> very, very, very tiny. The text gets so small that it is not  
>>> readable.
>>> I have never seen this before and can't imagine what is causing this
>>> to happen.
>>>
>>> I can send a screen shot to anyone who is interested in seeing what I
>>> am seeing. The only thing we've really changed is that we've added so
>>> many new metadata elements to the form, but I don't understand how
>>> that could be causing this problem.
>>>
>>> Again, this is only when I use Internet Explorer (I've tried it on
>>> different computers, of course). Firefox, Safari and Google Chrome
>>> work just fine. Does anyone have any ideas on what is causing this?
>>> Thanks!
>>>
>>> Using DSpace 1.5.2 XMLUI
>>>
>>> Alice Platt
>>> Digital Initiatives Librarian
>>> Shapiro Library
>>> Southern New Hampshire University
>>> 2500 North River Rd
>>> Manchester, NH 03106
>>> USA
>>>       
>> Please consider the environment before printing this e-mail.
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and  
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>     
>
>
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to