From george.smyth at USNA.COM Thu Apr 24 16:07:26 2003 From: george.smyth at USNA.COM (George Smyth) Date: Thu, 24 Apr 2003 11:07:26 -0400 Subject: [css-d] OT - JavaScript Listserv Message-ID: My apologies for the off-topic post, but I was wondering if anyone knew of a JavaScript listserv, where I might be able to ask a question. Thanks - george From bob.jones at usg.edu Thu Apr 24 16:08:04 2003 From: bob.jones at usg.edu (Bob Jones) Date: Thu, 24 Apr 2003 11:08:04 -0400 Subject: [css-d] z-index problems In-Reply-To: References: Message-ID: <20030424150804.GB18507@usg.edu> On Thu, Apr 24, 2003 at 07:57:14AM -0700, Michael_Landis@capgroup.com wrote: # # In both circumstances, change your position declaration in .lyrics from # relative to absolute. Relatively positioned content will take up space in # the content, regardless of its visibility. When its display property is # changed from "none" to "block", it simply reinserts the content into the # flow. Giving it absolute positioning ensures that it will appear on the # page without modifying the flow of surrounding content. I was afraid you would say that. Unfortunately, in order to keep my layout fluid, absolutely positioning that content isn't an option. So, unless someone here has a neat trick to do what it is I'm wanting to do, I'll have to abandon these plans. Thanks, Bob From dm87 at rogers.com Thu Apr 24 16:10:22 2003 From: dm87 at rogers.com (Donna m87) Date: Thu, 24 Apr 2003 11:10:22 -0400 Subject: [css-d] template with changing content In-Reply-To: <20030424091653.UBGQ4571.fep02-mail.bloor.is.net.cable.rogers.com@acornpar enting.org> References: <20030424091653.UBGQ4571.fep02-mail.bloor.is.net.cable.rogers.com@acornpar enting.org> Message-ID: With tables I could place headers and footers above an below the content, the footer would automatically move down the page when the content volume increased. I have created a template using absolutely positioned css div for the header, content and footer. When the content increases, the footer is overwritten. How can I get the footer to adjust automatically when the content volume changes? Can one combine absolute and relative positioning? What sorts of concepts should i be researching to look at my options? thanks Donna From Craig.Saila at bgminteractive.com Thu Apr 24 16:27:28 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Thu, 24 Apr 2003 11:27:28 -0400 Subject: [css-d] Media="all" vs. @import Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> Steve Thomas wrote: > 1. link to one single style sheet, as in >=20 > The only catch with this is that the default media for LINK is "screen", so /technically/ other media types would never see the embedded @media stuff. But as you point out, it does work... =20 > 2. Begin that style sheet with an @import to import the stuff which > fouls up NN4 etc.=20 Yup. Just be careful, because as you know, rules in the main file will override those in the imported file. > One interesting aside: the @page rule only makes sense for print (I Essentially, yes, but @page can also be used (in theory) for anything determined to be a paged media (i.e., one that isn't continuous like a screen). Paged media types include: emboss, handheld (which is also continuous), print, screen, and also tv (which, like handheld, is both). --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From jon at jackinthebox.co.uk Thu Apr 24 16:28:57 2003 From: jon at jackinthebox.co.uk (jon@jackinthebox.co.uk) Date: Thu, 24 Apr 2003 16:28:57 +0100 Subject: [css-d] Smaller checkboxes Message-ID: Michael Abramovich wrote: > Hello css-d, > > is it possible to use css to make checkboxes smaller sized? > Michael, Yes its possible to do this, just set a CSS rule with the width and height set and apply it to the radio button or checkbox. I've knocked up a quick demonstration, you can find it at: http://www.jackinthebox.co.uk/checkboxsize.html Explorer renders these as you would want them rendered but mozilla causes a few problems with the checkboxes if you stick a valid doctype in. Hope this helps. Jon Tucker From work at cookiecrook.com Thu Apr 24 16:40:48 2003 From: work at cookiecrook.com (James Craig) Date: Thu, 24 Apr 2003 10:40:48 -0500 Subject: [css-d] List with mixed styles In-Reply-To: <000301c30a10$89862410$070010ac@development> References: <000301c30a10$89862410$070010ac@development> Message-ID: <3EA80580.3070503@cookiecrook.com> > What you want to do is create a div for the sub-items and add styles for > that specific div to your CSS. (Hat tip: Eric Meyer) > > So, for example: > The nesting idea is correct, but keep it a list, not divs. ul.menu { /* top menu styles */ } ul.menu li { /* top menu item styles */ } ul.menu li ul { /* sub-menu styles */ } ul.menu li ul li { /* sub-menu item styles */ } Or, you could save a few bytes on the selectors. .menu { /* top menu styles */ } .menu li { /* top menu item styles */ } .menu ul { /* sub-menu styles */ } .menu li li { /* sub-menu item styles */ } Good luck, James Craig -- http://www.cookiecrook.com/ From BradyG at BIDWELL.com Thu Apr 24 16:49:36 2003 From: BradyG at BIDWELL.com (Brady Gearring) Date: Thu, 24 Apr 2003 08:49:36 -0700 Subject: [css-d] OT - JavaScript Listserv Message-ID: <353FE091A7E3D311BAD900508B6BF80202D409B8@bidwell-mail.bidwell.com> this is not a list serv, but it is a good message board with alot of activity and you might be able to find the help you are looking for: http://www.aspmessageboard.com/forum/jscript.asp HTH bg http://www.2solardays.com >-----Original Message----- >My apologies for the off-topic post, but I was wondering if anyone knew of a >JavaScript listserv, where I might be able to ask a question. >Thanks - >george From Craig.Saila at bgminteractive.com Thu Apr 24 16:50:53 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Thu, 24 Apr 2003 11:50:53 -0400 Subject: [css-d] Media="all" vs. @import Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD2@mail.bgm.globeinteractive.com> Ian Hickson wrote: > On Wed, 23 Apr 2003, Saila, Craig wrote: >> For example, three-column layouts are almost useless on narrow-screen >> devices >=20 > A three column layout will render the same on a narrow screen > device as it does on a 1600x1200 screen like mine, if the Yes, if the handheld supported CSS-P, but even then, it would likely be hard to read as most PDAs have a screen width of about 160 pixels. That means about 53 pixels per column, or a lot of horizontal scrolling. > Of course this is where Media Queries come in, not that they are > widely support yet:=20 >=20 > http://www.w3.org/TR/css3-mediaqueries/ Exactly. > Why? What about when we come along and invent a new media, > say, "overhead-display"? About the only media types you are Then you go back and update your style sheet. Nothing lasts forever. Besides, until a media type is defined by a CSS specification we don't have to worry about it!=20 > I don't really understand why. >=20 > When the stylesheet is _specifically_ designed for a > particular media (e.g. font sizes given in absolute units for > printing), then it makes sense to specify the media type. But > otherwise, it seems unwise.=20 I that's the heart of the matter there, and it's also where you and I disagree. There are way to many situations when doing something great for one medium (@page { size: ... }, pixel units) is not recommended for others (@page is useless for continuous media, pixels can't be used with tty). @media was designed specifically for the purpose of declaring media-specific rules in a style sheet targetting more than one media (e.g., "all"). Why wouldn't you use it for that purpose? (OK, there's poor support, but...) > Since your "ideal" set includes "handheld", and almost all > new devices fall into this category, you're not really avoiding the > problem! :-)=20 I only recommended using handheld if the /only/ styles declared are things like font and color. Handhelds have abysmal positioning support, worse than WebTV (see below). If, however, you wanted to declare screen and handheld together, @media is the perfect tool.=20 > Web of real CSS content to deal with. New devices are more > likely to be better at CSS since they have to work with new > Web content. And if the UA is compliant, then pages should Yes, but they aren't compliant: "CSS2 Support in PDA/Handheld Browsers" Thanks for making me think through all these media issues, Ian. --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From bmerkey at tampabay.rr.com Thu Apr 24 17:10:06 2003 From: bmerkey at tampabay.rr.com (Brett Merkey) Date: Thu, 24 Apr 2003 12:10:06 -0400 Subject: [css-d] smaller checkboxes References: <1824277687.20030423143018@balance.com.au> <3EA71397.3080403@cookiecrook.com> <00be01c309ff$25f59db0$a0ca2341@lighthouse> Message-ID: <000d01c30a7b$f91e3ef0$a0ca2341@lighthouse> ----- Original Message ----- From: "Ian Hickson" <> - - - - - - - - - - - - - - - - - - - Well, happily in respect to font substitution, Mozilla, Netscape 6.1+, and IE are not standards-compliant browsers. I have tried UNICODE solutions and they always end up causing more problems in more situations than the easier and more common method of font substitution. At least in the Windows world, I see nothing but problems in implementing Unicode equivalents. Do you have a link to some example where checkboxes (or something similar) have been done using standards for glyph display? Brett From bmerkey at tampabay.rr.com Thu Apr 24 17:24:25 2003 From: bmerkey at tampabay.rr.com (Brett Merkey) Date: Thu, 24 Apr 2003 12:24:25 -0400 Subject: [css-d] Smaller checkboxes References: Message-ID: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> | I've knocked up a quick demonstration, you can find it at: | http://www.jackinthebox.co.uk/checkboxsize.html | Explorer renders these as you would want them rendered but mozilla causes a | few problems with the checkboxes if you stick a valid doctype in. I feel like I'm getting more for my browser money when I click on those big ones! Brett From akuehn at nc.rr.com Thu Apr 24 17:25:06 2003 From: akuehn at nc.rr.com (Adam Kuehn) Date: Thu, 24 Apr 2003 12:25:06 -0400 Subject: [css-d] z-index problems In-Reply-To: <20030424150804.GB18507@usg.edu> References: <20030424150804.GB18507@usg.edu> Message-ID: >On Thu, Apr 24, 2003 at 07:57:14AM -0700, Michael_Landis@capgroup.com wrote: ># ># In both circumstances, change your position declaration in .lyrics from ># relative to absolute. Relatively positioned content will take up space in ># the content, regardless of its visibility. When its display property is ># changed from "none" to "block", it simply reinserts the content into the ># flow. Giving it absolute positioning ensures that it will appear on the ># page without modifying the flow of surrounding content. > >I was afraid you would say that. Unfortunately, in order to keep my >layout fluid, absolutely positioning that content isn't an option. So, >unless someone here has a neat trick to do what it is I'm wanting to do, >I'll have to abandon these plans. I haven't checked out this solution, so take it with a grain of salt: Absolute positioning shouldn't affect the fluidity of your layout, if you do it correctly. If you absolutely position something, it is positioned with respect to it's containing block. That containing block is defined to be the nearest ancestor with a position other than "static". Since "static" is also the default position for every element, you would therefore need to position the element which contains the hidden/invisible content in question - in other words, position the list item. Try "relative" on the li, then "absolute" on the paragraph and see if that does what you are looking for. Incidentally, to be a bit more semantically correct, you should actually make the invisible/hidden element a div , rather than a paragraph (positioned as explained). Each verse could then be marked up as a paragraph, with no additional positioning required. -- -Adam Kuehn From steve at mrclay.org Thu Apr 24 17:44:40 2003 From: steve at mrclay.org (Steve Clay) Date: Thu, 24 Apr 2003 12:44:40 -0400 Subject: [css-d] semantically correct: padding vs margin In-Reply-To: <3CD82BA2-764B-11D7-9DBB-0003934B1B7A@wi.rr.com> References: <3CD82BA2-764B-11D7-9DBB-0003934B1B7A@wi.rr.com> Message-ID: <198361053093.20030424124440@mrclay.org> Thursday, April 24, 2003, 7:52:34 AM, Arlen Walker wrote: AW> Margins also do *not* add; Vertically, but they don't collapse horizontally. Steve -- http://mrclay.org From Josh at Ambrutis.com Thu Apr 24 17:43:50 2003 From: Josh at Ambrutis.com (Josh Ambrutis) Date: Thu, 24 Apr 2003 12:43:50 -0400 Subject: [css-d] Media="all" vs. @import In-Reply-To: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD2@mail.bgm.globeinteractive.com> Message-ID: <004801c30a80$af81d900$6502a8c0@Dreamfire> > Saila, Craig : > > Thanks for making me think through all these media issues, Ian. And it's been a good conversation to follow along with, it's got me thinking. --Josh From ian at hixie.ch Thu Apr 24 18:01:31 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 10:01:31 -0700 (PDT) Subject: [css-d] Media="all" vs. @import In-Reply-To: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> References: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> Message-ID: On Thu, 24 Apr 2003, Saila, Craig wrote: > > Steve Thomas wrote: >> 1. link to one single style sheet, as in >> >> > > The only catch with this is that the default media for LINK is "screen", > so /technically/ other media types would never see the embedded @media > stuff. That's an error in the HTML spec. The HTML working group has delegated authority over the "media" attribute to the CSS working group, who has decided to change the default to "all". Unfortunately I can't find a public reference to this decision. I'll look into it. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From steve at mrclay.org Thu Apr 24 18:40:08 2003 From: steve at mrclay.org (Steve Clay) Date: Thu, 24 Apr 2003 13:40:08 -0400 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: References: Message-ID: <56364380796.20030424134008@mrclay.org> Thursday, April 24, 2003, 8:09:55 AM, Seb wrote: S> Professional and Trade Information S> ...and then style that span as "display: block;". This is a good way to stop using another purely presentational element. You might also want to specify font-size:0; height:0 just to be sure the space within doesn't give you a 1em tall block. There is a small catch in this display:block method, though: Inline elements, such as A, are not supposed to contain blocks (as we've told span to render), so, even though it's valid HTML/CSS, there could be unexpected behavior/rendering. Another technique would be: span { white-space:pre-line; /* gets rid of the space (CSS2.1) */ } span:after { content:"\A"; /* generated line-break */ } Steve -- http://mrclay.org From ian at hixie.ch Thu Apr 24 18:42:19 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 10:42:19 -0700 (PDT) Subject: [css-d] smaller checkboxes In-Reply-To: <000d01c30a7b$f91e3ef0$a0ca2341@lighthouse> References: <1824277687.20030423143018@balance.com.au> <3EA71397.3080403@cookiecrook.com> <00be01c309ff$25f59db0$a0ca2341@lighthouse> <000d01c30a7b$f91e3ef0$a0ca2341@lighthouse> Message-ID: On Thu, 24 Apr 2003, Brett Merkey wrote: > > Well, happily in respect to font substitution, Mozilla, Netscape 6.1+, > and IE are not standards-compliant browsers. I believe recent Mozilla builds have been fixed in this regard. > I have tried UNICODE solutions and they always end up causing more > problems in more situations than the easier and more common method of > font substitution. At least in the Windows world, I see nothing but > problems in implementing Unicode equivalents. Unfortunately, we're not in a Windows world. Millions of people use other operating systems. > Do you have a link to some example where checkboxes (or something > similar) have been done using standards for glyph display? This works in Mozilla: http://www.damowmow.com/playground/demos/checkboxes/001.html Unfortunately it doesn't work in WinIE6, due to its rather abysmal UNICODE support. It is sad that the most popular UA is so bad at basic standards. It was the same back in the days of Netscape 4... Maybe having poor support for the specs is the key to being popular? ;-) -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From Craig.Saila at bgminteractive.com Thu Apr 24 18:46:03 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Thu, 24 Apr 2003 13:46:03 -0400 Subject: [css-d] Media="all" vs. @import Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD5@mail.bgm.globeinteractive.com> Ian Hickson wrote: > That's an error in the HTML spec. The HTML working group has > delegated authority over the "media" attribute to the CSS > working group, who has decided to change the default to "all". Well, that would make *a lot* more sense!=20 There does seems to be an inconsistency, given @import defaults to "all" and this reference: implies it should default to "all" and apparently the DTD doesn't specify any default media-type, so "all" would make sense. Ain't it great when even the "standards" are consistent! --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From ian at hixie.ch Thu Apr 24 18:49:31 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 10:49:31 -0700 (PDT) Subject: [css-d] Smaller checkboxes In-Reply-To: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> References: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> Message-ID: > I've knocked up a quick demonstration, you can find it at: > http://www.jackinthebox.co.uk/checkboxsize.html Explorer renders these > as you would want them rendered but mozilla causes a few problems with > the checkboxes if you stick a valid doctype in. Actually the reason Mozilla stops styling the checkboxes in strict mode is that the checkboxes have classes that do not match the classes in the stylesheet. In quirks mode, Mozilla is ignoring the error and treating the classes as case insensitive, but in strict mode it does the right thing. If you change the classes to lowercase throughout it works fine. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From contact at lukeredpath.co.uk Thu Apr 24 19:08:38 2003 From: contact at lukeredpath.co.uk (Luke Redpath) Date: Thu, 24 Apr 2003 19:08:38 +0100 Subject: [css-d] Cross-Browser Template Check Message-ID: Hi, I'm working on a template for a redesign of a personal site (www.sonicdeath.co.uk). The template is here: http://testpad.sonicdeath.co.uk/sonicdeath_template.htm And a jpg of what it should look like is here: http://testpad.sonicdeath.co.uk/sonicdeath_template.jpg So far it works in NS7, IE6, Opera 7, Moz 1.1/1.3 on Windows. It doesn't work in Opera 5 but that is fine with me because I would expect the majority of Opera users (and we are talking about the majority of an extreme minority) to have the latest version. I've not implemented any box model hacks yet either so I'm not bothered about what it looks like in IE 5.x at this point in time. What I would like to know is what it looks like in any other browsers I haven't mentioned, particularly IE 5.2, Camino and Mozilla on the Mac. I need to tidy the code up a bit, but that said, it still validates as XHTML 1.0 strict and the CSS also validates. Cheers, Luke Redpath -- www.sonicdeath.co.uk/weblog "Celebrity Squares" - giving the web a CSS makeover - coming soon! From miriam at f2o.org Thu Apr 24 19:10:50 2003 From: miriam at f2o.org (Miriam Frost) Date: Thu, 24 Apr 2003 13:10:50 -0500 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051186196.27743@tweek.sebduggan.com> References: <1051186196.27743@tweek.sebduggan.com> Message-ID: <3EA828AA.50506@f2o.org> > > > Here's my tip: create a with a single space in it, like so: > Professional and Trade Information > ...and then style that span as "display: block;". > Now, without a stylesheet, you'll get the full link on one line - with a > space in the middle - but, in the styled version, the span will go on > to a > new line, but not actually show anything as there's only white-space > in it, > so it collapses. > There you have it - a CSS-only line break. > Yow! I think I'll stick with my smaller
's. Why is there anything inherently wrong with line breaks -- isn't

123 Trogdor St.
Strongbadia, Wherever

better than p.address {margin: 0;}

123 Trogdor St.

Strongbadia, Wherever

? besos Miriam -- http://www.surebluestudios.com From miriam at f2o.org Thu Apr 24 19:28:20 2003 From: miriam at f2o.org (Miriam Frost) Date: Thu, 24 Apr 2003 13:28:20 -0500 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051186196.27743@tweek.sebduggan.com> References: <1051186196.27743@tweek.sebduggan.com> Message-ID: <3EA82CC4.7030406@f2o.org> > > Here's my tip: create a with a single space in it, like so: > Professional and Trade Information > ...and then style that span as "display: block;". > Now, without a stylesheet, you'll get the full link on one line - with a > space in the middle - but, in the styled version, the span will go on > to a > new line, but not actually show anything as there's only white-space > in it, > so it collapses. There you have it - a CSS-only line break. Yow! I think I'll stick with my smaller
's. Why is there anything inherently wrong with line breaks -- isn't

123 Trogdor St.
Strongbadia, Wherever

better than p.address {margin: 0;}

123 Trogdor St.

Strongbadia, Wherever

? besos Miriam -- http://www.surebluestudios.com From miriam at f2o.org Thu Apr 24 19:28:53 2003 From: miriam at f2o.org (Miriam Frost) Date: Thu, 24 Apr 2003 13:28:53 -0500 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <3EA828AA.50506@f2o.org> References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> Message-ID: <3EA82CE5.1020306@f2o.org> >

> 123 Trogdor St.
> Strongbadia, Wherever
>

I suppose one could do similar with a list...
  • 123 Trogdor St.
  • Strongbadia, Wherever
but that's not really a list, is it, and is therefore just as semantically meaningless as a
? Hrrm. besos Miriam -- http://www.surebluestudios.com From Josh at Ambrutis.com Thu Apr 24 19:30:47 2003 From: Josh at Ambrutis.com (Josh Ambrutis) Date: Thu, 24 Apr 2003 14:30:47 -0400 Subject: [css-d] WaSP's Upgrade page leaving? In-Reply-To: Message-ID: <005301c30a8f$a31f3b80$6502a8c0@Dreamfire> If this is something that everyone knows about, forgive me for somehow missing it somewhere! For those redirecting non-compliant browsers via sniff or the cute "ahem" class that's revealed when the stylesheet isn't loaded... Where are you going to send your non-compliant users now? If anywhere? >From the page I always point to: http://webstandards.org/upgrade/ "Note to site builders: The WaSP Browser Upgrade Campaign has come to a close. As such we ask that you discontinue your use of this upgrade message and visit the Beyond the Browser Upgrade Campaign page to learn about what to do instead." :( This isn't old news is it? (I'll be really red-faced if it is). So is there still a need to re-direct your non-compliant visitors, or do you agree with the sentiments about it just being an easy out for not testing our pages for some browsers like NN4 as expressed at http://webstandards.org/act/campaign/buc/ ? I personally, still see the need to redirect non-compliant users to a page that tells them more information, like where to obtain an upgrade, why they were redirected (or why they were provided the link) and the like. Thoughts? --Josh From work at cookiecrook.com Thu Apr 24 19:33:01 2003 From: work at cookiecrook.com (James Craig) Date: Thu, 24 Apr 2003 13:33:01 -0500 Subject: [css-d] Media="all" vs. @import In-Reply-To: References: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> Message-ID: <3EA82DDD.2080805@cookiecrook.com> I admit I haven't been paying as close attention to this thread as possible, but what do you guys think of adding @media rules? Would this work? Then the stylesheet could include general styles still hidden from Netscape 4, immediately followed by: @media screen { @import "screen.css"; } @media print { @import "print.css"; } Perhaps there are some bugs associated with this approach, too? Just curious. James -- http://www.cookiecrook.com/ From ian at hixie.ch Thu Apr 24 19:43:05 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 11:43:05 -0700 (PDT) Subject: [css-d] Media="all" vs. @import In-Reply-To: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD5@mail.bgm.globeinteractive.com> References: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD5@mail.bgm.globeinteractive.com> Message-ID: On Thu, 24 Apr 2003, Saila, Craig wrote: > Ian Hickson wrote: >> That's an error in the HTML spec. The HTML working group has >> delegated authority over the "media" attribute to the CSS >> working group, who has decided to change the default to "all". > > Well, that would make *a lot* more sense! Heh. I've reminded the relevant person to add this to the HTML errata. > Ain't it great when even the "standards" are [in]consistent! The people who write the browsers are the same as the people who write the specs... it's to be expected that both are flawed. ;-) -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From ian at hixie.ch Thu Apr 24 20:02:24 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 12:02:24 -0700 (PDT) Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <3EA828AA.50506@f2o.org> References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> Message-ID: On Thu, 24 Apr 2003, Miriam Frost wrote: > > Why is there anything inherently wrong with line breaks -- isn't > >

> 123 Trogdor St.
> Strongbadia, Wherever
>

> > better than > p.address {margin: 0;} >

123 Trogdor St.

>

Strongbadia, Wherever

? Yes, it is. Even better is:
123 Trogdor St.
Strongbadia, Wherever

is only wrong when used to separate paragraphs, as in: Foo Bar.

Baz.

...which would be better as:

Foo Bar.

Baz.

-- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From miriam at f2o.org Thu Apr 24 20:04:35 2003 From: miriam at f2o.org (Miriam Frost) Date: Thu, 24 Apr 2003 14:04:35 -0500 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> Message-ID: <3EA83543.9040605@f2o.org> > > >
> 123 Trogdor St.
> Strongbadia, Wherever
>
> D'oh! I have cause to use
so infrequently that it completely slipped my mind. Off to wash the egg from my face.... besos Miriam From work at cookiecrook.com Thu Apr 24 20:12:29 2003 From: work at cookiecrook.com (James Craig) Date: Thu, 24 Apr 2003 14:12:29 -0500 Subject: [css-d] Smaller checkboxes In-Reply-To: References: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> Message-ID: <3EA8371D.6080901@cookiecrook.com> >>I've knocked up a quick demonstration, you can find it at: >>http://www.jackinthebox.co.uk/checkboxsize.html Explorer renders these >>as you would want them rendered but mozilla causes a few problems with >>the checkboxes if you stick a valid doctype in. > >If you change the classes to lowercase throughout it works fine. I can get the input's clickable area to enlarge in Mozilla and Opera, but not the actual visable representation like in IE. Is this a preference setting or perhaps related to the XP native form elements? Here's a screen shot. http://www.cookiecrook.com/bugtests/screenshots/cb_sizetest.gif Opera acts about the same except vertically aligned middle instead of bottom. James -- http://www.cookiecrook.com/ From lists at thinkbigideas.com Thu Apr 24 10:24:29 2003 From: lists at thinkbigideas.com (Anthony Baker) Date: Thu, 24 Apr 2003 02:24:29 -0700 Subject: [css-d] WaSP's Upgrade page leaving? In-Reply-To: <005301c30a8f$a31f3b80$6502a8c0@Dreamfire> Message-ID: <001601c30a43$4e8a29f0$210110ac@BigGuy> | I personally, still see the need to redirect non-compliant users to a | page that tells them more information, like where to obtain | an upgrade, | why they were redirected (or why they were provided the link) and the | like. Thoughts? | | --Josh Make one of your own. Copy the content, create an upgrade page with your design, paste the content in. I did something similar on an earlier site myself. That, or, someone could create another version of the page and have it hosted somewhere, allowing folks to point to it. A grassroots upgrade effort, as it were. /Anthony From samuel at latchman.org Thu Apr 24 20:30:20 2003 From: samuel at latchman.org (Sam Latchman) Date: Thu, 24 Apr 2003 21:30:20 +0200 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <3EA82CE5.1020306@f2o.org> References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> <3EA82CE5.1020306@f2o.org> Message-ID: <3EA83B4C.2060708@latchman.org> If semantics is what you're aiming for, what you need is address {margin: 0;}
123 Trogdor St.
Strongbadia, Wherever
with possibly some class="street", class="city"... ::Sam -- Samuel Latchman ----------------- web designer [fr] http://www.latchman.org/sam/ From ian at hixie.ch Thu Apr 24 20:34:40 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 12:34:40 -0700 (PDT) Subject: [css-d] Smaller checkboxes In-Reply-To: <3EA8371D.6080901@cookiecrook.com> References: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> <3EA8371D.6080901@cookiecrook.com> Message-ID: On Thu, 24 Apr 2003, James Craig wrote: > > I can get the input's clickable area to enlarge in Mozilla and Opera, > but not the actual visable representation like in IE. Is this a > preference setting or perhaps related to the XP native form elements? > > Here's a screen shot. > http://www.cookiecrook.com/bugtests/screenshots/cb_sizetest.gif Assuming that shot is of Mozilla, then I would guess that the XP theme you use doesn't support scaling. What does it look like in IE? Note that at the moment, styling form controls is not covered by CSS. While we may be adding more control over this in future levels, at the moment, UA implementors can basically do what they like. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From work at cookiecrook.com Thu Apr 24 20:57:40 2003 From: work at cookiecrook.com (James Craig) Date: Thu, 24 Apr 2003 14:57:40 -0500 Subject: [css-d] Smaller checkboxes In-Reply-To: References: <002701c30a7d$f89c04b0$a0ca2341@lighthouse> <3EA8371D.6080901@cookiecrook.com> Message-ID: <3EA841B4.609@cookiecrook.com> Ian Hickson wrote: > On Thu, 24 Apr 2003, James Craig wrote: > >>Here's a screen shot. >>http://www.cookiecrook.com/bugtests/screenshots/cb_sizetest.gif > >Assuming that shot is of Mozilla, then I would guess that the XP theme you >use doesn't support scaling. What does it look like in IE? Yes, that's Mozilla 1.3 on Win XP. IE6 on XP gets the size right, but uses the default browser form element appearance (black and white) instead of the XP styled form controls. This is the default silver XP theme, not any add-on. James -- http://www.cookiecrook.com/ From Craig.Saila at bgminteractive.com Thu Apr 24 21:08:02 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Thu, 24 Apr 2003 16:08:02 -0400 Subject: [css-d] Media="all" vs. @import Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD6@mail.bgm.globeinteractive.com> James Craig wrote: > I admit I haven't been paying as close attention to this thread as > possible, but what do you guys think of adding @media rules? Would > this work? That's exactly the way to go, and is what @media is designed for. The problem is, AFAIK, @media isn't well supported in some browser that have good CSS support like IE5/Mac and some versions of KHTML-based browsers. > >=20 > Then the stylesheet could include general styles still hidden from > Netscape 4, immediately followed by: >=20 > @media screen { > @import "screen.css"; > } > @media print { > @import "print.css"; > } >=20 > Perhaps there are some bugs associated with this approach, too? That's kinda overkill if you're using it to block NN4, but it's the ideal way to work with media=3D"all" in that you're using @media.=20 The reason I say it's overkill is because NN4 doesn't get @import, so this, for example, would be just as good: Or within that media=3D"all" CSS file (although I'm not sure if @media = has to come first, like @import): /* all-media general styles not for NN4 */ @media screen { /*rules for screen*/ } @media print { /*rules for print*/ } --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From outlaw at joseywales.com Thu Apr 24 21:24:45 2003 From: outlaw at joseywales.com (Seb) Date: Thu, 24 Apr 2003 21:24:45 +0100 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051210553.6798@tweek.sebduggan.com> Message-ID: <1051215888.5130@tweek.sebduggan.com> > From: Miriam Frost > Yow! > I think I'll stick with my smaller
's. > > Why is there anything inherently wrong with line breaks There's absolutely nothing wrong with line breaks. It's just that sometimes you want your styled layout to break in a specific place, but have it appear as one line when it's unstyled. From info at n2dreamweaver.com Thu Apr 24 21:44:34 2003 From: info at n2dreamweaver.com (Donna Casey) Date: Thu, 24 Apr 2003 13:44:34 -0700 Subject: [css-d] Replying to the list References: <1051193106.26092@tweek.sebduggan.com> Message-ID: <00fb01c30aa2$50915f70$7802a8c0@buglet> too bad that the link to the "elm" program that actually works with this style of non-munging list replies is an orphaned link...it seems that outlook express doesn't offer a choice between individual and group, just individual and all. Donna > > http://css-discuss.incutio.com/?page=CssDiscussListHeaders > > > OK, I feel suitably chastened :) It's just not the reply behaviour I'm used > to. I'm sure I'll adjust... From Michael_Landis at capgroup.com Thu Apr 24 21:56:57 2003 From: Michael_Landis at capgroup.com (Michael_Landis@capgroup.com) Date: Thu, 24 Apr 2003 13:56:57 -0700 Subject: [css-d] CSS-only line break (a tip) Message-ID: > If semantics is what you're aiming for, what you need is > address {margin: 0;} >
123 Trogdor St.
>
Strongbadia, Wherever
> with possibly some class="street", class="city"... We're getting off-topic here, but before we leave I'd like to point out that the above is not actually proper -- it denotes that each line of the address is an address itself, when in fact each element is only one part of the address. Thanks, MikeL From ckestes at bewb.org Thu Apr 24 22:08:41 2003 From: ckestes at bewb.org (Jason Estes) Date: Thu, 24 Apr 2003 16:08:41 -0500 Subject: [css-d] WaSP Upgrade Campaign. Message-ID: <010501c30aa5$af80eed0$2901a8c0@SWORDFISH> I have put together a simple version of the WaSP Upgrade Campaign page that can be used in a similar manner as the previous one. I used most of the old copy, so there should be no suprises. http://www.bewb.org/webstandards.asp Jason Estes The BEWB www.bewb.org From steve at mrclay.org Thu Apr 24 22:05:41 2003 From: steve at mrclay.org (Steve Clay) Date: Thu, 24 Apr 2003 17:05:41 -0400 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> Message-ID: <60376713968.20030424170541@mrclay.org> Thursday, April 24, 2003, 3:02:24 PM, Ian Hickson wrote: IH>
is only wrong when used to separate paragraphs There are other instances where a line-break is visually preferred in a certain place (rather than left to natural flow). IMO, these cases warrant an alternate line-break solution. Say you have a heading that's just a tad too long for a single line: | Welcome to My Page About Race | | Cars | and you might want: | Welcome to My Page | | About Race Cars | A
just really doesn't make sense structurally and playing with margins/padding until it wraps where you want is less-than-ideal (what if the user chooses a slightly bigger/different font). You could use non-breaking spaces to do something like:

Welcome to My Page About Race Cars

But this seems more elegant and content-friendly:

Welcome to My Page About Race Cars

Steve -- http://mrclay.org From stephen at crescentcreative.com Thu Apr 24 22:01:18 2003 From: stephen at crescentcreative.com (Stephen Hamilton) Date: Thu, 24 Apr 2003 14:01:18 -0700 Subject: [css-d] IE 6 vs Opera/Mozilla etc In-Reply-To: <009e01c30a1c$25ff5b80$650aa8c0@video> Message-ID: <012301c30aa4$a728d050$650aa8c0@video> I don't know if it's correct form to reply to your own messages, but I solved most of my nested list / rollover issues with one remaining niggle. My original problem was caused by not nesting the list elements properly viz:
  • element1
    • subelement1
  • element2
That piece is now corrected. However I still have the problem that IE6.0 is not picking up the color attribute. This too will succumb to engineering rigor! Any pointers are always appreciated. Stephen -----Original Message----- From: Stephen Hamilton [mailto:stephen@crescentcreative.com] Sent: Wednesday, April 23, 2003 9:44 PM To: css-d@lists.css-discuss.org Subject: [css-d] IE 6 vs Opera/Mozilla etc I have built nested left navigation menus with CSS rollovers on a site (www.saveburlingameschools.com) and find significant differences from IE6 versus Opera 7.1 , Netscape 7.0 , and Mozilla 1.3 (all W2K) 1) IE does not pick up the color attribute for the text link: .navbar li a { color: #880026; } 2) and IE does not pick up the submenu background image: http://www.saveburlingameschools.com/index.php?Topic=5 .subnavbar li a { background-image: url('pictures/submenu.gif'); background-repeat: no-repeat; text-decoration: none; All the other mentioned browsers seem to work ok (though there is a strange framing ssue with Mozilla that I haven't quite resolved!). The style sheets are at : http://www.saveburlingameschools.com/measurea.css http://www.saveburlingameschools.com/measurealayout.css Any thoughts / pointers would be appreciated. Many thanks Stephen "There are many roads up the mountain, but they all lead to the top ... The road is steep whichever way you go, so enjoy the view!" From Josh at Ambrutis.com Thu Apr 24 22:05:33 2003 From: Josh at Ambrutis.com (Josh Ambrutis) Date: Thu, 24 Apr 2003 17:05:33 -0400 Subject: [css-d] WaSP's Upgrade page leaving? In-Reply-To: <001601c30a43$4e8a29f0$210110ac@BigGuy> Message-ID: <006701c30aa5$3f66d010$6502a8c0@Dreamfire> > Anthony Baker : > Make one of your own. Yeah, that's what I plan on doing I think.. But my real main concern was the sites out there that have that reference that are now out of the designer's control. Thankfully I saw on Mark Pilgrim's site that the page isn't going anywhere, so we won't be sending folks to a 404 on those older sites. http://diveintomark.org/archives/2003/04/21/browser_upgrade_campaign_off icially_retired.html -- Josh From msauers at bcr.org Thu Apr 24 22:39:00 2003 From: msauers at bcr.org (Michael Sauers) Date: Thu, 24 Apr 2003 15:39:00 -0600 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <60376713968.20030424170541@mrclay.org> Message-ID: Steve; You've just lost me completely. You're suggesting that
doesn't make sense to break a line into two but that we should span a space and classify it as "br" (which you didn't say what that class is defined as) instead. Why oh why would I do that? Why doesn't
make sense structurally? Why do you suggest almost 15x the amount of code instead. This just doesn't make sense to me. Did I miss something in your explanation? -------------------------------------------------- Michael Sauers, Librarian, Trainer & Author Bibliographical Center for Research (BCR) Aurora, CO :: 303-751-6277 x124 :: msauers@bcr.org -------------------------------------------------- > Say you have a heading that's just a tad too long for a single line: > > A
just really doesn't make sense structurally and playing with > margins/padding until it wraps where you want is less-than-ideal (what > if the user chooses a slightly bigger/different font). > > You could use non-breaking spaces to do something like: > >

Welcome to My Page About Race Cars

> > But this seems more elegant and content-friendly: > >

Welcome to My Page About Race Cars

From rudy937 at rogers.com Thu Apr 24 22:44:06 2003 From: rudy937 at rogers.com (rudy) Date: Thu, 24 Apr 2003 17:44:06 -0400 Subject: [css-d] IE 6 vs Opera/Mozilla etc References: <012301c30aa4$a728d050$650aa8c0@video> Message-ID: <003f01c30aaa$a3bebb90$0cb96618@r9373j4yqbe8dy> > However I still have the problem that IE6.0 is not picking up the color > attribute. This too will succumb to engineering rigor! > (www.saveburlingameschools.com) i love the apple with the bite out of it! however, the colours on the nav links are identical in ie6 and mozilla, and in fact are no different in link versus hover status hover underlines the links in both browsers rudy From d.abraham at netgates.co.uk Thu Apr 24 22:59:14 2003 From: d.abraham at netgates.co.uk (Dave) Date: Thu, 24 Apr 2003 22:59:14 +0100 Subject: [css-d] Replying to the list References: <1051193106.26092@tweek.sebduggan.com> <00fb01c30aa2$50915f70$7802a8c0@buglet> Message-ID: <002301c30aac$bf2c9ad0$55a423d9@Dave> I am also new, and no I don't think I will adjust. I use these lists as a resource and I can already see a whole bunch of questions with very few replies. Not much use at all. I don't understand the logic behind it, anyone know of any other CSS mailing lists that don't adopt this odd policy?? PS: This is the second attempt, my first message went direct to Donna Casey (sorry Donna) Not good at all. From kr43m0r at earthlink.net Thu Apr 24 23:02:01 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Thu, 24 Apr 2003 17:02:01 -0500 Subject: [css-d] IE 6 vs Opera/Mozilla etc References: <012301c30aa4$a728d050$650aa8c0@video> Message-ID: <006801c30aad$226a5600$6401a8c0@yoda> > However I still have the problem that IE6.0 is not picking up the color > attribute. This too will succumb to engineering rigor! Link colors are controlled by pseudo-classes. .navbar li a:link { color: #880026; } Lonnie From contact at lukeredpath.co.uk Thu Apr 24 23:51:28 2003 From: contact at lukeredpath.co.uk (Luke Redpath) Date: Thu, 24 Apr 2003 23:51:28 +0100 Subject: [css-d] Replying to the list In-Reply-To: <002301c30aac$bf2c9ad0$55a423d9@Dave> Message-ID: If you are using Outlook to use this list, it's not hard to adjust - just hit reply to all instead, and quickly delete the sender from the to list, leaving the list address. Simple! Cheers, Luke Redpath -- www.sonicdeath.co.uk/weblog "Celebrity Squares" - giving the web a CSS makeover - coming soon! From outlaw at joseywales.com Thu Apr 24 23:54:53 2003 From: outlaw at joseywales.com (Seb) Date: Thu, 24 Apr 2003 23:54:53 +0100 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051221498.17020@tweek.sebduggan.com> Message-ID: <1051224895.24032@tweek.sebduggan.com> > From: "Michael Sauers" > > You've just lost me completely. You're suggesting that
doesn't make > sense to break a line into two but that we should span a space and classify > it as "br" (which you didn't say what that class is defined as) instead. > > Why oh why would I do that? Why doesn't
make sense structurally? Why > do you suggest almost 15x the amount of code instead. This just doesn't make > sense to me. Did I miss something in your explanation? If you put a
in the middle of a sentence, it puts a hard structural break in - where what you really want is a purely layout break which doesn't affect the flow of the words. It basically goes to the core of separating layout from content - in Steve's example, the
is being used just for layout, and should therefore be frowned on. From ian at hixie.ch Fri Apr 25 00:01:36 2003 From: ian at hixie.ch (Ian Hickson) Date: Thu, 24 Apr 2003 16:01:36 -0700 (PDT) Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <3EA83B4C.2060708@latchman.org> References: <1051186196.27743@tweek.sebduggan.com> <3EA828AA.50506@f2o.org> <3EA82CE5.1020306@f2o.org> <3EA83B4C.2060708@latchman.org> Message-ID: On Thu, 24 Apr 2003, Sam Latchman wrote: > > If semantics is what you're aiming for, what you need is > > address {margin: 0;} >
123 Trogdor St.
>
Strongbadia, Wherever
> > with possibly some class="street", class="city"...
is a block-level element, it contains a single block address (well, actually, a single block of contact information). The above markup would be two addresses, not one. One address should be marked up with one
element, with lineBReaks marked up with
.
is fine, it's only "evil" when it is used to do something that is strictly presentational. An address has multiple lines even when you read it out over the phone, so
makes sense. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From mark.r.stevens at attbi.com Fri Apr 25 00:00:38 2003 From: mark.r.stevens at attbi.com (markinoregon) Date: Thu, 24 Apr 2003 16:00:38 -0700 Subject: [css-d] Replying to the list In-Reply-To: <002301c30aac$bf2c9ad0$55a423d9@Dave> Message-ID: What's the big deal, I just right click on the message I want to reply to,click reply-all, then remove the person's e-mail address from the to bar, like I did just now with Dave's reply. It's just a matter of people being aware of who the addresses are in the reply to header. we all know the horror stories in a corporate environment where some knucklehead reply's about something sensitive to EVERYONE! >I can already see a whole bunch of questions with very few >replies. Not much use at all. I TOTALLY disagree with that statement DAVE, I've gotten lots of help from people on here, as a matter-of-fact, I print out some threads as reference to try the techniques later, even if I don't need the info now. I was even thinking of compiling a PDF file of the topics that interest me. just my .02 cents. -----Original Message----- From: css-d-bounces@lists.css-discuss.org [mailto:css-d-bounces@lists.css-discuss.org]On Behalf Of Dave Sent: Thursday, April 24, 2003 2:59 PM To: css-d@lists.css-discuss.org Subject: Re: [css-d] Replying to the list I am also new, and no I don't think I will adjust. I use these lists as a resource and I can already see a whole bunch of questions with very few replies. Not much use at all. I don't understand the logic behind it, anyone know of any other CSS mailing lists that don't adopt this odd policy?? PS: This is the second attempt, my first message went direct to Donna Casey (sorry Donna) Not good at all. ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ From Eli_Simpson at capgroup.com Fri Apr 25 00:14:15 2003 From: Eli_Simpson at capgroup.com (Eli_Simpson@capgroup.com) Date: Thu, 24 Apr 2003 16:14:15 -0700 Subject: [css-d] CSS-only line break (a tip) Message-ID: >

Welcome to My Page About Race Cars

With that solution you could end up with breaks between other words, depending on font/window sizes. Here's what I would do if you wanted to force a line break at that exact place and no other:

Welcome to My Page
About Race Cars

From d.abraham at netgates.co.uk Fri Apr 25 00:14:16 2003 From: d.abraham at netgates.co.uk (Dave) Date: Fri, 25 Apr 2003 00:14:16 +0100 Subject: [css-d] Replying to the list References: Message-ID: <007701c30ab7$3a3fd2a0$55a423d9@Dave> > I TOTALLY disagree with that statement DAVE, I've gotten lots of help from > people on here, as a matter-of-fact, I print out some threads as reference > to try the techniques later, even if I don't need the info now. I was even > thinking of compiling a PDF file of the topics that interest me. > > just my .02 cents. I have not been around long enough to see that. I am not saying people don't help, I am saying they do help but do it in private making the information harder to find. It is more of an assumption and an observation after only a day of watching mind. From mrmazda at ij.net Fri Apr 25 00:41:44 2003 From: mrmazda at ij.net (Felix Miata) Date: Thu, 24 Apr 2003 19:41:44 -0400 Subject: [css-d] Replying to the list References: <007701c30ab7$3a3fd2a0$55a423d9@Dave> Message-ID: <3EA87638.46D7@ij.net> Dave wrote: > markinoregon wrote: > > I TOTALLY disagree with that statement DAVE, I've gotten lots of help from > > people on here, as a matter-of-fact, I print out some threads as reference > > to try the techniques later, even if I don't need the info now. I was even > > thinking of compiling a PDF file of the topics that interest me. > I have not been around long enough to see that. I am not saying people don't > help, I am saying they do help but do it in private making the information > harder to find. It is more of an assumption and an observation after only a > day of watching mind. Offlist replies mean: 1-Others have no clue how many or even if others have responded to a request, which means there's no way for others to know whether an (additional) reply from them is warranted. 2-Validity checking is unavailable. If others don't see responses, defective replies aren't trapped for rebuttal/correction. -- "The object and practice of liberty lies in the limitation of governmental power." General Douglas MacArthur Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/auth/auth.html From info at n2dreamweaver.com Fri Apr 25 00:43:55 2003 From: info at n2dreamweaver.com (Donna Casey) Date: Thu, 24 Apr 2003 16:43:55 -0700 Subject: [css-d] Replying to the list References: <1051193106.26092@tweek.sebduggan.com><00fb01c30aa2$50915f70$7802a8c0@buglet> <002301c30aac$bf2c9ad0$55a423d9@Dave> Message-ID: <003c01c30abb$5ef43290$7802a8c0@buglet> > PS: This is the second attempt, my first message went direct to Donna Casey > (sorry Donna) Not good at all. not a problem but my point was that the link to the ELM program was defunct. I found the setup here odd at first but adjusted even with OE after a few abrupt messages from the email police. --mostly lurk and snatch up the delicious crumbs of CSS that others drop here and there.... From malaja at malaja.f9.co.uk Fri Apr 25 00:50:04 2003 From: malaja at malaja.f9.co.uk (malaja) Date: Fri, 25 Apr 2003 00:50:04 +0100 Subject: [css-d] Replying to the list References: <1051193106.26092@tweek.sebduggan.com><00fb01c30aa2$50915f70$7802a8c0@buglet> <002301c30aac$bf2c9ad0$55a423d9@Dave> Message-ID: <00f701c30abc$3abdc2f0$fd00a8c0@mike> Dave I rarely send a message to a list... and though I've been an ardent lurker for a while this may well be the first time I have written to it. You may already have learned something from replies as to how to reply to the list. Simple enough to use "reply-all" etc but so many people don't know it. More seriously, on CSS, there is no way you will get better quality in-depth CSS info anywhere. Far in advance of (incompetent) table based Web-dev too. Writer's to the list have combined technical knowledge and experience unequalled. Enormously helpful, almost always on topic, friendly and respectful. Better than books or formal study. Stay with it a while and you'll see what I mean, give yourself time to get the "feel" of all the helpful characters involved. HTH, and welcome. Mike Edinburgh, Scotland > I am also new, and no I don't think I will adjust. I use these lists as a > resource and I can already see a whole bunch of questions with very few > replies. Not much use at all. From Josh at Ambrutis.com Fri Apr 25 00:54:42 2003 From: Josh at Ambrutis.com (Josh Ambrutis) Date: Thu, 24 Apr 2003 19:54:42 -0400 Subject: [css-d] Helpfulness of the list (was Re: Replying to the list) In-Reply-To: <007701c30ab7$3a3fd2a0$55a423d9@Dave> Message-ID: <007801c30abc$e3252e60$6502a8c0@Dreamfire> > Dave : > I have not been around long enough to see that. I am not > saying people don't > help, I am saying they do help but do it in private making > the information > harder to find. It is more of an assumption and an > observation after only a > day of watching mind. Just a friendly suggestion Dave, hang out and give it a bit more time. What you don't see yet, and what impressed the hell outta me was just *how much* time some people here put into helping others with workarounds, helping with bug research, browser/os issues and the like. A lot of that help seems to happen on off time like after work or between projects (I assume a lot of other people 'work' for a living around here). If you take a cruise through the archives, it'll become obvious that some of those answers and suggestions take a LONG time just to formulate before it makes it to the list. I say obvious because of the sheer size and complexity of some of them. Go through and look at some of the replies from Holly Bergevin... At times she's reproduced entire pages with full code and original graphics just to help someone with their trouble. And she's not the only one, I don't mean to exclude anyone, she's just the first that came to memory. Personally, I can't figure out where some of these kind people get the time! Many times people will solve their own problem that was previously posted to the list and are kind enough to say "I figured it out, and here's how..." Don't forget, many subscribe as Digest Mode, so they only get one email a day, not every single one. This slows down the process a bit too. YMMV, but I looked for a while JUST for this kind of help and this kind of discussion, and while there are some other nice places out there, I really think, bang-for-the-buck, you just can't beat this list for this particular issue. :) --Josh From css-discuss at plumlee.org Fri Apr 25 01:22:43 2003 From: css-discuss at plumlee.org (css-discuss@plumlee.org) Date: Thu, 24 Apr 2003 20:22:43 -0400 Subject: [css-d] 3Col_NN4_FMFM and IE 6 problem Message-ID: <5.2.0.9.2.20030424201237.00bbd7c0@plumlee.org> I've been trying to use the excellent layouts provided by Alex Robinson to cure a layout with Mac IE problems. Ran across something interesting/infuriating and I'm hoping that someone here can either explain it to me or point me in the direction of a known bug. Using this layout, I tried to set up a page with a fixed width of 762px. Left column is 120px, right is 145px. http://www.fu2k.org/alex/css/layouts/3Col_NN4_FMFM.mhtml?order=213&width_one=50&width_two=120&width_three=145&wrap_width=762&column_gutter=0&column_vertical_padding=0&column_horizontal_padding=0&columns_background=1&border_surround=0&body_padding=0&longest_column=one&controls=1&show_style=0 Looks great in Mozilla and Opera. If I try to place an image in the right hand column with a declared width of 145px, it does not work in IE6. IE refuses to display the content in that third column. Shorten the length of the image by 4px, and it displays. Lengthen the overall length of the container div by 4px, it displays. It looks like IE is placing a a 4px padding around the image. Tried setting it to display inline and block, no luck either way. But if I float the image left or right, IE 6 works perfectly. I've run across problems where IE 6 collapses padding and margins when elements are adjacent to floated elements, so it seems that I'm taking advantage of a hack here. Any thoughts? Scott Plumlee PGP Public key: http://plumlee.org/pgp/ D64C 47D9 B855 5829 D22A D390 F8E2 9B58 9CBF 1F8D From earthwrk at earthlink.net Fri Apr 25 02:00:41 2003 From: earthwrk at earthlink.net (Bill Scheider) Date: Thu, 24 Apr 2003 18:00:41 -0700 Subject: [css-d] Replying to the list In-Reply-To: <00f701c30abc$3abdc2f0$fd00a8c0@mike> Message-ID: Hi Mike, I totally agree with you RE the quality of the CSS info. It's not only better than books but many of the folks discussing CSS on this list have /written/ the books! It doesn't get any better. Bill ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ From john at evolt.org.uk Fri Apr 25 03:09:36 2003 From: john at evolt.org.uk (John Handelaar) Date: Fri, 25 Apr 2003 03:09:36 +0100 Subject: ADMIN: End of thread, please. (was RE: [css-d] Replying to the list, and others) In-Reply-To: Message-ID: My apologies to those who were wondering where the stand-in listmom went to today. It's time to stop this thread, I think, in the interest of maintaining our regular signal-to-noise ratio. Eric's position on header munging is very clear, and the relevant explanation on the wiki was posted earlier this afternoon. That wiki post also makes it abundantly clear that the place to drag this up (since it's clearly off- topic) is in private mail to the list owner. Eric will be back in a couple of weeks. I'd appreciate not getting mail on the subject during his absence since I'm certainly not about to change the list settings without being able to consult him. I hope that I don't have to enforce this tomorrow, folks :-) Thanks for your attention. John H Server admin On behalf of the currently-absent Mr Meyer. ------------------------------------------ John Handelaar T +44 20 8459 4923 M +44 7930 681789 F +44 870 169 7657 E john@userfrenzy.com ------------------------------------------ From chris at placenamehere.com Fri Apr 25 04:26:50 2003 From: chris at placenamehere.com (Chris Casciano) Date: Thu, 24 Apr 2003 23:26:50 -0400 Subject: [css-d] [ANNC] PNH Developer Toolbar for Mozilla/Netscape In-Reply-To: Message-ID: on 4/16/03 9:39 AM, Chris Casciano at chris@placenamehere.com wrote: > Since the cat is out of the bag already I figured I'd pass along the word > that I've released a toolbar add on for web developers using > Mozilla/Netscape. > v0.51 is here! you firebird users get your wish! http://placenamehere.com/pnhtoolbar/ Change Log for v0.51 (from v0.50) * Added a Firebird/Phoenix compatible installer w/ minor link changes * Added encoding of complex URLs * Fixed a few typos * Added submission the W3C P3P Validator * Added Link to the DevEdge Sidebar Tabs Grab it now! Feedback to moz@placenamehere.com, please. -- [ Chris Casciano ] [ chris@placenamehere.com ] [ see things @ http://www.placenamehere.com ] [ read words @ http://www.chunkysoup.net/ ] From steve at mrclay.org Fri Apr 25 05:06:08 2003 From: steve at mrclay.org (Steve Clay) Date: Fri, 25 Apr 2003 00:06:08 -0400 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: References: Message-ID: <2-1693011984.20030425000608@mrclay.org> Thursday, April 24, 2003, 8:09:55 AM, Seb wrote: S> I was trying to find a method of creating a line break in the middle of a S> line of text, but without using a
tag - so that, if viewed without S> stylesheets, there would be no break. Since this thread is surely getting boring, I put together a demo page for the methods described by Seb and I: http://mrclay.org/junk/thebreaks Steve -- http://mrclay.org/ From gleemax at attbi.com Fri Apr 25 04:25:09 2003 From: gleemax at attbi.com (John Lewis) Date: Thu, 24 Apr 2003 22:25:09 -0500 Subject: [css-d] Select first LI of an UL In-Reply-To: References: Message-ID: <12059885896.20030424222509@attbi.com> Arlen wrote on Tuesday, April 22, 2003 at 9:51:54 AM: > li {font-weight: bold;} > li + li {font-weight:normal} > [...] When it fails, the entire list will be bolded, so perhaps > you'll want to combine it with a hack that screens out those > browsers from seeing the initial bold styling. This should have a better success rate, and it's not really a hack (i.e., it makes common sense, even if it is a bit longer): ul>li{font-weight:bold} ul>li+li{font-weight:normal} There aren't many browsers that support child selectors without supporting adjacent sibling selectors. -- John Lewis From gleemax at attbi.com Fri Apr 25 05:22:54 2003 From: gleemax at attbi.com (John Lewis) Date: Thu, 24 Apr 2003 23:22:54 -0500 Subject: [css-d] lists line height In-Reply-To: <014101c30931$efd61ca0$6001a8c0@felwithe> References: <000001c30930$2a93df00$42d5fea9@Estes> <014101c30931$efd61ca0$6001a8c0@felwithe> Message-ID: <8263351585.20030424232254@attbi.com> Brandy wrote on Tuesday, April 22, 2003 at 7:47:37 PM: > http://clients.mediadiva.net/css/ > The links on the left bottom side, I have the line height set to > 120, and I like how it looks, but I thought it was possible to set > the height between each LI element and then the height of an > individual LI element itself. This way links the run over to 2 lines > will look like 1 link and not 2 links. > Anyone know what I am talking about? Yes. Although it took me a while to understand. :) If you want to retain the line-height but have the links' background-color remain "together" over multiple lines, I think you'll need to use padding-top and padding-bottom on the a elements. For example: ul li a{padding:.2em 0} Should do the trick. You may also consider this, depending on your needs, but I doubt it will be more appropriate: ul>li a{padding:.2em 0} Support isn't as good, at any rate. -- John Lewis From gleemax at attbi.com Fri Apr 25 05:18:01 2003 From: gleemax at attbi.com (John Lewis) Date: Thu, 24 Apr 2003 23:18:01 -0500 Subject: [css-d] semantically correct: padding vs margin In-Reply-To: <000001c30a0f$5ab9d060$0a00a8c0@Aleem> References: <000001c30a0f$5ab9d060$0a00a8c0@Aleem> Message-ID: <14863058716.20030424231801@attbi.com> Aleem wrote on Wednesday, April 23, 2003 at 10:12:35 PM: > When I said semantic, I wasn't looking for a response along these > lines, but rather something which went beyond - example: by default, > does the body have a margin of ~10px from the frame or a padding of > 10px within? Is either semantically correct? In publishing, pages > don't have a frame (chrome) and since electronic publishing is a > derivative of print, I would go with padding instead of margin on > that one. CSS agrees with you. I don't think it's possible to make a case for margin, if you're familiar with the spec. Of course that's what most browsers use. The above sample style sheet is just a suggestion, which is a good thing overall. -- John Lewis From gleemax at attbi.com Fri Apr 25 05:23:38 2003 From: gleemax at attbi.com (John Lewis) Date: Thu, 24 Apr 2003 23:23:38 -0500 Subject: [css-d] semantically correct: padding vs margin In-Reply-To: <3EA750F0.4020602@adelaide.edu.au> References: <000601c309f6$2e39ca90$0a00a8c0@Aleem> <3EA750F0.4020602@adelaide.edu.au> Message-ID: <663395931.20030424232338@attbi.com> Steve wrote on Wednesday, April 23, 2003 at 9:50:24 PM: > Those types of questions aren't discouraged. Your advice is nonetheless helpful, of course. I think what we really need is a comprehensive "spec for dummies," a document that deals with CSS2 as simply as possible, written for CSS authors instead of CSS implementors. A basic CSS vocabulary tutorial alone would be amazing; even veteran authors fudge their technospeak jargon. I think most of the CSS2 spec is pretty readable nowadays, but a couple years ago I was confused by simple passages. -- John Lewis From stephen.thomas at adelaide.edu.au Fri Apr 25 05:54:35 2003 From: stephen.thomas at adelaide.edu.au (Steve Thomas) Date: Fri, 25 Apr 2003 14:24:35 +0930 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <2-1693011984.20030425000608@mrclay.org> References: <2-1693011984.20030425000608@mrclay.org> Message-ID: <3EA8BF8B.9010100@adelaide.edu.au> Steve Clay wrote: > Thursday, April 24, 2003, 8:09:55 AM, Seb wrote: > S> I was trying to find a method of creating a line break in the middle of a > S> line of text, but without using a
tag - so that, if viewed without > S> stylesheets, there would be no break. > > Since this thread is surely getting boring, I put together a demo page > for the methods described by Seb and I: > http://mrclay.org/junk/thebreaks Nice page! I notice you used white-space:pre-line; whereas the CSS2 spec at W3 has white-space:pre; Is this something new? Or a typo? I would also like to offer one further suggestion, using whitespace:pre, which seems even simpler to me: simply stick in the line breaks where you want them, as in this example: Test

Dr. Strangelove,
or:
How I Learned To Stop Worrying And Love The Bomb

Blah blah blah

On browsers which don't implement whitespace, this will degrade nicely. Those that do will display the heading precisely as you want. (With the caveat that whitespace:pre will keep each line as given, even with narrow windows, requiring scrolling.) Above all, this preserves the semantic integrity of the heading intact, without the need to embed coding. Steve -- Stephen Thomas, Senior Systems Analyst, Adelaide University Library ADELAIDE UNIVERSITY SA 5005 AUSTRALIA Tel: +61 8 8303 5190 Fax: +61 8 8303 4369 Email: stephen.thomas@adelaide.edu.au URL: http://staff.library.adelaide.edu.au/~sthomas/ From holnkids at netscape.net Fri Apr 25 06:00:58 2003 From: holnkids at netscape.net (Holly Bergevin) Date: Fri, 25 Apr 2003 01:00:58 -0400 Subject: [css-d] 3Col_NN4_FMFM and IE 6 problem Message-ID: <0C1E480F.3B3D924D.009CE500@netscape.net> css-discuss@plumlee.org wrote: >layouts provided by Alex Robinson >http://www.fu2k.org/alex/css/layouts/3Col_NN4_FMFM.mhtml?order=213&width_one=50&width_two=120&width_three=145&wrap_width=762&column_gutter=0&column_vertical_padding=0&column_horizontal_padding=0&columns_background=1&border_surround=0&body_padding=0&longest_column=one&controls=1&show_style=0 >If I try to place an image in the right >hand column with a declared width of 145px, it does not work in IE6. IE >refuses to display the content in that third column. Hi Scott - I snagged Alex's layout and played for awhile with this, and I could get a number of variations on visible and invisible images, depending on where I put the image, or what it was or was not inside, as well as the size of the image. Is it possible you have a page you could put up so your specific case can be looked at? That would make it easier to give specific suggestions instead of theoritical ones. As for hacks for IE, (and other browsers as needed), in my opinion, they are inevitable. As long as they validate, and don't mess something up for another browser (that cannot be worked around) you're probably going to have to use some. However, I always try to see if I can write/fix a page in such a way as to use the least number possible. What that means is if IE6 needs to have and image floated to work, and floating that image doesn't bother other browsers, I write it so the image is floated and move on to something else. Now, about that URL... ~holly __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From gleemax at attbi.com Fri Apr 25 06:10:45 2003 From: gleemax at attbi.com (John Lewis) Date: Fri, 25 Apr 2003 00:10:45 -0500 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <3EA8BF8B.9010100@adelaide.edu.au> References: <2-1693011984.20030425000608@mrclay.org> <3EA8BF8B.9010100@adelaide.edu.au> Message-ID: <12966223770.20030425001045@attbi.com> Steve wrote on Thursday, April 24, 2003 at 11:54:35 PM: > white-space:pre-line; > Is this something new? Or a typo? It's new in CSS 2.1, which is not yet a recommendation: -- John Lewis From gavin at refinery.com Fri Apr 25 06:21:43 2003 From: gavin at refinery.com (Gavin Kistner) Date: Thu, 24 Apr 2003 23:21:43 -0600 Subject: [css-d] line-height calculations Message-ID: Forgive me if this is a FAQ. Can someone explain to me which of the browsers is 'right' from the screenshots on this test page: http://phrogz.net/tmp/lineheighttest/index.html My expectation was for the way Camino/Mozilla did it to be right. (Under the assumption that 100% was based off of the 'standard' line height, and hence >100% should result in increased line spacing, not decreased.) But now the spec seems to imply that something like Safari may be more correct. I'm just...very unused to Mozilla getting something wrong. (Camino is built off of the Mozilla 1.0 trunk, IIRC, but the appearance is the same in 1.2.1 also.) From stephen.thomas at adelaide.edu.au Fri Apr 25 06:36:24 2003 From: stephen.thomas at adelaide.edu.au (Steve Thomas) Date: Fri, 25 Apr 2003 15:06:24 +0930 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <12966223770.20030425001045@attbi.com> References: <2-1693011984.20030425000608@mrclay.org> <3EA8BF8B.9010100@adelaide.edu.au> <12966223770.20030425001045@attbi.com> Message-ID: <3EA8C958.2010405@adelaide.edu.au> John Lewis wrote: > Steve wrote on Thursday, April 24, 2003 at 11:54:35 PM: > > >> white-space:pre-line; > > >>Is this something new? Or a typo? > > > It's new in CSS 2.1, which is not yet a recommendation: > Thanks. And amazingly, although not yet even a recommendation, it works! (In Moz 1.2.1 anyway) I guess on reflection, that gives you an insight into how these standards are generated in the first place. :-) Regards, Steve -- Stephen Thomas, Senior Systems Analyst, Adelaide University Library ADELAIDE UNIVERSITY SA 5005 AUSTRALIA Tel: +61 8 8303 5190 Fax: +61 8 8303 4369 Email: stephen.thomas@adelaide.edu.au URL: http://staff.library.adelaide.edu.au/~sthomas/ From holnkids at netscape.net Fri Apr 25 06:47:25 2003 From: holnkids at netscape.net (Holly Bergevin) Date: Fri, 25 Apr 2003 01:47:25 -0400 Subject: [css-d] Path Positioning Problem. Message-ID: <02A69262.14063CDB.009CE500@netscape.net> "Will Boyett" wrote: >Hello all, I'm still rather new to this list, and so appologize for any >faux pas on my part. Hi Will - Welcome to the list. >here is my dilema: > >I am trying to make a local path statement in a bar, with a link to my >site map on the right margin of the same bar. So far, so good. However, >my Site Map link keeps overlapping the text of my path statement on >narrow monitors, [snip] Now I have to apologize, because even with your explanation and the code you provided, you lost me. Is it possible for you to provide a URL to the page in question so we can give it a look see? If the content is restricted, strip it out and replace it with dummy text. Working with the actual page generally offers the best opportunity for someone to provide helpful advice. ~holly __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From holnkids at netscape.net Fri Apr 25 07:04:05 2003 From: holnkids at netscape.net (Holly Bergevin) Date: Fri, 25 Apr 2003 02:04:05 -0400 Subject: [css-d] template with changing content Message-ID: <69589F46.5F9A91EF.009CE500@netscape.net> Donna m87 wrote: >I have created a template using absolutely positioned css div for the >header, content and footer. When the content increases, the footer >is overwritten. > >How can I get the footer to adjust automatically when the content >volume changes? Can one combine absolute and relative positioning? > >What sorts of concepts should i be researching to look at my options? Hi Donna - Have you seen the wiki pages about different layout options? The main page is here - http://css-discuss.incutio.com/?page=CssLayouts There are links to several other wiki pages from the above page that discuss the merits and difficulties of various types of layouts as well as links to outside sources. In addition, Bob Easton has assembled a very nice collection of links to 3-column-layouts (with notes about the techniques used on each) - http://css-discuss.incutio.com/?page=ThreeColumnLayouts If you don't need that many columns, many 3-column layouts can be adjusted to work with fewer columns. HTH, ~holly __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From outlaw at joseywales.com Fri Apr 25 09:18:24 2003 From: outlaw at joseywales.com (Seb Duggan) Date: Fri, 25 Apr 2003 09:18:24 +0100 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051243530.20492@tweek.sebduggan.com> Message-ID: <1051258707.23490@tweek.sebduggan.com> Thanks Steve - I couldn't have explained it better myself (and, indeed, I didn't...). Seb > From: Steve Clay > Reply-To: Steve Clay > Date: Fri, 25 Apr 2003 00:06:08 -0400 > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] CSS-only line break (a tip) > > > Thursday, April 24, 2003, 8:09:55 AM, Seb wrote: > S> I was trying to find a method of creating a line break in the middle of a > S> line of text, but without using a
tag - so that, if viewed without > S> stylesheets, there would be no break. > > Since this thread is surely getting boring, I put together a demo page > for the methods described by Seb and I: > http://mrclay.org/junk/thebreaks > > Steve > -- > http://mrclay.org/ > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > From outlaw at joseywales.com Fri Apr 25 10:22:35 2003 From: outlaw at joseywales.com (Seb Duggan) Date: Fri, 25 Apr 2003 10:22:35 +0100 Subject: [css-d] Min-height Message-ID: <1051262556.1547@tweek.sebduggan.com> Is there any way to set the minimum height of an element? There is the CSS2 property min-height, but it only seems to be supported in Opera 6+ and Gecko/Mozilla browsers - no versions of IE, or the current beta of Safari (although it may come later). So, is there a workaround that lets you make an element at least x pixels high, while still allowing it to expand to bigger if necessary? (And before someone suggests it, I don't intend putting a 1px x 400px gif in my page ;) Seb From robert.nyman at centus.com Fri Apr 25 10:28:02 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Fri, 25 Apr 2003 11:28:02 +0200 Subject: [css-d] Min-height Message-ID: <2971830BF2404F4E9FDB861233E7C4224052D0@centus_ex_01.centus.com> > So, is there a workaround that lets you make an element at least x pixels high,=20 while still allowing it to expand to bigger if necessary? In IE on PC, it will expand if you have set the height to 20px and its content is bigger... However, you can't use min-height and height in conjunction for Gecko etc. So, for IE on PC, use this: height:20px; and for standrads-compliant browsers, use this: min-height:20px; /Robert From rijk at opera.com Fri Apr 25 10:46:42 2003 From: rijk at opera.com (Rijk van Geijtenbeek) Date: Fri, 25 Apr 2003 11:46:42 +0200 Subject: [css-d] Min-height In-Reply-To: <2971830BF2404F4E9FDB861233E7C4224052D0@centus_ex_01.centus.com> References: <2971830BF2404F4E9FDB861233E7C4224052D0@centus_ex_01.centus.com> Message-ID: On Fri, 25 Apr 2003 11:28:02 +0200, Robert Nyman wrote: >> So, is there a workaround that lets you make an element at least x >> pixels high, while still allowing it to expand to bigger if necessary? > In IE on PC, it will expand if you have set the height to 20px and its > content is bigger... > However, you can't use min-height and height in conjunction for Gecko > etc. > > So, for IE on PC, use this: > > height:20px; > and for standrads-compliant browsers, use this: > min-height:20px; For example like this: div {height:20px; min-height:20px;} html>body div {height:auto;} -- If you don't like having choices | Rijk van Geijtenbeek made for you, you should start | Documentation & QA making your own. - Neal Stephenson | mailto:rijk@opera.com M From rick at starskiweb.co.uk Fri Apr 25 10:59:02 2003 From: rick at starskiweb.co.uk (Rick Hurst) Date: Fri, 25 Apr 2003 10:59:02 +0100 Subject: [css-d] safari and mac IE5 hacks or alternative layout solution needed Message-ID: <3EA906E6.1010304@starskiweb.co.uk> Hi All I need some help with this conversion from a table layout to a tableless layout. This is it so far:- http://hypothecate.co.uk/css_test/3_col_margin_border.htm I have a fixed width 3 column layout with a liquid header and footer. Columns 2 and 3 have their own header. I have tried various solutions, but currently I have 2 main floating columns, the second of which contains two floating sub columns. I have used a top margin to push these two sub columns down and have an absolutely positioned heading for these columns. The center and right columns need a border so this was my main reason for wrapping them in another div. This works on PC IE5 and 6, Mozilla 1.3, but safari (not sure which version) the footer wont stay put and and IE5 mac the main column drifts up. This doesn't need to support Netscape 4 - I will be hiding most of the styling from that. -- Rick Hurst http://hypothecate.co.uk From stephen.thomas at adelaide.edu.au Fri Apr 25 11:18:47 2003 From: stephen.thomas at adelaide.edu.au (Steve Thomas) Date: Fri, 25 Apr 2003 19:48:47 +0930 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <2-1693011984.20030425000608@mrclay.org> References: <2-1693011984.20030425000608@mrclay.org> Message-ID: <3EA90B87.3010409@adelaide.edu.au> Arrgghh! Apologies to all, my HTML editor mangled my example code, which should of course NOT have
tags in the middle of the header. Here's the corrected version (at the risk of prolonging the bordom): ... I would also like to offer one further suggestion, using whitespace:pre, which seems even simpler to me: simply stick in the line breaks where you want them, as in this example: Test

Dr. Strangelove, or: How I Learned To Stop Worrying And Love The Bomb

Blah blah blah

On browsers which don't implement whitespace, this will degrade nicely. Those that do will display the heading precisely as you want. (With the caveat that whitespace:pre will keep each line as given, even with narrow windows, requiring scrolling.) Above all, this preserves the semantic integrity of the heading intact, without the need to embed coding. (And no, whitespace:pre-line; doesn't work in Moz1.2.1/PC.) Hopefully that makes more sense than the previous post. Steve -- Stephen Thomas, Senior Systems Analyst, Adelaide University Library ADELAIDE UNIVERSITY SA 5005 AUSTRALIA Tel: +61 8 8303 5190 Fax: +61 8 8303 4369 Email: stephen.thomas@adelaide.edu.au URL: http://staff.library.adelaide.edu.au/~sthomas/ From outlaw at joseywales.com Fri Apr 25 12:01:06 2003 From: outlaw at joseywales.com (Seb Duggan) Date: Fri, 25 Apr 2003 12:01:06 +0100 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051266048.25755@tweek.sebduggan.com> Message-ID: <1051268466.27913@tweek.sebduggan.com> > From: Steve Thomas >.... > I would also like to offer one further suggestion, using > whitespace:pre, which seems even simpler to me: simply stick in > the line breaks where you want them, as in this example: Very nice Steve - this seems to be the most elegant solution so far - and it seems to work in every browser I've thrown it at! I'll be changing my own code to this... Seb From gleemax at attbi.com Fri Apr 25 12:00:13 2003 From: gleemax at attbi.com (John Lewis) Date: Fri, 25 Apr 2003 06:00:13 -0500 Subject: [css-d] line-height calculations In-Reply-To: References: Message-ID: <16087194233.20030425060013@attbi.com> Gavin wrote on Friday, April 25, 2003 at 12:21:43 AM: > http://phrogz.net/tmp/lineheighttest/index.html > My expectation was for the way Camino/Mozilla did it to be right. > (Under the assumption that 100% was based off of the 'standard' line > height, and hence >100% should result in increased line spacing, not > decreased.) The suggested default line-height value is between 1 and 1.2, but there is no rule saying browsers need to follow it. Any value is acceptable according to CSS2. That means it's impossible to determine if a value greater than 100% will be bigger, smaller, or the same. All this without taking crazy user style sheets into account! After reading CSS2, playing with line-height in Opera 7.1 and Mozilla 1.4a, and comparing renderings for far too long, I'm stumped. I really have very little idea of how the inline box model and line-height are supposed to work. For the most part, with identical values Mozilla and Opera returned similar and even identical results. That's comforting. For some reason, Mozilla doesn't behave anything like Camino. At first I thought my test page was strange; then I visited your page and the Mozilla result look basically identical to Opera and Safari. I can't explain the Mac IE or Camino results. I don't expect line-height to behave like that, but I'm pretty weak on the theory. The shoddiness of the Win IE rendering is self-evident. I'd be interested to see if anyone knows or can figure out why my Mozilla and your Camino rendering look so different. I don't use Mozilla much, so I haven't changed anything but the default font. -- John Lewis From robert.nyman at centus.com Fri Apr 25 12:11:04 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Fri, 25 Apr 2003 13:11:04 +0200 Subject: [css-d] Tip: How to add a rule with script and use the Box Model Hack Message-ID: <2971830BF2404F4E9FDB861233E7C4224052D2@centus_ex_01.centus.com> To use the Box Model hack in script, you need to add an extra backslash, since JavaScript interprets the first one for string escape purposes... Example: oStyleSheet.addRule("div.levelItem", "height:22px;"); oStyleSheet.addRule("div.levelItem", "he\\ight:20px;"); /Robert From robert.nyman at centus.com Fri Apr 25 12:23:06 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Fri, 25 Apr 2003 13:23:06 +0200 Subject: [css-d] OT: Stats for browsers on Mac? Message-ID: <2971830BF2404F4E9FDB861233E7C4224052D3@centus_ex_01.centus.com> Does anyone know where I can find stats for Mac users only, which browsers are the most common etc? /Robert From rick at starskiweb.co.uk Fri Apr 25 13:10:08 2003 From: rick at starskiweb.co.uk (Rick Hurst) Date: Fri, 25 Apr 2003 13:10:08 +0100 Subject: [css-d] how do I hide style from Mac IE5? Message-ID: <3EA925A0.4080609@starskiweb.co.uk> I've made some progress with my liquid header and footer/fixed width columns layout problem and now my only real concern is the IE5 mac mess:- http://hypothecate.co.uk/css_test/v6.htm so what I want now is just a hack to hide styles from mac IE5 cheers -- Rick Hurst http://hypothecate.co.uk From robert.nyman at centus.com Fri Apr 25 13:09:11 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Fri, 25 Apr 2003 14:09:11 +0200 Subject: [css-d] how do I hide style from Mac IE5? Message-ID: <2971830BF2404F4E9FDB861233E7C4224052DC@centus_ex_01.centus.com> > so what I want now is just a hack to hide styles from mac IE5 http://www.sam-i-am.com/testsuite/css/mac_ie5_hack.html /Robert From dmead at optiem.com Fri Apr 25 13:21:47 2003 From: dmead at optiem.com (David Mead) Date: Fri, 25 Apr 2003 08:21:47 -0400 Subject: [css-d] Hyperlink position in NN4.7 Message-ID: Hi all, I've only joined the list yesterday and I already have a question to pose. I'm designing a web site that has to be "viewable" down to NN4.7. I'm using table with some CSS to style content in the cells etc. My problem is this. My footer nav runs nicely along the bottom (shortened version here):
=20

 MENU  LOCATIONS 

with the CSS code: .footernav { font-family: Arial, Helvetica, sans-serif; font-size: 8px; color: #FEAC22; text-decoration: none; background-color: #7B0808; padding: 5px 10px; } .footernav a:link { font-family: Arial, Helvetica, sans-serif; color: #FEAC22; text-decoration: none; padding: 5px 10px; background-color: transparent; } .footernav a:visited { font-family: Arial, Helvetica, sans-serif; color: #FEAC22; text-decoration: none; padding: 5px 10px; background-color: transparent;} .footernav a:hover { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; text-decoration: none; padding: 5px 10px; background-color: transparent; } It looks fine in IE but when viewed in NN4.7 the links stack one-on-top-of-another instead of side-by-side! I've created a separate style sheet for NN and removed the padding from the CSS code and this bunches them all up (hence the two   between links). Is there a way around this or is this the best fix. I did a quick check through the archives but didn't turn anything up. Apologies if the code is a little sloppy but I'm still finding my CSS feet so to speak. Many thanks, Dave From larz at cbis.ece.drexel.edu Fri Apr 25 12:38:54 2003 From: larz at cbis.ece.drexel.edu (Ryan La Riviere) Date: Fri, 25 Apr 2003 07:38:54 -0400 Subject: [css-d] New CSS2 Site - XHTML 1.0 In-Reply-To: <006f01c30920$b0d61750$6001a8c0@felwithe> Message-ID: On 04/22/2003 18:44, "Brandy (mediadiva)" wrote: > who did? > >> >> Yea...spelled Cingular wrong on the file. :/ Me on the screenshot's file name I had uploaded...I should have specified the "I" part. -Ryan -- Mr. Ryan La Riviere Project Manager; Mechanical Engineering and Mechanics College of Engineering; Drexel University Philadelphia, PA 19104 hp: http://staff.tdec.drexel.edu/~edljedi IM (AIM, Yahoo, MSN): edljedi w: 215.895.6460 Geek Code: http://staff.tded.drexel.edu/~edljedi/geeksville One thing the hardware engineers just can't seem to get the bugs out of is... fresh paint. From gassinaumasis at hotmail.com Fri Apr 25 13:51:43 2003 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 25 Apr 2003 12:51:43 +0000 Subject: [css-d] OT: Stats for browsers on Mac? Message-ID: >Does anyone know where I can find stats for Mac users only, >which browsers are the most common etc? My own stats, for what they're worth, say: Ecxplorer 5 69% Safari 15% Mozilla 6% Netscape 6 4% Netscape 4 4% Explorer 4 2% Note that these numbers are mainly from my development sites which attract a higher share of non-IE browsers than the average site. Whichever stats you'll find, please keep in mind that Safari's share is going to rise dramatically when it becomes the default browser for OS X. Any Mac-friendly website must be checked at the very least in IE5 and Safari. -------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ -------------------------------------------------- _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From css-discuss at plumlee.org Fri Apr 25 13:54:17 2003 From: css-discuss at plumlee.org (css-discuss@plumlee.org) Date: Fri, 25 Apr 2003 08:54:17 -0400 Subject: [css-d] 3Col_NN4_FMFM and IE 6 problem In-Reply-To: <0C1E480F.3B3D924D.009CE500@netscape.net> Message-ID: <5.2.0.9.2.20030425084249.00b5a738@plumlee.org> At 01:00 AM 4/25/2003 -0400, you wrote: >>If I try to place an image in the right >>hand column with a declared width of 145px, it does not work in IE6. IE >>refuses to display the content in that third column. > >Hi Scott - I snagged Alex's layout and played for awhile with this, and I >could get a number of variations on visible and invisible images, depending >on where I put the image, or what it was or was not inside, as well as the >size of the image. Is it possible you have a page you could put up so your >specific case can be looked at? That would make it easier to give specific >suggestions instead of theoritical ones. thank you for the response. I've placed a page here: http://wgi.org/2003/indexmac2.php where you can copy the code and watch it happen. Allow the float, works in IE. Remove the float, doesn't show. With the float: left in place for the img tag, it display correctly in IE 6 and Mozilla and Opera 7.10. Without it, it vanishes in IE 6. Again, many thinks to Alex Robinson for all the work on the page, and to the other contributors (including Holly, I believe) that are listed there. >However, I always try to see if I can write/fix a page in such a way as to >use the least number possible. What that means is if IE6 needs to have and >image floated to work, and floating that image doesn't bother other >browsers, I write it so the image is floated and move on to something else. I appreciate the advice. I think I might have a "immovable object meets the irresistible force" complex about this problem right now. From robert.nyman at centus.com Fri Apr 25 13:57:14 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Fri, 25 Apr 2003 14:57:14 +0200 Subject: [css-d] OT: Stats for browsers on Mac? Message-ID: <2971830BF2404F4E9FDB861233E7C4224052E0@centus_ex_01.centus.com> Interesting! Especially that Safari has so many users already (which, I agree, will dramatically increase later on). Have you seen any pattern when it comes to versions of IE, i.e. 5.0, 5.1 and 5.2? /Robert -----Original Message----- From: Peter-Paul Koch [mailto:gassinaumasis@hotmail.com]=20 Sent: den 25 april 2003 14:52 To: Robert Nyman; css-d@lists.css-discuss.org Subject: Re: [css-d] OT: Stats for browsers on Mac? >Does anyone know where I can find stats for Mac users only, which=20 >browsers are the most common etc? My own stats, for what they're worth, say: Ecxplorer 5 69% Safari 15% Mozilla 6% Netscape 6 4% Netscape 4 4% Explorer 4 2% Note that these numbers are mainly from my development sites which attract a=20 higher share of non-IE browsers than the average site. Whichever stats you'll find, please keep in mind that Safari's share is=20 going to rise dramatically when it becomes the default browser for OS X. Any Mac-friendly website must be checked at the very least in IE5 and=20 Safari. -------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ -------------------------------------------------- _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.=20 http://join.msn.com/?page=3Dfeatures/virus From gassinaumasis at hotmail.com Fri Apr 25 14:14:06 2003 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 25 Apr 2003 13:14:06 +0000 Subject: [css-d] OT: Stats for browsers on Mac? Message-ID: >Interesting! >Especially that Safari has so many users already (which, I agree, will >dramatically increase later on). My Safari stats are especially unreliable because I posted some Safari-related material pretty soon after the beta was released. Naturally geeky Safari users first take a look at sites discussing their beloved browser. For the non-geeky sites I keep track of the score is between 2 and 10 % of all Mac users (and I find that 10% strangely high). >Have you seen any pattern when it comes to versions of IE, i.e. 5.0, 5.1 >and 5.2? Nope. -------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ -------------------------------------------------- _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From WBoyett at smtp.co.alachua.fl.us Fri Apr 25 14:56:18 2003 From: WBoyett at smtp.co.alachua.fl.us (Will Boyett) Date: Fri, 25 Apr 2003 09:56:18 -0400 Subject: [css-d] Path Positioning Problem. Message-ID: Holly et all; First off, let me say that I recieved an off-list reply from Jason Van Pelt which has not only served as the foundation for my correction of the issue I was having, but has also served to illuminate whole new aspects of CSS which I only dimly understood before... a classic example of a working example being worth volumes of technical explanation. That said, I would be happy to provide a link to the site, and I do welcome other construcitve commentary. My goal/directive is to provide a very accessible site using CSS layout, and favoring a "Red White and Blue" palette. I have inherited a lot of code from previous webmasters, and as the redesign is only one of my job duties, I have not had the time to devote to removing all of the older legacy elements to date. The main page (which does not use the path statement I wrote for help on) is in my signature. http://elections.alachua.fl.us/welcome.html is one of the pages in which the code can be seen. The "problem code" was the red outlined box with the path statement and the site map link. It now has new code, and works as originally intended. William Dove Boyett Alachua County Elections Webmaster http://elections.co.alachua.fl.us ------------------------------------------------------- "The user owns the Back button." -- Dr. Jakob Nielsen, http://www.useit.com/alertbox >>> Holly Bergevin 04/25/03 01:47AM >>> [snip snip] Now I have to apologize, because even with your explanation and the code you provided, you lost me. Is it possible for you to provide a URL to the page in question so we can give it a look see? If the content is restricted, strip it out and replace it with dummy text. Working with the actual page generally offers the best opportunity for someone to provide helpful advice. ~holly __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ Inbound Mail Scanned by Mcafee Web Appliance. OutBound Mail Scanned by Mcafee Web Appliance. From george.smyth at USNA.COM Fri Apr 25 15:13:00 2003 From: george.smyth at USNA.COM (George Smyth) Date: Fri, 25 Apr 2003 10:13:00 -0400 Subject: [css-d] Netscape 4.76 Bombing Message-ID: I have the following style, which "works" in all browsers outside of Netscape 4.76: .NavText { font-size: 0.7em; text-align: left; width: auto; padding: 2px; background-color: #FFE; border-top: 1px solid #EEE; border-left: 1px solid #EEE; border-bottom: 1px solid #333; border-right: 1px solid #777; } Netscape 4.76 actually bombs and closes because of these two lines: width: auto; padding: 2px; Remove them and all's well with the world, include either and it generates errors and closes. Any way around this outside of creating a special style sheet for Netscape? Thanks - george From Curt2305 at aol.com Fri Apr 25 15:21:40 2003 From: Curt2305 at aol.com (Curt2305@aol.com) Date: Fri, 25 Apr 2003 10:21:40 EDT Subject: [css-d] [ccc-d] List readability problems Message-ID: <46.381a3fa4.2bda9e74@aol.com> First I'd like to say this list has been an excellent resource to me, and I think everyone else will agree. But I'd like to point out that lately list posters seem to be blindly posting to the list. What I mean is, People might be forgetting that some email providers like the one I use (AOL) actually interpret HTML tags in email. Which means I don't see them in the context of the message, I see it as if I were reading the post through a browser window. When you refer to [b] tag I see the rest of the message in bold text unless you use the closing [/b] tag. Oh, and try reading a message with a heading tag in it. Now don't get me wrong, I don't mean to chastise the list, but this does get annoying. So please accept my apologies if I offended anyone. Thank You Curt From Michael_Landis at capgroup.com Fri Apr 25 15:38:57 2003 From: Michael_Landis at capgroup.com (Michael_Landis@capgroup.com) Date: Fri, 25 Apr 2003 07:38:57 -0700 Subject: [css-d] Netscape 4.76 Bombing Message-ID: George Smyth wrote: > I have the following style, which "works" in all browsers outside of > Netscape 4.76: > .NavText { > font-size: 0.7em; > text-align: left; > width: auto; > padding: 2px; > background-color: #FFE; > border-top: 1px solid #EEE; > border-left: 1px solid #EEE; > border-bottom: 1px solid #333; > border-right: 1px solid #777; > } > > Netscape 4.76 actually bombs and closes because of these two lines: > > width: auto; > padding: 2px; Netscape 4 tends to act like the proverbial straw-carrying camel. We all know it is buggy to one extent or another, but each bug-tripping style declaration seems to add a little bit more to its instability. If too many buggy declarations (that is, valid CSS that causes bugs in NS 4) appear in the CSS, it will hang, crash, and otherwise let you down when it hits that final straw. If you don't want to switch stylesheets, you might want to resort to the Ciao NS4-hiding hack (http://css-discuss.incutio.com/?page=CaioHack) to remove enough styles to let it limp along. You may want to hide additional ones, so that you aren't right at the edge of instability. Another alternative is to link a stylesheet that only contains styles that are solid with NS 4, then import a second sheet that adds additional styles for "good" browsers. HTH, MikeL From Michael_Landis at capgroup.com Fri Apr 25 15:45:34 2003 From: Michael_Landis at capgroup.com (Michael_Landis@capgroup.com) Date: Fri, 25 Apr 2003 07:45:34 -0700 Subject: [css-d] Hyperlink position in NN4.7 Message-ID: Dave Mead wrote: > My footer nav runs nicely along the bottom (shortened version here): [snip] > It looks fine in IE but when viewed in NN4.7 the links stack > one-on-top-of-another instead of side-by-side! I've created a separate > style sheet for NN and removed the padding from the CSS code and this > bunches them all up (hence the two   between links). Is there a > way around this or is this the best fix. As you have discovered, adding padding or margins to an inline element converts it to a block element in NS 4. I haven't seen a workaround for this. Sorry for the bad news! :-) MikeL From Craig.Saila at bgminteractive.com Fri Apr 25 15:44:47 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Fri, 25 Apr 2003 10:44:47 -0400 Subject: [css-d] Netscape 4.76 Bombing Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD7@mail.bgm.globeinteractive.com> George Smyth wrote: > Netscape 4.76 actually bombs and closes because of these two lines: >=20 > width: auto; > padding: 2px; >=20 > Remove them and all's well with the world, include either and > it generates errors and closes. You can remove "width: auto" safely (unless a width is being inherited) and/or you can use Caio's Hack, like so: .NavText { font-size: 0.7em; text-align: left; /*/*/ width: auto; padding: 2px; /**/ background-color: #FFE; border: 1px solid #EEE; border-bottom-color: #333; border-right-color: :#777; } (Note: I just shortened your border styles slightly) --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From ken at kpmartin.com Fri Apr 25 16:09:05 2003 From: ken at kpmartin.com (Ken Martin) Date: Fri, 25 Apr 2003 10:09:05 -0500 Subject: [css-d] position:fixed and IE Message-ID: I checked the wiki and didn't see anything, though I suspect this is probably frequently asked. Does PC IE support position:fixed? It appears not to. I'm wondering if I need to use it in tandem with other declarations or if it simply doesn't work. TIA Ken Martin From jgay at tla.com Fri Apr 25 16:17:07 2003 From: jgay at tla.com (Jim Gay) Date: Fri, 25 Apr 2003 11:17:07 -0400 Subject: [css-d] [ccc-d] List readability problems In-Reply-To: <46.381a3fa4.2bda9e74@aol.com> Message-ID: > But I'd like to point out that lately list posters seem to be blindly posting > to the > list. What I mean is, People might be forgetting that some email providers > like the one I use (AOL) actually interpret HTML tags in email. Which means I > don't see > them in the context of the message, I see it as if I were reading the post > through > a browser window. I'm new here, but looking at the policies, although it says no html/rtf email, I don't think that excludes any html code at all. I think its a bit much to ask a list about code of a few hundred people to stop writing about their code in some context. perhaps the problem is in the AOL client rendering html when it shouldn't be? (are you set to receive Plain or MIME content?) please correct me if I'm wrong perhaps I need more clarity on the policy. should I exclude all html when I'm next tempted to post? -jim From ckestes at bewb.org Fri Apr 25 16:30:24 2003 From: ckestes at bewb.org (Jason Estes) Date: Fri, 25 Apr 2003 10:30:24 -0500 Subject: [css-d] List-marker color Message-ID: <003b01c30b3f$97792510$2901a8c0@SWORDFISH> Does anyone know, I didn't see it in the CSS spec, if or how you can change the list-item-marker's color? I'd like the color of the markers to be the same as the color of my text, but I didn't see any reference to color in the CSS spec. Anyone? Jason Estes The BEWB www.bewb.org From Craig.Saila at bgminteractive.com Fri Apr 25 16:31:20 2003 From: Craig.Saila at bgminteractive.com (Saila, Craig) Date: Fri, 25 Apr 2003 11:31:20 -0400 Subject: [css-d] position:fixed and IE Message-ID: <523ED78FF1F87A44A40907C74F83CBC20A2C4ACF@mail.bgm.globeinteractive.com> Ken Martin wrote: > Does PC IE support position:fixed? It appears not to. I'm wondering if (Apologies if someone has answered this, my email is slow lately) No support yet, although there are a couple of JavaScript fixes: --=20 Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------ From Dwayne.Conyers at veridian.com Fri Apr 25 16:41:46 2003 From: Dwayne.Conyers at veridian.com (Conyers, Dwayne) Date: Fri, 25 Apr 2003 11:41:46 -0400 Subject: [css-d] [ccc-d] List readability problems Message-ID: I think enclosing code in
 tags should alleviate that issue.

--
Dwacon
www.dwacon.com
From gassinaumasis at hotmail.com  Fri Apr 25 16:46:49 2003
From: gassinaumasis at hotmail.com (Peter-Paul Koch)
Date: Fri, 25 Apr 2003 15:46:49 +0000
Subject: [css-d] Netscape 4.76 Bombing
Message-ID: 

> > Netscape 4.76 actually bombs and closes because of these two lines:
> >
> >   width: auto;
> >   padding: 2px;
> >
> > Remove them and all's well with the world, include either and
> > it generates errors and closes.
>
>You can remove "width: auto" safely (unless a width is being inherited)
>and/or you can use Caio's Hack, like so:

While that is certainly true, my guess is that the border declarations are 
actually the problem. NN4 has a long and nasty history of problems with 
borders.

Try your original style sheet, but change the borders:

.NavText {
  font-size: 0.7em;
  text-align: left;
  width: auto;
  padding: 2px;
  background-color: #FFE;
  border: 1px solid #EEE;
  border-bottom-color: #333;
  border-right-color:  #777;
}

In a few similar cases I found that using the shorthand notations for 
'border-left', 'border-right' etc. (though not for 'border' itself) causes 
NN4 problems.

But maybe I'm wrong and this is an entirely different problem.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
--------------------------------------------------


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

From Curt2305 at aol.com  Fri Apr 25 16:47:11 2003
From: Curt2305 at aol.com (Curt2305@aol.com)
Date: Fri, 25 Apr 2003 11:47:11 EDT
Subject: [css-d] [ccc-d] List readability problems
Message-ID: <199.194e6936.2bdab27f@aol.com>

In a message dated 4/25/2003 11:17:31 AM Eastern Standard Time, jgay@tla.com 
writes:


>be? (are you set to receive Plain or MIME content?)


I only use AOL for a connection to the Internet and to receive mail
so I really don't no how to set that, or even if I can with AOL.

>please correct me if I'm wrong
>perhaps I need more clarity on the policy. should I exclude all html when
>I'm next tempted to post?

No, the tags that effect my mail are heading, bold, italics, typewriter
type, paragraphs, break, and such that refer specifically to font control.

UL, li, span, div, and others that refer to structure and css don't get 
rendered.
I see the tag itself, not it's effects.

By the way, I didn't type the subject line. My brother did. I don't write
subjects until I ready to send the mail. He tried to replicate the subject
lines of the css mail program and didnt know it was do automatically
( thought it was funny)

Curt
From gary at star-chaser.com  Fri Apr 25 17:01:57 2003
From: gary at star-chaser.com (Gary)
Date: Fri, 25 Apr 2003 12:01:57 -0400
Subject: [css-d] position:fixed and IE
In-Reply-To: 
References: 
Message-ID: <3EA95BF5.4040005@star-chaser.com>

Ken Martin wrote:
> I checked the wiki and didn't see anything, though I suspect this is 
> probably frequently asked.
> 
> Does PC IE support position:fixed? It appears not to. I'm wondering if I 
> need to use it in tandem with other declarations or if it simply doesn't 
> work.
> 

It only supports position:fixed on backgrounds. You can get it to work 
in two ways.

Javascript
http://doxdesk.com/software/js/fixed.html

conditional comments
http://devnull.tagsoup.com/fixed/

HTH
Gary

-- 
Gary Bland
StarChaser Web Architecture
http://www.star-chaser.com
Building Tomorrow's World Today

The Nemesis Project
http://nemesis1.f2o.org
One Stop CSS

From holnkids at netscape.net  Fri Apr 25 17:04:44 2003
From: holnkids at netscape.net (Holly Bergevin)
Date: Fri, 25 Apr 2003 12:04:44 -0400
Subject: [css-d] List-marker color
Message-ID: <556DFCA4.3DC753BE.009CE500@netscape.net>

"Jason Estes"  wrote:

>Does anyone know, I didn't see it in the CSS spec, if or how you can change
>the list-item-marker's color?

Hi Jason - Did you try setting the color for the unordered list and/or the list items?
ul, li {color: #800080}

My quick test worked on IE6, Moz and Op7 WinXP

HTH,

~holly

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
From dmead at optiem.com  Fri Apr 25 17:02:56 2003
From: dmead at optiem.com (David Mead)
Date: Fri, 25 Apr 2003 12:02:56 -0400
Subject: [css-d] List-marker color
Message-ID: 

I achieved the effect I think you're after by calling the marker as a
graphic in my CSS file:=20

   list-style-image: url(images/dot.gif);

Hope this helps.

Dave

-----Original Message-----
From: Jason Estes [mailto:ckestes@bewb.org]
Sent: Friday, April 25, 2003 11:30 AM
To: css-d@lists.css-discuss.org
Subject: [css-d] List-marker color


Does anyone know, I didn't see it in  the CSS spec, if or how you can
change
the list-item-marker's color?

I'd like the color of the markers to be the same as the color of my
text,
but I didn't see any reference to color in the CSS spec.

Anyone?

Jason Estes
The BEWB
www.bewb.org


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
From asparber at projectseven.com  Fri Apr 25 17:09:03 2003
From: asparber at projectseven.com (Al Sparber)
Date: Fri, 25 Apr 2003 12:09:03 -0400
Subject: [css-d] position:fixed and IE
References: <523ED78FF1F87A44A40907C74F83CBC20A2C4ACF@mail.bgm.globeinteractive.com>
Message-ID: <004101c30b44$fdd740d0$6401a8c0@BIGAL>


Here're a couple more:
http://www.projectseven.com/mxvision/fixednav/fixedbar.htm (cool but
problematic on Mac)

http://www.flevooware.nl/dreamweaver/#PersistentLayers (scripted)

Al Sparber
http://www.projectseven.com - Extensions | DW FAQs | Tutorials
Co-Author: Dreamweaver MX: Building on Solid Foundations



From: "Saila, Craig"

Ken Martin wrote:
> Does PC IE support position:fixed? It appears not to. I'm wondering if

(Apologies if someone has answered this, my email is slow lately)

No support yet, although there are a couple of JavaScript fixes:





From Jason.Gennaro at jus.gov.on.ca  Fri Apr 25 17:09:52 2003
From: Jason.Gennaro at jus.gov.on.ca (Gennaro, Jason (JUS))
Date: Fri, 25 Apr 2003 12:09:52 -0400
Subject: [css-d] List-marker color
Message-ID: <419FB3B69D66D311AC120008C79138C0169906BD@JUS00AEX0315>


On Friday, April 25, 2003 11:30 AM, Jason Estes wrote:



I'd like the color of the markers to be the same as the color of my text,
but I didn't see any reference to color in the CSS spec.


Add the color to the ul and that should work, i.e.:

ul { color: blue }

Worked for me in Moz 1.3 and IE 5.5 on W.2K

Jason
	
From jgay at tla.com  Fri Apr 25 17:16:02 2003
From: jgay at tla.com (Jim Gay)
Date: Fri, 25 Apr 2003 12:16:02 -0400
Subject: [css-d] List-marker color
In-Reply-To: <003b01c30b3f$97792510$2901a8c0@SWORDFISH>
Message-ID: 

> Does anyone know, I didn't see it in  the CSS spec, if or how you can change
> the list-item-marker's color?
> 
> I'd like the color of the markers to be the same as the color of my text,
> but I didn't see any reference to color in the CSS spec.
> 

http://www.w3.org/TR/REC-CSS2/generate.html#lists

you can't change the color of the marker alone (e.g. separately from its
corresponding line), but you can change its image using list-style-image

From holnkids at netscape.net  Fri Apr 25 17:16:25 2003
From: holnkids at netscape.net (Holly Bergevin)
Date: Fri, 25 Apr 2003 12:16:25 -0400
Subject: [css-d] position:fixed and IE
Message-ID: <0CC778E0.33459481.009CE500@netscape.net>

Ken Martin  wrote:

>Does PC IE support position:fixed?

"Saila, Craig"  wrote: 

>No support yet, although there are a couple of JavaScript fixes:
>
>

Hi Ken - In addition to Craig's JavaScript suggestions there is a way to emulate position: fixed for IE. It's been called the Bednarz hack or the Ghost hack. See -
http://devnull.tagsoup.com/fixed/

HTH,

~holly 

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
From ckestes at bewb.org  Fri Apr 25 17:30:11 2003
From: ckestes at bewb.org (Jason Estes)
Date: Fri, 25 Apr 2003 11:30:11 -0500
Subject: [css-d] List-marker color
References: 
Message-ID: <006e01c30b47$f1ed2520$2901a8c0@SWORDFISH>

> you can't change the color of the marker alone (e.g. separately from its
> corresponding line), but you can change its image using list-style-image
> 

Technically I guess you could if you did something like this

  • sdaf
  • then you end up with red bullets and black text. Jason Estes The BEWB www.bewb.org From gleemax at attbi.com Fri Apr 25 17:18:54 2003 From: gleemax at attbi.com (John Lewis) Date: Fri, 25 Apr 2003 11:18:54 -0500 Subject: [css-d] List-marker color In-Reply-To: <003b01c30b3f$97792510$2901a8c0@SWORDFISH> References: <003b01c30b3f$97792510$2901a8c0@SWORDFISH> Message-ID: <116106318348.20030425111854@attbi.com> Jason wrote on Friday, April 25, 2003 at 10:30:24 AM: > Does anyone know, I didn't see it in the CSS spec, if or how you can > change the list-item-marker's color? > I'd like the color of the markers to be the same as the color of my > text, but I didn't see any reference to color in the CSS spec. If you're using generated content: li:before{color:#000} Otherwise I'd need to check. It may be unspecified, or it may match the list-item's color. I don't think there's a special way of doing it, though. -- John Lewis From ian at hixie.ch Fri Apr 25 17:35:15 2003 From: ian at hixie.ch (Ian Hickson) Date: Fri, 25 Apr 2003 09:35:15 -0700 (PDT) Subject: [css-d] line-height calculations In-Reply-To: References: Message-ID: On Thu, 24 Apr 2003, Gavin Kistner wrote: > Forgive me if this is a FAQ. Can someone explain to me which of the > browsers is 'right' from the screenshots on this test page: > http://phrogz.net/tmp/lineheighttest/index.html The 'default' value is pretty loose, such that actually pretty much all the renderings are correct. However, having said that, the intention of the Mozilla guys is that 'default' use the font's specified default line height, which I don't think works correctly on Mac (I know it doesn't work exactly right on Windows). -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' From cs03 at combonet.se Fri Apr 25 17:35:51 2003 From: cs03 at combonet.se (Christina S) Date: Fri, 25 Apr 2003 18:35:51 +0200 Subject: [css-d] position:fixed and IE In-Reply-To: <523ED78FF1F87A44A40907C74F83CBC20A2C4ACF@mail.bgm.globeinteractive.com> Message-ID: On 03-04-25 17.31, "Saila, Craig" wrote: > Ken Martin wrote: >> Does PC IE support position:fixed? It appears not to. I'm wondering if > No support yet, although there are a couple of JavaScript fixes: > > Or with a nice little css-hack: Works as a charm. I think it is linked somewhere from the css-wiki? (or it should be) /Christina From akuehn at nc.rr.com Fri Apr 25 17:41:51 2003 From: akuehn at nc.rr.com (Adam Kuehn) Date: Fri, 25 Apr 2003 12:41:51 -0400 Subject: [css-d] OT: Stats for browsers on Mac? In-Reply-To: References: Message-ID: >>Interesting! >>Especially that Safari has so many users already (which, I agree, will >>dramatically increase later on). > >My Safari stats are especially unreliable because I posted some >Safari-related material pretty soon after the beta was released. >Naturally geeky Safari users first take a look at sites discussing >their beloved browser. > >For the non-geeky sites I keep track of the score is between 2 and >10 % of all Mac users (and I find that 10% strangely high). I work in academia with folks who are geeky, but not necessarily in a web browser sort of way, but who are mostly Mac users. Among the Mac people, a very large majority use IE 5 - about 72%, at last count. These are about evenly divided between 5.2+ on OSX and all others. The next highest is NN4, at a scary 9%. Safari has recently overtaken gecko-based, with some early adopters giving me a 7% reading, while all geckos (NN6, NN7, all Mozillas and derivatives) are another 6%. IE4 has just 1%, and all others (including unidentified) account for the rest. I have had exactly one Opera visitor. All this is after subtracting my own hits in development and all the Windows people, including the hackers trying to get root.exe or cmd.exe to do something on my Mac server. (Which always sort of makes me chuckle.) -- -Adam Kuehn From ckestes at bewb.org Fri Apr 25 17:57:25 2003 From: ckestes at bewb.org (Jason Estes) Date: Fri, 25 Apr 2003 11:57:25 -0500 Subject: [css-d] List-marker color References: <419FB3B69D66D311AC120008C79138C0169906BD@JUS00AEX0315> Message-ID: <008c01c30b4b$bfe56340$2901a8c0@SWORDFISH> > I'd like the color of the markers to be the same as the color of my text, > but I didn't see any reference to color in the CSS spec. > > > Add the color to the ul and that should work, i.e.: > > ul { color: blue } > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > Supported by evolt Thanks for all the response, I got it from Holly first so I'll credit her, but really it was just my own stupid overlook. And to respond to this last one, technically the only reason that works is cause the [li] inherits the color, but you can control the li individually by adding the color to the li Jason Estes The BEWB www.bewb.org .org -- http://www.evolt.org/help_support_evolt/ From Michael_Landis at capgroup.com Fri Apr 25 17:55:11 2003 From: Michael_Landis at capgroup.com (Michael_Landis@capgroup.com) Date: Fri, 25 Apr 2003 09:55:11 -0700 Subject: [css-d] List-marker color Message-ID: Jim Gay wrote: > Jason Estes wrote: > > > Does anyone know, I didn't see it in the CSS spec, if or how you > > can change the list-item-marker's color? > > > > I'd like the color of the markers to be the same as the color of > > my text, but I didn't see any reference to color in the CSS spec. > > > > http://www.w3.org/TR/REC-CSS2/generate.html#lists > > you can't change the color of the marker alone (e.g. separately from its > corresponding line), but you can change its image using list-style-image Hate to say it, but it sounds like the easiest (albeit messier) way to do it is to span/div content inside of the li tags to override the colors... MikeL From Curt2305 at aol.com Fri Apr 25 18:24:28 2003 From: Curt2305 at aol.com (Curt2305@aol.com) Date: Fri, 25 Apr 2003 13:24:28 EDT Subject: [css-d] [ccc-d] List readability problems Message-ID: In a message dated 4/25/2003 1:23:04 PM Eastern Standard Time, Dwayne.Conyers@veridian.com writes: > > > I think enclosing code in tags should alleviate that > issue. > > -- > Dwacon > www.dwacon.com > From kr43m0r at earthlink.net Fri Apr 25 19:13:51 2003 From: kr43m0r at earthlink.net (Lonnie) Date: Fri, 25 Apr 2003 13:13:51 -0500 Subject: [css-d] line-height calculations References: Message-ID: <009e01c30b56$6caf59f0$6401a8c0@yoda> > On Thu, 24 Apr 2003, Gavin Kistner wrote: > > > Forgive me if this is a FAQ. Can someone explain to me which of the > > browsers is 'right' from the screenshots on this test page: > > http://phrogz.net/tmp/lineheighttest/index.html As you've learned, the default line-height is determined by the UA with the W3 recommendation that it be between a factor of 1 to 1.2 of the font-size. To override the default UA treatment, you can simply set your preferred line-height in the ICB of the document and let the cascade naturally adjust. Be aware though, that you should set line-heights as a factor rather than in a specific unit. For example, html, body { font-size: 16px /*I'm not promoting fixed sizes, just making an example.*/ line-height: 18px; } will be problematic when your long unstylyed

    wraps - effectively doing a font-size of about 2x the default (32px) but cascading the 18px line-height. The wrapped lines are going to overlap. However, if you use a factor, html, body { font-size: 16px /*I'm not promoting fixed sizes, just making an example.*/ line-height: 1.2; } the line-height will cascade appropriately for in each descendent element. So, if on your test page, you use .col1 p {line-height:1;} .col2 p {line-height:1.1;} .col3 p {line-height:1.2;} you'll find much better x-browser behavior. Lonnie From marc.richards at verizon.net Fri Apr 25 19:53:44 2003 From: marc.richards at verizon.net (Marc Richards) Date: Fri, 25 Apr 2003 14:53:44 -0400 Subject: [css-d] Mozilla isn't pulling css pages from the cache In-Reply-To: <20030403112504.PVKS1042.mta018.verizon.net@acornparenting.org> Message-ID: <000201c30b5b$ff8658f0$0100000a@diablo> Hi, I have been doing some testing recently that involved careful = examination of my http headers. I have noticed that Mozilla ALWAYS gets a fresh copy of external CSS pages (both imported and linked) when navigating thru = various web pages (zeldman.com, centricle.com, my own internal site). This = seems to go against one of the major benefits of CSS (less bandwidth). I tested using Internet Explorer 6 and it caches the pages just fine. Has any one else noticed this? I am using Mozilla 1.3 on windows XP with the = default cache settings. Marc=20 From work at cookiecrook.com Fri Apr 25 20:28:00 2003 From: work at cookiecrook.com (James Craig) Date: Fri, 25 Apr 2003 14:28:00 -0500 Subject: [css-d] Web Standards Meetup and Safari (Was: OT: Stats for browsers on Mac?) In-Reply-To: References: Message-ID: <3EA98C40.3000802@cookiecrook.com> Peter-Paul Koch wrote: > > Any Mac-friendly website must be checked at the very least in IE5 and > Safari. Speaking of which, the meetup.com website styles dreadfully in Safari, so it kind of throws an ironic wrench at the web standards meetup idea doesn't it? http://webstandards.meetup.com/ Also, not enough people in Austin voted for a venue so our meeting is cancelled this month. :( I wonder why they decided to cancel is so prematurely (a week before). Even so, if you are near Austin, Texas and still want to meet up, email me at djcookiecrook@hotmail.com and I'll arrange something. Feel free to forward this to other people that may be interested in an Austin meetup. Cheers, James Craig -- http://www.cookiecrook.com/ From ckestes at bewb.org Fri Apr 25 21:17:57 2003 From: ckestes at bewb.org (Jason Estes) Date: Fri, 25 Apr 2003 15:17:57 -0500 Subject: [css-d] Web Standards Meetup and Safari (Was: OT: Stats for browsers on Mac?) References: <3EA98C40.3000802@cookiecrook.com> Message-ID: <00e301c30b67$c3454660$2901a8c0@SWORDFISH> > > Also, not enough people in Austin voted for a venue so our meeting is > cancelled this month. :( I wonder why they decided to cancel is so > prematurely (a week before). Even so, if you are near Austin, Texas and > still want to meet up, email me at djcookiecrook@hotmail.com and I'll > arrange something. Feel free to forward this to other people that may be > interested in an Austin meetup. > > Cheers, > James Craig At least you have people in Austin signed up for the webstandards.meetup. I am the only person in Fort Worth signed up for it. :( OH well! Jason Estes The BEWB www.bewb.org From dmead at optiem.com Fri Apr 25 21:31:57 2003 From: dmead at optiem.com (David Mead) Date: Fri, 25 Apr 2003 16:31:57 -0400 Subject: [css-d] Web Standards Meetup Message-ID: I came across this on Mr Craig's web site and decided to join the Cleveland one only to see the next day it cancelled :-( Maybe the web developers one will be better attended. Dave -----Original Message----- From: Jason Estes [mailto:ckestes@bewb.org] Sent: Friday, April 25, 2003 4:18 PM To: James Craig; 'CSS-discuss' Subject: Re: [css-d] Web Standards Meetup and Safari (Was: OT: Stats forbrowsers on Mac?) >=20 > Also, not enough people in Austin voted for a venue so our meeting is=20 > cancelled this month. :( I wonder why they decided to cancel is so=20 > prematurely (a week before). Even so, if you are near Austin, Texas and=20 > still want to meet up, email me at djcookiecrook@hotmail.com and I'll=20 > arrange something. Feel free to forward this to other people that may be=20 > interested in an Austin meetup. >=20 > Cheers, > James Craig At least you have people in Austin signed up for the webstandards.meetup. =20 I am the only person in Fort Worth signed up for it. :( OH well! Jason Estes The BEWB www.bewb.org=20 ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ From daniel at ionize.net Fri Apr 25 22:06:01 2003 From: daniel at ionize.net (danielEthan) Date: Fri, 25 Apr 2003 16:06:01 -0500 Subject: [css-d] Help w/ IE Mac disappearing ID Message-ID: Hi, I have been busy on a project that is almost done, but I find myself deeply in need of some expertise and help. I'm trying to finish up a site now at: http://test.chc2003.com/CHC2003/ One issue remains, however: In IE4, (and IE5) on the Mac (OS 9), I'm getting reports that the logo in the top left is not appearing. Unfortunately, I don't have access to an OS 9 box to test. (I tried installing it, but my monitor-- yes, my monitor-- prevented me from doing so). In my copy of IE5 Mac on OS X, it renders correctly. Can someone w/ IE 4 or IE 5 running under OS 9 confirm that the logo is not appearing? Does anyone know why this would be happening? The xhtml/css validates, but it *is* a tabled design. The goods: default style sheet (setting #logo to display: none): http://test.chc2003.com/_library/styles/default.css - I *did* try removing the link to this stylesheet and the problem persists global style sheet that sets styles for #logo http://test.chc2003.com/_library/styles/global.css - This stylesheet is linked to using imports in the second stylesheet linked (import.css). I know that the IEs in question are getting the global stylesheet, however, because other styles from it are rendered correctly. thanks, -daniel From daniel at ionize.net Fri Apr 25 22:21:42 2003 From: daniel at ionize.net (danielEthan) Date: Fri, 25 Apr 2003 16:21:42 -0500 Subject: [css-d] Help w/ IE Mac disappearing ID In-Reply-To: Message-ID: Sorry, I left out the directory: > The goods: > > http://test.chc2003.com/_library/styles/default.css http://test.chc2003.com/CHC2003/_library/styles/default.css > http://test.chc2003.com/_library/styles/global.css http://test.chc2003.com/CHC2003/_library/styles/global.css From valleyofmalls at yahoo.com Fri Apr 25 22:31:36 2003 From: valleyofmalls at yahoo.com (David Norris) Date: Fri, 25 Apr 2003 14:31:36 -0700 (PDT) Subject: [css-d] image float right issues in IE5.5 win Message-ID: <20030425213136.54351.qmail@web21105.mail.yahoo.com> I have sliced up an image and floated it right inside a table using the method here http://www.meyerweb.com/eric/css/edge/raggedfloat/demo.html I'm using the style code as follows on my slices:img.slices {float: right; clear: right; margin: 0 0 0 0;} (I have enough white space on the sliced images that I don't need to add any margin for the text wrap) Looks fine it seems everywhere except IE5.5 windows, not sure about mac. In IE 5.5 there's some space between the images and the right edge of the table so it won't meet up with the edge. But if I add some negative px or em to the right margin it looks fine in IE 5.5, the image goes flush to the edge. example: img.slices {float: right; clear: right; margin: 0 -3px 0 0;} img.slices {float: right; clear: right; margin: 0 -1em 0 0;} Is there an IE 5.5 hack or something for this? --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.From holnkids at netscape.net Fri Apr 25 23:26:08 2003 From: holnkids at netscape.net (Holly Bergevin) Date: Fri, 25 Apr 2003 18:26:08 -0400 Subject: [css-d] image float right issues in IE5.5 win Message-ID: <0DC0F06E.2A589CC0.009CE500@netscape.net> David Norris wrote: >I have sliced up an image and floated it right inside a table using the method here http://www.meyerweb.com/eric/css/edge/raggedfloat/demo.html I'm using the style code as follows on my slices:img.slices {float: right; clear: right; margin: 0 0 0 0;} (I have enough white space on the sliced images that I don't need to add any margin for the text wrap) Looks fine it seems everywhere except IE5.5 windows, not sure about mac. In IE 5.5 there's some space between the images and the right edge of the table so it won't meet up with the edge. But if I add some negative px or em to the right margin it looks fine in IE 5.5, the image goes flush to the edge. example: img.slices {float: right; clear: right; margin: 0 -3px 0 0;} img.slices {float: right; clear: right; margin: 0 -1em 0 0;} Is there an IE 5.5 hack or something for this? Hi David - If you know it is only IE5.5 (and not IE6 also) that is doing this, you can use the Tan hack [1] to feed the negative right margin to IE5.5 which would look like this - img.slices { float: right; clear: right; margin: 0; /* Margin settings for most browsers */ } * html img.slices { /*Only IE browsers see this (including Mac)*/ margin-right: -3px; /* Set value for IE5.5 */ ma\rgin-right: 0; /* Reset value for IE6 and IE5-Mac */ } Otherwise (if IE6 needs the negative margin as well), try setting the "incorrect" value in the regular selector and use the child selector to reset it for the other browsers - img.slices { float: right; clear: right; margin: 0 -3px 0 0; } html>body img.slices {margin-right: 0; } HTH, ~holly [1] See: "A Modified SBMH" - http://css-discuss.incutio.com/?page=BoxModelHack __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From fortuneb at bellsouth.net Fri Apr 25 23:38:11 2003 From: fortuneb at bellsouth.net (Brandy (mediadiva)) Date: Fri, 25 Apr 2003 18:38:11 -0400 Subject: [css-d] site check References: <002101c30a3e$21449a20$97a4d742@charterpipeline.net> <009e01c30a40$9dec4e40$73163d0a@sdig.fr> Message-ID: <00a801c30b7b$5a454d40$6001a8c0@felwithe> not diggin the techno on the home page. cool music, but annoying. > ----- Original Message ----- > From: "Ian Adams" > > I am updating the code for my site to a standards compliant xhtml/css and > cannot get the style to view in Netscape 7. The syle views fine in IE and > the site validates every way I can think of to test it. The address is > http://www.microtech.com > > From fortuneb at bellsouth.net Fri Apr 25 23:40:10 2003 From: fortuneb at bellsouth.net (Brandy (mediadiva)) Date: Fri, 25 Apr 2003 18:40:10 -0400 Subject: [css-d] Media="all" vs. @import References: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> Message-ID: <00f401c30b7b$a108b050$6001a8c0@felwithe> can you have more then one media="all" on a page? From gleemax at attbi.com Fri Apr 25 23:49:00 2003 From: gleemax at attbi.com (John Lewis) Date: Fri, 25 Apr 2003 17:49:00 -0500 Subject: [css-d] Media="all" vs. @import In-Reply-To: <00f401c30b7b$a108b050$6001a8c0@felwithe> References: <523ED78FF1F87A44A40907C74F83CBC20A4A1FD3@mail.bgm.globeinteractive.com> <00f401c30b7b$a108b050$6001a8c0@felwithe> Message-ID: <151129728197.20030425174900@attbi.com> Brandy wrote on Friday, April 25, 2003 at 5:40:10 PM: > can you have more then one media="all" on a page? Yes. It simply means that each style sheet will be applied in all media (screen, handheld, projection, and so on). For example, -- John Lewis From epersonae at mail.com Sat Apr 26 00:03:30 2003 From: epersonae at mail.com (Elaine Nelson) Date: Fri, 25 Apr 2003 18:03:30 -0500 Subject: [css-d] site check - esp. on Mac? Message-ID: <20030425230331.9939.qmail@mail.com> http://www.pierce.ctc.edu/test/pioneer/ (links don't work, this is only a mockup) I've checked it on Moz 1.2.1, IE 6, Netscape 4.something and Opera 6 (all win2K), and am reasonably satisfied with the results. It's been validated all round, and passed. :) Minimal style is fed to old browsers, with additional stuff for the more modern crowd. I decided to go for the XML prolog to force IE6 into non-strict mode so I could keep using body>#whatever selectors rather than some other hack...I don't know if this causes problems elsewhere.... A check from Mac users would be especially helpful! Thanks for your time... Elaine Nelson work: http://www.pierce.ctc.edu notWork: http://www.epersonae.com -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup From daniel at ionize.net Sat Apr 26 00:10:17 2003 From: daniel at ionize.net (danielEthan) Date: Fri, 25 Apr 2003 18:10:17 -0500 Subject: [css-d] site check - esp. on Mac? In-Reply-To: <20030425230331.9939.qmail@mail.com> Message-ID: <1474BED5-7773-11D7-9D27-000393BBEACE@ionize.net> On Friday, Apr 25, 2003, at 18:03 America/Chicago, Elaine Nelson wrote: > http://www.pierce.ctc.edu/test/pioneer/ > (links don't work, this is only a mockup) Looking Good Mac Side: [OS X] Moz IE 5.2 Safari From holnkids at netscape.net Sat Apr 26 03:56:20 2003 From: holnkids at netscape.net (Holly Bergevin) Date: Fri, 25 Apr 2003 22:56:20 -0400 Subject: [css-d] 3Col_NN4_FMFM and IE 6 problem Message-ID: <46F927D0.13623D7A.009CE500@netscape.net> css-discuss@plumlee.org wrote: >At 01:00 AM 4/25/2003 -0400, you wrote: > > >>If I try to place an image in the right > >>hand column with a declared width of 145px, it does not work in IE6. IE > >>refuses to display the content in that third column. >http://wgi.org/2003/indexmac2.php Hi Scott - I played around some more with your example and found a few more interesting things. It seems putting a top border on the div.column-three-content will kill the problem without using the float, as long as the image is wrapped inside something else. You could put it in another div, or a paragraph, either one seemed to work. What I did was give the div.column-three-content a {border-top: 1px solid #6666ff;} which is the same color as the background of the column. I then gave each of the other div.column-xxx-content a top border the same color as their backgrounds, and 1px high to balance things between the columns. This works great in the example you provided. Unfortunately, what you will find if you put content in the middle div is that the image gets pushed below the bottom of the content level of the middle div, though it still does display. Another thing I tried which IE6 is okay with but Moz and Op aren't is to give the image a margin property that looks like img {margin: 0 -3px;} IE6 happily centers the image and displays it, too. Unfortunately, Moz and Op drag the thing to the left 3px. You can use a child selector to reset the margin value for the other browsers - html>body img {margin: 0;} I'm afraid this is going to be a case of pick your hack. The float one isn't that bad, especially if the image is going to take up the entire width of that right side div and since you said it isn't causing problems for Moz and Op7. So after all this, my suggestion is to go with the float. It seems the easiest way to deal with the various problems that are encountered. Be aware that if you need to put content in the right div *before* the image, the image will disappear again, even with the float. This time it's hiding behind the background, so add [img] to the selector that has the {p\osition: relative;} property. If you don't want a background on the right div, you won't need the pos:rel. In brief, my suggestion looks like this - .box-wrap, .columns-float, .column-one, .column-two, h2, .column-three, img {p\osition: relative;} img { float: left;} >I appreciate the advice. I think I might have a "immovable object meets >the irresistible force" complex about this problem right now. I'm not sure which one of those is you and which is IE6, but I do agree this is a frustrating problem, and one that is going to require the application of a(nother) hack to solve. Not sure I was much help this time, sorry, ~holly __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From ehmer at pacific.net.au Sat Apr 26 06:00:43 2003 From: ehmer at pacific.net.au (David & Angela Ehmer) Date: Sat, 26 Apr 2003 15:00:43 +1000 Subject: [css-d] Horizontal dropdown menu relative positioning problem Message-ID: <005301c30bb0$cca941e0$5bf88fcb@ehmer> I have developed a horizontal menu system which works okay except that; Extra space appears below the horizontal menu, both when the dropdowns appear and when they don't. Not sure where this is coming from or how to eliminate it. Think it may be related to the cumulative space the 3 drop downs take up. Also the menus appear a bit touchy and disappear sometimes when they shouldn't (probably Javascript problem!) Note, I have used relative positioning as I want the page to be centred on a screen with resolution of 1024x768. Appreciate any suggestions. See URL http://www.netnoise.com.au/acpchn/index.php David From mark.r.stevens at attbi.com Sat Apr 26 06:20:19 2003 From: mark.r.stevens at attbi.com (markinoregon) Date: Fri, 25 Apr 2003 22:20:19 -0700 Subject: [css-d] Horizontal dropdown menu relative positioning problem In-Reply-To: <005301c30bb0$cca941e0$5bf88fcb@ehmer> Message-ID: Yeah, the menu's are touchy here on XP/IE6 Broadband connection, also i noticed your australian map, on the right side of the header, is a few pixels off from the text. -----Original Message----- From: css-d-bounces@lists.css-discuss.org [mailto:css-d-bounces@lists.css-discuss.org]On Behalf Of David & Angela Ehmer Sent: Friday, April 25, 2003 10:01 PM To: css-d@lists.css-discuss.org Subject: [css-d] Horizontal dropdown menu relative positioning problem I have developed a horizontal menu system which works okay except that; Extra space appears below the horizontal menu, both when the dropdowns appear and when they don't. Not sure where this is coming from or how to eliminate it. Think it may be related to the cumulative space the 3 drop downs take up. Also the menus appear a bit touchy and disappear sometimes when they shouldn't (probably Javascript problem!) Note, I have used relative positioning as I want the page to be centred on a screen with resolution of 1024x768. Appreciate any suggestions. See URL http://www.netnoise.com.au/acpchn/index.php David ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ From robert.nyman at centus.com Sat Apr 26 11:51:53 2003 From: robert.nyman at centus.com (Robert Nyman) Date: Sat, 26 Apr 2003 12:51:53 +0200 Subject: [css-d] OT: Stats for browsers on Mac? Message-ID: <2971830BF2404F4E9FDB861233E7C4223C2348@centus_ex_01.centus.com> > I work in academia with folks who are geeky, but not necessarily in a > web browser sort of way, but who are mostly Mac users. Among the Mac > people, a very large majority use IE 5 - about 72%, at last count. > These are about evenly divided between 5.2+ on OSX and all others. > The next highest is NN4, at a scary 9%. Safari has recently > overtaken gecko-based, with some early adopters giving me a 7% > reading, while all geckos (NN6, NN7, all Mozillas and derivatives) > are another 6%. IE4 has just 1%, and all others (including > unidentified) account for the rest. I have had exactly one Opera = visitor. =20 Thanks Adam, =20 I find this very interesting information! And yes, 9% with NS4 is really scary! =20 =20 /Robert =20 From outlaw at joseywales.com Sat Apr 26 12:48:09 2003 From: outlaw at joseywales.com (Seb Duggan) Date: Sat, 26 Apr 2003 12:48:09 +0100 Subject: [css-d] CSS-only line break (a tip) In-Reply-To: <1051268977.6929@tweek.sebduggan.com> Message-ID: <1051357689.16411@tweek.sebduggan.com> >> I would also like to offer one further suggestion, using >> whitespace:pre, which seems even simpler to me: simply stick in >> the line breaks where you want them, as in this example: > > Very nice Steve - this seems to be the most elegant solution so far - and it > seems to work in every browser I've thrown it at! > > I'll be changing my own code to this... Final word on this... I tested my page on a friend's Linux box, on Konqueror. Unfortunately, Konqueror currently only supports white-space:pre for PRE and XMP elements. However, even the earlier beta of Safari handles it correctly, so it should find its way in to the KHTML source fairly soon. (Also, it wasn't a disastrous mis-rendering - and Konqueror users are probably a very small minority of my site's traffic). Seb From joel.young at ns.sympatico.ca Sat Apr 26 15:24:43 2003 From: joel.young at ns.sympatico.ca (Joel Young) Date: Sat, 26 Apr 2003 11:24:43 -0300 Subject: [css-d] Quick thank you Message-ID: <5.2.0.9.2.20030426112216.00ba3028@cbiweb.com> Just wanted to say thanks to those who gave me suggestions the other day on making lists with mixed styles. I haven't been able to try them out yet because I got distracted with another project. But I will let you know how it works out when I get back to it. Thanks! Joel From rick at starskiweb.co.uk Sat Apr 26 17:21:10 2003 From: rick at starskiweb.co.uk (=?iso-8859-1?Q?Rick_Hurst?=) Date: Sat, 26 Apr 2003 17:21:10 +0100 Subject: [css-d] border-left IE5 mac problem Message-ID: for some reason this layout is missing the left border when displayed in IE5= mac=2E The odd thing is that the space has been left for the border, but no= colour is showing=2E Any ideas why, or how I might fix it=3F http://www=2Ehypothecate=2Eco=2Euk/css=5Ftest/v8=2Ehtm From steven at sjknet.com Sat Apr 26 17:47:17 2003 From: steven at sjknet.com (Steven Kallstrom) Date: Sat, 26 Apr 2003 11:47:17 -0500 Subject: [css-d] inline frame border... Message-ID: <000e01c30c13$829c7730$6401a8c0@MAIN> CSS Experts, I am working on a layout where I have a large graphic as background, and menu. I don't want to reload that since it is static throughout, so I decided to just make it so that I would reload the content area. http://12.221.231.252/test/test.html 1) I can do this with an iframe... I can get rid of the border with CSS in Mozilla, but to get rid of the iframe border through IE you need to do this...