You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Greg Ludington (JIRA)" <ji...@apache.org> on 2006/07/07 00:08:30 UTC

[jira] Updated: (SOLR-6) Solr admin stylesheet doesn't work well with Internet Explorer

     [ http://issues.apache.org/jira/browse/SOLR-6?page=all ]

Greg Ludington updated SOLR-6:
------------------------------

    Attachment: iestyles.patch

The visual differences occur because IE 6 (I do not have IE7 to test) does not seem to apply border to rows, only to cells, and also does not understand some of the more advanced selectors you have used, such as XSLT-ish select by attributes, or by child and adjacent sibling.  I am a new user to solr, but this seemed like a low-risk area where I could pitch in and help.

This proposed patch puts the relevant css information into regular css classes, and then adjusts the jsps to match, e.g. instead of 
   tr > td[name="highlight"]:first-child

you have
   td.highlight

The meanings are slightly different, and they apply to a broader range of HTML, but it improves the look in IE and did not seem to have any negative impact in Firefox 1.5.0.4.  I did not migrate every css2 selector over to a class this way, but just those that made a large difference in the way IE6 rendered the page without resorting to css hackery.

If I missed any locations, or their are awkward results in this style, feel free to comment. I purposely did not make any effort to modify tabular.xsl, as this thread indicates it is deprecated:

http://www.nabble.com/stylesheet-issue-tf1721121.html#a4675018

> Solr admin stylesheet doesn't work well with Internet Explorer
> --------------------------------------------------------------
>
>          Key: SOLR-6
>          URL: http://issues.apache.org/jira/browse/SOLR-6
>      Project: Solr
>         Type: Bug

>   Components: web gui
>     Reporter: Yonik Seeley
>     Priority: Minor
>  Attachments: iestyles.patch
>
> The admin pages look different on firefox than on IE (6 or 7).
>  - tables in text analysis page span whole browser, regardless of cell size
>  - separators visible in firefox aren't visible in IE

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira