473,396 Members | 2,003 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.

CSS side menu -- validated and still doesn't work in IE

Thanks to all who've replied. I understand about the small font, and
will work on that next, after I solve this problem.

www.simi-therapy.com/badstylesheet is the page
http://www.simi-therapy.com/badstyle...screen-alt.css

I've cleaned up my HTML completely, and both it and the CSS page now
completely validate at w3.org . This page works great in Mozilla and
Opera, but not IE. (The pages below the index page come up unstyled,
because I didn't change their stylesheet addresses)

If you double-click on one of the sidebar links, the first word of the
body text next to it highlights. I'm not very spatial, and I'm
definitely a CSS rookie, but I'm thinking that there must be a
"container" problem and I just can't see what it is.

Again, all help is very much appreciated.

Deborah
Feb 5 '06 #1
4 1125
Someone elsewhere gave me this suggestion, and it has made the links
work, but now the appearance on hover is inconsistent.

added a line to this area

#side-bar {
width: 14em;
margin: 2.5em 0 0 1.25mm;
float: left;
clear: left;
position: relative; <!--added on suggestion; now links work but
hover inconsistent -->
}

Now I need to figure out why the hover varies, and I've lost the very
top of the side-bar that should say Answers to Questions. Still, it is
progress.

Deborah wrote:
Thanks to all who've replied. I understand about the small font, and
will work on that next, after I solve this problem.

www.simi-therapy.com/badstylesheet is the page
http://www.simi-therapy.com/badstyle...screen-alt.css

I've cleaned up my HTML completely, and both it and the CSS page now
completely validate at w3.org . This page works great in Mozilla and
Opera, but not IE. (The pages below the index page come up unstyled,
because I didn't change their stylesheet addresses)

If you double-click on one of the sidebar links, the first word of the
body text next to it highlights. I'm not very spatial, and I'm
definitely a CSS rookie, but I'm thinking that there must be a
"container" problem and I just can't see what it is.

Again, all help is very much appreciated.

Deborah

Feb 5 '06 #2
Deborah wrote:
Someone elsewhere gave me this suggestion, and it has made the links
work, but now the appearance on hover is inconsistent. position: relative; <!--added on suggestion; now links work but
hover inconsistent -->


I see that you have added exactly that to your style sheet. It will
break it as those are HTML comment markers, not /* CSS */ comment
markers. An error in the CSS and browsers are free to ignore parts or
all of the style sheet.

--
-bts
-Warning: I brake for lawn deer
Feb 5 '06 #3
Aargh! OK, that's fixed now. Still very interesting effect in IE. Back
to the puzzle.

Beauregard T. Shagnasty wrote:
Deborah wrote:

Someone elsewhere gave me this suggestion, and it has made the links
work, but now the appearance on hover is inconsistent.


position: relative; <!--added on suggestion; now links work but
hover inconsistent -->

I see that you have added exactly that to your style sheet. It will
break it as those are HTML comment markers, not /* CSS */ comment
markers. An error in the CSS and browsers are free to ignore parts or
all of the style sheet.

Feb 6 '06 #4
Deborah wrote:
Thanks to all who've replied. I understand about the small font, and
will work on that next,
Please do. Even at IE's Largest text size, it's just barely tolerable
for my reading pleasure.
www.simi-therapy.com/badstylesheet is the page
http://www.simi-therapy.com/badstyle...screen-alt.css


Presuming your problem is still with odd IE :hover effects on the menu...

You have apparently already found the answer, you just haven't applied
it everywhere it needs to be, yet. ;)

IE has a convoluted box model. If you spend some time at
<URL:http://www.positioniseverything.net/explorer.html>
you may learn something about its oddities. Note that there are 2 common
methods of avoiding many IE peculiarities:
position:relative; and
zoom:1.0;

Apply position:relative to elements that are behaving strangely, or
their containers. If that doesn't do the trick, try zoom:1.0. One of
those is very likely to fix it. In your case, adding position:relative
to rule
#side-bar a
seems to do it.

BTW, are you aware that
..doNotDisplay {
display: none;
}
makes the element invisible to the most-used screen readers? Thus it is
creating the very problem you thought you were avoiding. You no doubt
got this display:none trick from an old tutorial. It doesn't work.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Feb 6 '06 #5

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

Similar topics

12
by: MP Multimedia | last post by:
Hello everyone, I need help. I'm using a hierarchical menu made in javascript. When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame,...
26
by: Thomas Mlynarczyk | last post by:
Hi, Could some kind person using Mac or Linux (or others) please take a look at http://www.mlynarczyk-webdesign.de/tmp/menu/menu.html and tell me if the page renders as it should (screenshot...
3
by: Ohad Young | last post by:
Hi, I have a frameset page that contains two frames: 1. the first frame, an aspx page, contains a menu for navigating in the website. 2. the second frame contains content, pdf, html or other...
2
by: msnews.microsoft.com | last post by:
Hi All, I m facing a problem. As u know asp.net vallidators did not work in non-microsoft browsers. So for that i m using Server Side Solution. But i don't understand how can i show the...
3
by: msnews.microsoft.com | last post by:
Hi All, I m facing problem in Server Side Validation. For Example The Scenario is I have two fields on the page 1 Country Dropdown List 2 Province Textbox 3 State Dropdown List
9
by: Jay | last post by:
I have an asp menu control with menu items navigateUrl set to come back to the same aspx page but with different values in a url token. this works, but it is causing all my asp controls to loose...
6
by: Deborah | last post by:
I'm a rookie, and I guess I know just enough to be dangerous. I found a great template website, openwebsign.org, and found an open source template I really liked that even came in 2 versions. ...
7
by: joecap5 | last post by:
I have a main window from which I want to open a separate side menu window. I then want to create a list of items on that side menu by clicking on the item names in the main window. So far I am...
4
by: Jason Carlton | last post by:
I'm working with the cookie-cutter code located here: http://www.jtricks.com/javascript/navigation/floating.html Very helpful script, BTW! I'm trying to modify it, though, so that the menu...
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: 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: 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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.