RE: [WSG] Set min-width using DOM

2005-10-21 Thread Paul Noone
I won't blush too hard if you mention my name. ;) If you let me know when it's up that'd be great too. Really, though, I didn't create anything new, I just applied it. The current test URL is here - http://d81314.i50.quadrahosting.com.au/ - but please don't check the site for validation. I've

[WSG] Table width in Firefox - Strange problem

2005-10-21 Thread CHAUDHRY, Bhuvnesh
Hi, I have reproduced below the code of a simple html document. The table in the document doesn't show up properly in Firefox 1.0.7. The Caption totally ignores the specified width of the table extends to the full width of the page. With some other CSS, the whole table extends to the full width

RE: [WSG] Table width in Firefox - Strange problem

2005-10-21 Thread Peter Williams
From: CHAUDHRY, Bhuvnesh ...in Firefox 1.0.7. The Caption totally ignores the specified width of the table extends to the full width of the page. .try { background-color: #CC; border: thin solid #CC9900; padding: 4px; margin-left:30%;

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Anders Nawroth
Thierry Koblentz skrev: Ian Rifkin wrote: The min-width was set using CSS expressions which only works in IE. It actually is javascript that makes it work, but it goes in the CSS (inline or external stylesheet). It won't work if javascript is off. I'm not sure about that. I believe

RE: [WSG] Table width in Firefox - Strange problem

2005-10-21 Thread Peter Williams
From: Peter Williams It seems that the caption is not being contained by the table in FF, but I can't explain why. HTML 4 recommendation has this to say about the caption element: Visual user agents should avoid clipping any part of the table including the caption, unless a means is provided

RE: [WSG] Set min-width using DOM

2005-10-21 Thread Geoff Pack
o.k., so how do you go about setting both max- and min-width at the same time? I tried: width:80%; max-width:600px; min-width:400px; width:expression(((document.documentElement.clientWidth)) 500 ? '400px' : '80%');

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Nick Cowie
Paul Thankyou for that, it will be very usefull for a couple of projects I have. The current test URL is here - http://d81314.i50.quadrahosting.com.au/ - One word of warning in IE6 at about 960px wide browser window the centre content drops below the calendar. It only happens in a small range

[WSG] Link behavior

2005-10-21 Thread Bruce
Hi all, Hopefully there is an easy answer for this without overloading this with too much info. My links in my sidebar on a new main site I am doing are underlined. But the underline starts someplace in the middle of the link, not at the beginning.??? Has anyone seen this before and what

Re: [WSG] Link behavior

2005-10-21 Thread felix . zapata
hi, maybe you´ve got an element that is interfering or some padding or margin in the sidebar and is hide part of your underline because is strange what it is happening to you. Sometimes I lost bullets in navigator for this reason. Quoting Bruce [EMAIL PROTECTED]: Hi all, Hopefully there is

Re: [WSG] Link behavior

2005-10-21 Thread Head Chief ,CEO - Poseidon Design Studio
2005/10/21, Bruce [EMAIL PROTECTED]: I should add the site is http://www.bkdesign.ca It does the same in ie6 and firefox, and passes validation Thanks Bruce Prochnau - Original Message - From: Bruce To: wsg@webstandardsgroup.org Sent: Friday, October 21, 2005 5:00 AM Subject:

RE: [WSG] Link behavior

2005-10-21 Thread Patrick Lauke
Bruce I should add the site is http://www.bkdesign.ca My links in my sidebar on a new main site I am doing are underlined. But the underline starts someplace in the middle of the link, not at the beginning.??? Don't ask me why (though I suspect it's because a is an inline element, so

Re: [WSG] Link behavior

2005-10-21 Thread Nick Cowie
Try #sidebar li a { background: none;} or #sidebar li a { line-height: 1.5em;} It is the top of second line overwriting the bottom of the first line of the link -- Nick Cowie http://nickcowie.com ** The discussion list for

Re: [WSG] Link behavior

2005-10-21 Thread Robin Berjon
On Oct 21, 2005, at 11:00, Bruce wrote: Hopefully there is an easy answer for this without overloading this with too much info. My links in my sidebar on a new main site I am doing are underlined. But the underline starts someplace in the middle of the link, not at the beginning.??? Has

Re: [WSG] Link behavior

2005-10-21 Thread Head Chief ,CEO - Poseidon Design Studio
2005/10/21, Robin Berjon [EMAIL PROTECTED]: On Oct 21, 2005, at 11:00, Bruce wrote: Hopefully there is an easy answer for this without overloading this with too much info. My links in my sidebar on a new main site I am doing are underlined. But the underline starts someplace in the middle

Re: [WSG] Link behavior

2005-10-21 Thread Bruce
Bingo! Padding... Thanks to all who responded. Patrick's solution fixed it, but this is a case where bugs brought out errors that although it passed validation, the code was a mess, and all were right who answered. A combination of errors, or perhaps better term would be messy, from poor work

Re: [WSG] Strange width/padding/margin issue with IE5 for Mac

2005-10-21 Thread Adam Morris
Brilliant! Thanks, Geoff. I did notice that the nav was off on IE5 for Mac - IE5 for Windows too, eh? Do they generally behave the same then? - but was so pleased with myself about being hack-free in XP and FF I didn't care about the MacIE!!!. But that's great to know that I still don't have to

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
From: Thierry Koblentz [EMAIL PROTECTED] I'm not sure about that. I believe it still works with script disabled. It doesn't. But if script is used to enhance a web page, rather than the page being dependent on the script, it is not an issue - and very few people run IE with script disabled.

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
From: Lachlan Hardy [EMAIL PROTECTED] Would something like this be appropriate and still validate? Conditional comments only validate in the sense that the validator doesn't recognise them as anything other than comments and hence ignores the content. So, your page will validate against

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Michael Wilson
Al Sparber wrote: Conditional comments only validate in the sense that the validator doesn't recognise them as anything other than comments and hence ignores the content. So, your page will validate against automated checking, but technically you are using invalid code That's a real stretch

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
Michael Wilson wrote: Al Sparber wrote: Conditional comments only validate in the sense that the validator doesn't recognise them as anything other than comments and hence ignores the content. So, your page will validate against automated checking, but technically you are using invalid code

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Thierry Koblentz
Al Sparber wrote: From: Thierry Koblentz [EMAIL PROTECTED] I'm not sure about that. I believe it still works with script disabled. It doesn't. http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html Says: The upper limit is enforced by a max-width on #sizer, and

[WSG] Re: Complex form - markup help?

2005-10-21 Thread Laura Carlson
On 10/20/05, Christian Montoya [email hidden] wrote: It looks like a data table to me. If you didn't use a table, you would probably use lists, which might be more confusing. I've had advise from [EMAIL PROTECTED] against using data table markup for forms because screen readers often have

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
Thierry Koblentz wrote: Al Sparber wrote: From: Thierry Koblentz [EMAIL PROTECTED] I'm not sure about that. I believe it still works with script disabled. It doesn't. http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html Says: The upper limit is enforced by a

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
Thierry Koblentz wrote: http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html Says: The upper limit is enforced by a max-width on #sizer, and IEwin is included via an expression hidden in a Conditional Comment in the head. While this is a script, the user cannot

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
Thierry Koblentz wrote: http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html Says: The upper limit is enforced by a max-width on #sizer, and IEwin is included via an expression hidden in a Conditional Comment in the head. While this is a script, the user cannot

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Thierry Koblentz
Al Sparber wrote: Thierry Koblentz wrote: http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html Says: The upper limit is enforced by a max-width on #sizer, and IEwin is included via an expression hidden in a Conditional Comment in the head. While this is a script,

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html With script disabled in IE6, the expression on the above page does not work. It seems to work fine for me, It most certainly does not work. Look closely, the page is a mess to begin with so it's hard to see.

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Thierry Koblentz
Al Sparber wrote: http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html With script disabled in IE6, the expression on the above page does not work. It seems to work fine for me, It most certainly does not work. Look closely, the page is a mess to begin with so

Re: [WSG] Re: Complex form - markup help?

2005-10-21 Thread Christian Montoya
On 10/21/05, Laura Carlson [EMAIL PROTECTED] wrote: On 10/20/05, Christian Montoya [email hidden] wrote: It looks like a data table to me. If you didn't use a table, you would probably use lists, which might be more confusing. I've had advise from [EMAIL PROTECTED] against using data table

Re: [WSG] Re: Complex form - markup help?

2005-10-21 Thread Christian Montoya
On 10/21/05, Laura Carlson [EMAIL PROTECTED] wrote: On 10/20/05, Christian Montoya [email hidden] wrote: It looks like a data table to me. If you didn't use a table, you would probably use lists, which might be more confusing. I've had advise from [EMAIL PROTECTED] against using data table

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Al Sparber
Thierry Koblentz wrote: Al Sparber wrote: http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html With script disabled in IE6, the expression on the above page does not work. It seems to work fine for me, It most certainly does not work. Look closely, the page

[WSG] Conditional Comments question

2005-10-21 Thread Janelle Clemens
I have a question about conditional comments. I have heard so much about them especially in the last discussion about "Set min-width using DOM" but have never used them. We have always used a _javascript_ style sniffer to determine which browser the viewer is using. However when

Re: [WSG] Conditional Comments question

2005-10-21 Thread Thierry Koblentz
Janelle Clemens wrote: I have a question about conditional comments. I have heard so much about them especially in the last discussion about Set min-width using DOM but have never used them. We have always used a javascript style sniffer to determine which browser the viewer is using.

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Stuart Sherwood
I first discovered these expressions quite some time ago. Sorry if I'm stealing anyone's thunder. http://www.svendtofte.com/code/max_width_in_ie/ Regards, Stuart ** The discussion list for http://webstandardsgroup.org/ See

Re: [WSG] Conditional Comments question

2005-10-21 Thread Mark Harris
Janelle Clemens wrote: I have a question about conditional comments. I have heard so much about them especially in the last discussion about Set min-width using DOM but have never used them. We have always used a javascript style sniffer to determine which browser the viewer is using.

Re: [WSG] Conditional Comments question

2005-10-21 Thread Al Sparber
Janelle Clemens wrote: I have a question about conditional comments. I have heard so much about them especially in the last discussion about Set min-width using DOM but have never used them. We have always used a javascript style sniffer to determine which browser the viewer is using.

[WSG] List item overlap

2005-10-21 Thread Taco Fleur - Pacific Fox
Title: Message I have this list item on http://www.lrp.com.au/admin/(main navigation) it overlaps,I would like it to just continue underneath without overlapping, is that possible? Thanks, Taco Fleur - CEOPacific Fox http://www.pacificfox.com.au an industry leader with commercial IT

Re: [WSG] Set min-width using DOM

2005-10-21 Thread Christian Montoya
Ok, so my final questions is... is there a fallback for expression() ? Something in IE for expression that functions like noscript for script? What I am thinking of is that if someone using IE doesn't have expression(), you may want to give them a fixed width layout as backup. Something like: