[WSG] Stacking problem in IE6
This page has a Suckerfish dropdown menu: http://www.blinn.edu/sbdc/_notes/blinn/index.htm Its stylesheet: http://www.blinn.edu/sbdc/_notes/blinn/index-css.css The left two dropdown menus (correctly) overlap the form that's below them in FF, Opera & IE7, but in IE6 those two menus drop down *behind* the Quicklinks select box that's in the column below them. The xhtml validates, as does the css, except for the :sfhover business. Relevant css (I think): /* 2nd level */ #nav li ul { position:absolute; left:-999em; height:auto; width:144px; padding-top:16px; /* this and neg top margin are needed to keep 2nd level menus open */ margin:-6px 0 0 -18px; z-index:200; } #nav li ul a { display:block; width:144px; margin-top:-2px !important; margin-top:0; padding:4px 4px 6px !important; padding:4px 4px 8px; line-height:1.3em; background-color:#f3f3ee; border:1px solid black; z-index:210; } /* COLUMN 1 */ #selectcell { width:185px; font-size:.9em; background-color:#cbd9b0; } #gobutton { height:1.6em; width:185px; float:left; margin-top:.2em; padding:0 2px 2px; background-color:#acc87d; color:#425629; font-weight:bold; font-size:.9em; border:2px solid #779c4b; border-left:2px solid #b2c78e; border-top:2px solid #b2c78e; } I tried adding the z-index property, but that didn't help. Hope someone here can spot what's causing this problem. Tia, Carol *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] RE: Re: IMG and text alignment
White Ash wrote: is there a way to have the items in my navbar automatically stretch from the left margin to the right margin? I currently have a 10px right margin setting for each item in the css, but that doesn't seem very scientific to me and leaves a ragged right margin. relevant css file: http://wickedsisterdance.org/who_trial.shtml http://wickedsisterdance.org/css/styles.css If the space from left to right margin is 100%, you can put a percentage of padding on the first four nav links equal to 1/5 of the space that isn't taken up by the links' text. Try changing your #nav a margin-right from 10px to 2.76% and you get pretty close. Assigning an id to the last link, making its right margin 0 and increasing the others a little should get it even closer. hth, Carol ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] Comments on new wirelessforum.org.nz site?
Sigurd Magnusson wrote: We just 'soft launched' a new website, http://www.wirelessforum.org.nz, so if anyone can point out things in our markup or CSS to make it even more bullet proof, or find any holes, that would be fantastic Siggy, Try increasing the text sizein FF one size larger causes the wrapped 'Contact Us' to be partially hidden. Two increases and the last two nav items are all but gone. In IE6, it increases okay on the Home page, but completely covers the breadcrumb on the News page. It might help to give the menu and breadcrumb containers their heights in ems instead of pxs (and instead of the BreadCrumb getting its height from what's left over from the Header). The color scheme is pretty, but the subnavigation links on the News, Events and Our Members pages are hard to read because of the tiny size and low color contrast. Looks niceand yes, a big improvement over your former page! Carol ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] Hidden Content
Is it acceptable to use display:none to hide text from all browsers but NN4? Because of the layout of one of my site's pages, it makes no sense as it degrades unless I add an explanitory and that appear only in NN4. I have them positioned way off screen [.ns4 and .special], but intend to change those items to display:none. Will the search engines distinguish between those instances and the use of display:none described below? Or am I better off leaving things the way they are? Thanks, Carol http://www.blinn.edu/sbdc http://www.blinn.edu/sbdc/index_css.css Jennifer Dureja wrote: You could get away with it and you could be blacklisted from being listed at all. Personally, I'd rather go about it correctly than risk being blacklisted. - Original Message - From: "Chris Kennon" <[EMAIL PROTECTED]> Hi, What is the repercussion, if any, of having a div set to display: none with content meant strictly for search engines. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] A web page crashing FireFox 1.01
Angus, I didn't have any trouble with that page using FF1.0.1. There are several malformed or missing s and s in your html but I wouldn't expect that to cause your PC to crash. Maybe something else is going on. You might check the Firefox general forum at http://forums.mozillazine.org/index.php to see if anyone there has any ideas. Carol InfoForce Services (Angus MacKinnon) wrote: I have been working on upgradeing http://choroideremia.org to web standards. When I use FireFox 1.01 to go to http://choroideremia.org , my PC crashes and all I can do is a cold boot. Anyone know why? ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] XML Declaration
Collin, Then why would W3C use it on their own site? This is the first 4 lines of their source code for their home page: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US"> http://www.w3.org/2000/08/w3c-synd/#";> I'm not being argumentativejust curious. -- Carol Collin Davis wrote: Patrick: http://www.w3.org/TR/xhtml-media-types/ It clearly states that HTML 4 SHOULD be served as text/html, XHTML 1.0 (HTML compatible) MAY be served as text/html and XHTMl 1.0 (other) and XHTML Basic / 1.1 SHOULD NOT be served as text/html ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] Who's putting javascript in my code?
(I'm using FF1.0.1. ) Actually Neerav and Patrick are right that it's something Zone Alarm does. I turned off ad blocking and the postamble line went away, eliminating 2 of the warnings I was getting. Can't figure out how to lose the in-head line, though. One of the links posted suggested using Mozilla's Adblock extension and putting that http address in the filter list, but that hasn't worked for me. I'll probably just uninstall ZA, since I'm just using a trial version and I'm behind a switch on a network, so I don't seem to need it anyhow.. I wanted to contact them about it first, but their website isn't working, which really instills confidence Thanks to all of you for your help! Carol Christie Mason wrote: Are you using FireFox, IE or something else? I think that's browser based and it's something I've ignored but also been curious about. Christie Mason -Original Message- *From:* Carol Doersom <mailto:[EMAIL PROTECTED]> *To:* wsg@webstandardsgroup.org <mailto:wsg@webstandardsgroup.org> *Sent:* Wednesday, March 23, 2005 9:12 PM *Subject:* [WSG] Who's putting javascript in my code? This line of js appears in the head of my site's pages: and this following the : postamble(); I didn't put them there. They're generating 4 warnings in Tidy and keeping my html from validating. They're also appearing in the source of every web page I look at--even at this list's site--though they don't always result in exactly the same warnings. What I did put in my html is: . And I have all my javascript in that file. Where are those other 2 lines coming from...and what do they do? tia, Carol ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
[WSG] Who's putting javascript in my code?
This line of js appears in the head of my site's pages: