[WSG] Max-width issues

2006-10-03 Thread John 'Max' Maxwell
Good Morning All, I am having a bit of a problem with the old 'max-width' issue in IE and would like to know your thoughts on the subject. If I add this to my style sheet: #outer_wrapper { max-width: 800px; } Then I am fine in FF but not in IE - in IE the outer container just keeps

Re: [WSG] Max-width issues

2006-10-03 Thread Tim B
Hi John John 'Max' Maxwell wrote: #outer_wrapper { max-width: 800px; } Then I am fine in FF but not in IE The max-width property unfortunately isn't supported by IE6 and below, which is where I assume the problem is. I guess (and this is a guess) that max-width is actually fixed in

Re: [WSG] Max-width issues

2006-10-03 Thread John Faulds
Put the max-width expression in an IE-only stylesheet served up with conditional comments. That way there's no need for the Holly Hack (in fact, it's best to put anything that requires the Holly Hack in an IE-only stylesheet) and your CSS will validate OK too. On Tue, 03 Oct 2006 18:29:08

Re: [WSG] Max-width issues

2006-10-03 Thread Gunlaug Sørtun
John 'Max' Maxwell wrote: Is my syntax or something incorrect or is there just no way of adding this fix without going 'invalid'?? Does the above code even belong in a style sheet as it doesn't look like standard CSS to me. Your syntax is correct, and if you've got the values right it'll

Re: [WSG] Max-width issues

2006-10-03 Thread John 'Max' Maxwell
Hi Germ, i must have the syntax wrong - just tried that and it stopped IE working in addition to still being invalid CSS. Was your whole CSS like this: #outer_wrapper { max-width: 800px; } * html div#outer_wrapper {width: 800px /* fallback value */;

Re: [WSG] Max-width issues

2006-10-03 Thread John 'Max' Maxwell
Your syntax is correct, and if you've got the values right it'll work fine in IE6 (and IE5+ win). Ref: http://www.gunlaug.no/contents/wd_additions_14.html An IE-expression is by definition: proprietary, non-valid, CSS - you can't make it valid. Nevertheless; IE-expressions belong in CSS, and

[WSG] CSS Unordered list

2006-10-03 Thread Lala Limpo
Hi Everybody, Hi there! I just have a question to you css experts. I'm trying to make a horizontal navigation from UL. I also added a background image which I have attached. My problem is how to use ul#navlist li a:hover style on my sixth LI that doesn't have a hyperlink. I want it to

Re: [WSG] Doctype Strict JS drop down menus IE

2006-10-03 Thread Al Sparber
I'm using project seven's pop menu magic http://www.projectseven.com/products/menusystems/pmm/index.htm on a site with XHTML strict doctype. This causes IE to come up with a yellow bar saying it is blocking active content - click to ..etc. This is not acceptable to the client. When I

[WSG] Getting the layout to work and with all browsers

2006-10-03 Thread David Cameron
Hi there. I'm looking to adopt a drop-down menu theme on my site. I've got most of it sorted, but there's still a few teething problems. If you look at www.camieabz.co.uk for an example of the existing navigation tabs first (no drop-down). The testsite link is

[WSG] Calling JS gurus

2006-10-03 Thread Thierry Koblentz
I'd like to get some feedback on this before I publish it and make a fool of myself ;) http://www.tjkdesign.com/articles/a_possible_alternative_to_innerHTML.asp Demo page: http://www.tjkdesign.com/articles/TJK_moveNodes_demo.asp --- Regards, Thierry | www.TJKDesign.com

Re: [WSG] Calling JS gurus

2006-10-03 Thread Michael Yeaney
Nice article.one comment (from the article you linked to): What's wrong with innerHTML? A few things: It's not a standard. It's a proprietary property that Microsoft introduced (along with the less popular outerHTML) that the other browser makers picked up. Ummwasn't our beloved

[WSG] IE Issue: focus not set on image buttons within a floated div

2006-10-03 Thread Ruiz, Kevin
I have two image buttons that are not displaying a focus indicator in IE...this works fine in Firefox.The culprit seems to be the fact that both are within a div that's floating. Does anyone know a way around this. My client has made an issue of the fact that a user cannot seea visual

Re: [WSG] Calling JS gurus

2006-10-03 Thread Matthew Pennell
innerHTML is good because it's quite a bit faster than DOM methods; if you don't need to manipulate the output further, there's nothing wrong with using innerHTML (IMHO; XHTML-fanatics may not agree). As to the article, I don't really understand what you're trying to do - doesn't cloneNode() do

Re: [WSG] Calling JS gurus

2006-10-03 Thread Thierry Koblentz
Hi Matthew, innerHTML is good because it's quite a bit faster than DOM methods; if you don't need to manipulate the output further, But is it safe to assume that there will no such need? As to the article, I don't really understand what you're trying to do - doesn't cloneNode() do all that

Re: [WSG] Calling JS gurus

2006-10-03 Thread Christian Heilmann
innerHTML is good because it's quite a bit faster than DOM methods; if you don't need to manipulate the output further, there's nothing wrong with using innerHTML (IMHO; XHTML-fanatics may not agree). As to the article, I don't really understand what you're trying to do - doesn't cloneNode() do

[WSG Announce] Some links for light reading (4/10/06)

2006-10-03 Thread russ - maxdesign
This is a one-way list for WSG Announcements This email covers: - Links for light reading - WSG and Industry events - Industry related Jobs (2 new jobs this week) If you have an event, resource or relevant job you'd like posted (from any country),

Re: [WSG] IE Issue: focus not set on image buttons within a floated div

2006-10-03 Thread John Faulds
Is it not due to IE not using :focus like other browsers? To get it to accept :focus on buttons, you'd need to use javascript. A bit hard to tell though without seeing any code or a link. On Wed, 04 Oct 2006 04:26:32 +1000, Ruiz, Kevin [EMAIL PROTECTED] wrote: I have two image buttons that

Re: [WSG] Calling JS gurus

2006-10-03 Thread Christian Heilmann
You've hit the nail on the head with parsing, but development (coding lines), wise innerHTML is a useful hack as you say. 'Tis a pity that loadXML is at document level rather than executable at node. MSIE XML data islands were not bad for that and in closed environments a real timesaver

Re: [WSG] IE Issue: focus not set on image buttons within a floated div

2006-10-03 Thread Christian Montoya
On Wed, 04 Oct 2006 04:26:32 +1000, Ruiz, Kevin [EMAIL PROTECTED] wrote: I have two image buttons that are not displaying a focus indicator in IE...this works fine in Firefox. The culprit seems to be the fact that both are within a div that's floating. Does anyone know a way around this. My

Re: [WSG] Calling JS gurus

2006-10-03 Thread Lachlan Hunt
Thierry Koblentz wrote: I'd like to get some feedback on this before I publish it and make a fool of myself ;) http://www.tjkdesign.com/articles/a_possible_alternative_to_innerHTML.asp Demo page: http://www.tjkdesign.com/articles/TJK_moveNodes_demo.asp That doesn't seem to be a true

Re: [WSG] Calling JS gurus

2006-10-03 Thread Michael Yeaney
Actually, if you pass the optional boolean parameter to cloneNode as true, it turns into a true deep clone [1]. I've used this many times before - don't know why I didn't think of this earlier when I replied... Mike [1]: W3C DOM Documentation:

Re: [WSG] Calling JS gurus

2006-10-03 Thread Thierry Koblentz
Michael Yeaney wrote: Actually, if you pass the optional boolean parameter to cloneNode as true, it turns into a true deep clone [1]. I've used this many times before - don't know why I didn't think of this earlier when I replied... But then you end up with a duplicate of the whole node, not

Re: [WSG] Calling JS gurus

2006-10-03 Thread Thierry Koblentz
Lachlan Hunt wrote: Thierry Koblentz wrote: I'd like to get some feedback on this before I publish it and make a fool of myself ;) http://www.tjkdesign.com/articles/a_possible_alternative_to_innerHTML.asp Demo page: http://www.tjkdesign.com/articles/TJK_moveNodes_demo.asp That doesn't

[WSG] obj.style.backgroundImage

2006-10-03 Thread Thierry Koblentz
I'm curious to know if anyone here have successfully applied a background image to an IMG element through scripting? I can apply a background color but I can't make style.backgroundImage work. --- Regards, Thierry | www.TJKDesign.com

Re: [WSG] Calling JS gurus

2006-10-03 Thread Lachlan Hunt
Thierry Koblentz wrote: As a side note, I came across a comment of yours on http://domscripting.com/blog/display/35 (the very first one) and I'm surprised how that comment differs from the feedback you're giving me here... Yeah, I know, but opinions change. But what I said was still true

Re: [WSG] Calling JS gurus

2006-10-03 Thread Thierry Koblentz
Lachlan Hunt wrote: Thierry Koblentz wrote: As a side note, I came across a comment of yours on http://domscripting.com/blog/display/35 (the very first one) and I'm surprised how that comment differs from the feedback you're giving me here... Yeah, I know, but opinions change. But what I