473,396 Members | 1,966 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,396 software developers and data experts.

Problem with my web site CSS in IE :-(

Hi All,

I developed a web page for a client that uses pure CSS popups for images and "more info" sections. The front page looks correct and renders properly in IE6, OPERA, FIREFOX and SAFARI.

When you hover the mouse over an image or on a column heading containing more information, CSS popup sections that are initially hidden should be displayed.

I did all the development on a Mac and the proplem occures with my hidden sections that should be absolute placed CSS popup sections. In FireFox, Opera and Safari the popups work fine (small differences in list item presentation but thats fine with me) but with IE6 no go.....Absolutly NO popups at all. I cannot test with IE6/7 on my Mac as the last supported version was IE5 so I only got to test this feature after deployment to the WEB.

If anybody could take a look and tell me what the problem is I would appreciate it because it is now driving me NUTS.

The URL for the site is www.barlaunion.com if anybody is interested....

Best regards

Steve
Jul 17 '07 #1
2 1059
drhowarddrfine
7,435 Expert 4TB
At least part of the problem is you are using the xml declaration, the first line of your page, but you aren't using xml or xhtml. Also, there is never any reason to use a transitional doctype with new pages. That is only for pages that use older, deprecated markup and why would anyone do that for a new page?

In addition, IE chokes on the xml declaration and goes into quirks mode. IE doesn't do Xhtml anyway.

So, remove the first line and change your doctype to html strict. See the article about doctypes under Articles at the top of this page.

Then validate your html and css for those lists of errors, and there are some.
Jul 17 '07 #2
At least part of the problem is you are using the xml declaration, the first line of your page, but you aren't using xml or xhtml. Also, there is never any reason to use a transitional doctype with new pages. That is only for pages that use older, deprecated markup and why would anyone do that for a new page?

In addition, IE chokes on the xml declaration and goes into quirks mode. IE doesn't do Xhtml anyway.

So, remove the first line and change your doctype to html strict. See the article about doctypes under Articles at the top of this page.

Then validate your html and css for those lists of errors, and there are some.
Hi,

Thanks for the pointers. The reason that these are there is due to me trying several doc types for this to begin with. I tried the strict and the validation choked because I use DIV's in an <a>. As this is an inline element and a <div> is a block element it wont validate. So...I tried to use a <span> instead of a <div>, this then choked on validation because I use <p> elements for the text blocks.

SO...personaly I think there is a problem with the spec here where I want to use an anchor <a> (inline - with all the hover capability etc.) for hidden div's (block elements) to achive my CSS popup's.

Do you have another suggestion for using hidden block elements that work on mouse hover but are not inline elements like the <a> ?

I realy do not want to use ANY java script on this page.

Regards

Steve
Jul 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Iain Bishop | last post by:
I'm trying to model objects for the following problem: A building site contains assemblies, each of which can contain other assemblies and/or materials. I have modelled this using a Site...
4
by: NohaKhalifa | last post by:
Dear All; I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online .. I want them to fill data...
1
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
4
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
9
by: sandlovic | last post by:
Hi, I am trying to access a website which seems to be writen in PHP http://tools.neb.com/NEBcutter2/index.php However, neither IE nor firefox would load the page. I am running WinXP SP2 and IE...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
1
by: Rebecca Tsukalas | last post by:
Hello, I have a problem concerning removeChild. This is the XML structure I use with php: <xml_thing <language1 <site>bla1</site <site>bla2</site <site>bla3</site </language1
1
by: aznach | last post by:
Hello! I have a shared hosting account at GrokThis.net and have a problem with the module order of the Python search path. I'd like to use django's svn trunk instead of the...
2
by: jiang.haiyun | last post by:
Hi, I am having some serious problems with PyQT4, when i run pyqt script, I always get 'Segmentation fault'. the script is simple: ====================== %less qttest.py from PyQt4 import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.