Change 20080226-Philip-2 by [EMAIL PROTECTED] on 2008-02-26 12:46:43 EST
    in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix graphical artifact in IE

New Features:

Bugs Fixed: LPP-2970

Technical Reviewer: hqm
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
The problem is caused by whitespace inside of anchor tags such as:

<a>
<img src="...">
</a>

In IE, you will often see the whitespace shown with an underscore. One way to fix this is to remove all white space, ie:

<a><img src="..."></a>

Instead of changing the how the page is laid out, I fixed the problem with css;

<a class="nodecoration">
<img src="...">
</a>

In explore.css,

.nodecoration { text-decoration: none; }

This turns off all text decoration on any text found between the anchor tags.


Tests:
Verify that amazon, lzpix, and calendar cover pages don't display the underscore between the two buttons. I also ran the css validator on explore.css

Files:
M      lps/includes/explore.css
M      laszlo-explorer/coverpages/amazon_cover.html
M      laszlo-explorer/coverpages/lzpix_cover.html
M      laszlo-explorer/coverpages/calendar_cover.html

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080226-Philip-2.tar

Reply via email to