Ellen Pham wrote:
> Hi all,
>
> This is my first web site, and I haven't been able to get this drop down nav
> list to behave
> properly in IE. It behaves better in mozilla, but still not great (for
> example, the background of
> the drop down nav doesn't resize when the # of items in the list gets
> shorter, making the space
> between "Doll Chat" and "Contact" look funny). Will someone take a look and
> tell me where I have
> gone wrong?
>
> http://lovelydollcompany.com/
>
> Thank you!
>
> Ellen
>
> PS I know the site should be using more css and less tables... I'm working on
> it (actually, I'm
> hoping the new version of Dreamweaver CS3 will have a nice, unstyled template
> that will solve all
> my problems, but I have to install more RAM to run it)
Hi Ellen
For a beginner you have done well, but my major advice is to ditch the table
layout completely.
You say this is your first website??, but you are coding in xhtml which is far
from being valid. I have done a demo, but I could not validate it with the
validator since it's offline. This images for those links have been added as
background images to their respective anchors and spans have be inserted into
the anchors for the text links that have been absolutely positioned out of the
viewpoint. Semantically correct and accessible. All the tables and IE
conditional comments have been removed from the code (never needed). Currently
the xhtml and messy CSS is causing many problems. It would take me a few hours
to sort it out. How the submenus opens is how you have wished but the CSS is
becoming very different to the CSS that you got from Stu Nicholls' site (which
I consider over the top). The CSS to make the menu work is.
ul.menu1 li ul {
position:absolute;
left:-999%;
}
ul.menu1 li:hover ul{
position:relative;
left:0;width:120px;
margin-top:-1px;
background:#F8EFE8;
}
Basically the whole CSS for the menu has to be redone as all I done is hack
pieces here and there and remove major chucks of style from various selectors.
The page currently show best in Opera and Firefox as it should, but there are
still some major issues with IE. More analyzing needed. Well it a start in the
right direction. I will look into it some more. BTW, I can not check in IE6,
dreading disaster. Well I think I have been able to validate it anyway as the
xml link shows. The doctypes need to be altered to. Ellen, please fire the
question aways.
Demo
<http://css-class.com/x/lovelydollcompany.htm>
Demo link for xml compliant browsers (not IE) to show it's now valid xhtml.
<http://css-class.com/x/lovelydollcompany.xml>
Kind Regards, Alan
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/