473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

CSS overlay and MSIE 6

Hi,

Does somebody have an idea why MSIE 6 on this page

http://www.nies.ch/switzerland/fauna/index.de.php/2

does not show the "New" icon in the lower right corner of the thumbnail
like in any other browser?

The XHTML 1.1 code:

==CUT==
<table class="thumb">
<tr>
<td><a href="..."><img src="..." width="100" height="67" /><span
class="new"><img src="/pic/new2.gif" width="22" height="8" alt="New!"
/></span></a></td>
</tr>
</table>
==CUT==

The CSS 2.1 code:

==CUT==
table.thumb
{ margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
border-spacing: 1px;
}
table.thumb td
{ width: 112px;
height: 112px;
vertical-align: middle;
text-align: center;
padding: 0px;
margin: 0px;
background-position: center;
background-repeat: no-repeat;
}
table.thumb img
{ border: 0px;
margin: 0px;
padding: 0px;
vertical-align: bottom;
text-align: center;
}
span.new
{ padding: 0px;
margin: 0px;
border: 0px;
width: 22px;
height: 8px;
margin-left: -22px;
margin-bottom: -1px;
}
span.new img
{ border: 0px;
border-spacing: 0px;
padding: 0px;
margin: 0px;
}
==CUT==

Thanks in advance,

Regards,
Bernd

Jul 21 '05 #1
2 4711


Bernd Nies wrote:

Does somebody have an idea why MSIE 6 on this page

http://www.nies.ch/switzerland/fauna/index.de.php/2

does not show the "New" icon in the lower right corner of the thumbnail
like in any other browser?

The XHTML 1.1 code:


XHTML 1.1 should not be served as text/html.
Use HTML 4.01 and your problem goes away. Or if you insist on using
XHTML and serving it as text/html then remove the XML declaration line
(i.e. <?xml version="1.0" encoding="utf-8"?>) from the document as it
throws IE 6 into quirks mode.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 21 '05 #2
Hi Martin,

Martin Honnen schrieb:
XHTML 1.1 should not be served as text/html.
Use HTML 4.01 and your problem goes away. Or if you insist on using
XHTML and serving it as text/html then remove the XML declaration line
(i.e. <?xml version="1.0" encoding="utf-8"?>) from the document as it
throws IE 6 into quirks mode.


Thanks for that hint. I converted it to HTML 4.01 and now even @%&$!
internet exploder displays it correctly.

Regards,
Bernd

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
0
by: Never Best | last post by:
I'm having troubles attaching the Device to a window using its hWnd, and I have some troubles with getting transparancy to work with a DDOverlay... if anyone could help it would be greatlay...
1
by: sendhil | last post by:
hi, Iam doing some graphics programming with C#. I have to create a Windows MetaFile from a base64 encoded string. How do i create the file. I want to Overlay this Windows MetaFile on a image...
0
by: odie5533 | last post by:
I am looking to make a program similar to Xfire which will overlay information while playing a directx game. For an example of what xfire is capable of, see the image below:...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
3
by: EnigmaticSource | last post by:
Currently, I am designing a site using CSS driven vertical menus, it works well in everything but MSIE. The menus seem to work well enough, except that they float behind the images, but above the...
2
by: pravinnweb | last post by:
i have dropdown select menu in my page. when i click any button the black overlay comes while loading. in FF overlay working fine but in IE the select option menu appeared on overlay...please help me
5
by: pravinnweb | last post by:
i have dropdown select menu in my page. when i click here link the black overlay comes .in FF overlay working fine but in IE6 the select option menu appeared on overlay...please help me thanks in...
1
by: linksterman | last post by:
I want to make a simple app to overlay subtitles on youtube videos. Is there a way to do this and keep the files hosted on youtubes servers (eg just overlay the text with another flash app)? I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.