[WSG] Re: [css-d] Double space after a period]
Chris Williams wrote: I have this problem, and I use nbsp;space and not nbsp;nbsp;. I find that works, and I haven't seen the space at the beginning problem. It seems that UA's can handle the nbsp; at the end of the line OK. I do this replacement with a simple regex in my PHP code. HTH, Chris PS -- it is very correct, it is NOT something for old English teachers. The Chicago manual, the latest Strunk and White editions, and many others, still use it. Just because a random entry in Wikipedia and the AP don't do it, doesn't mean it's not right... And browsers don't do it because it's easier to collapse all spaces, not because it's right. __ declare: i {padding-right : 1em; } then use i./i in the text. Not brilliant, certainly not semantic, but it seems to work. I wanted to avoid a long 'span' and use a simple (short) tag. I doubt that anyone can spot an italicised period. . :-) ! Anyone any good (better) suggestions? -- Best Regards, Bob McClelland Cornwall (UK) www.gwelanmor-internet.co.uk -- Best Regards, Bob McClelland Cornwall (UK) www.gwelanmor-internet.co.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Re: [css-d] Double space after a period]
Whoops! Sorry - sent to wrong list! Chris Williams wrote: I have this problem, and I use nbsp;space and not nbsp;nbsp;. I find that works, and I haven't seen the space at the beginning problem. It seems that UA's can handle the nbsp; at the end of the line OK. I do this replacement with a simple regex in my PHP code. HTH, Chris PS -- it is very correct, it is NOT something for old English teachers. The Chicago manual, the latest Strunk and White editions, and many others, still use it. Just because a random entry in Wikipedia and the AP don't do it, doesn't mean it's not right... And browsers don't do it because it's easier to collapse all spaces, not because it's right. __ declare: i {padding-right : 1em; } then use i./i in the text. Not brilliant, certainly not semantic, but it seems to work. I wanted to avoid a long 'span' and use a simple (short) tag. I doubt that anyone can spot an italicised period. . :-) ! Anyone any good (better) suggestions? -- Best Regards, Bob McClelland Cornwall (UK) www.gwelanmor-internet.co.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: [css-d] Double space after a period]
On 10/15/06, Designer [EMAIL PROTECTED] wrote: Chris Williams wrote: The Chicago manual, the latest Strunk and White editions, and many others, still use it. Just because a random entry in Wikipedia and the AP don't do it, doesn't mean it's not right... And browsers don't do it because it's easier to collapse all spaces, not because it's right. Just a thought on this... I agree, with print, but think perhaps the web works differently. There's no different end-of-sentence character, and UAs aren't designed to render some spaces larger than others. (I habitually press Ctrl + . at the end of sentences from spending too much time in LyX and wish there were an equivalent way to do things with HTML, but alas I think it's not to be). You could go further and invent your own schema with a s element for sentences if you care that much... but personally I think this is something more for print and perhaps not suited to appropriation given the tools we do/don't have. I doubt that anyone can spot an italicised period. . :-) ! Why not just unitalicise the i tag? Unless you're using it where you actually need italics, of course... but that doesn't happen because you use CSS and semantic markup for that, right? ;-) -- Joshua Street http://joahua.com/blog/ +61 (0) 425 808 469 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: [css-d] Double space after a period]
On 10/16/06, Christian Montoya [EMAIL PROTECTED] wrote: i {padding-right : 1em; } then use i./i in the text. Actually I think using nbsp; is a lot better since that's the only solution that goes to print. Print stylesheet, anyone? I'd argue non breaking spaces are better if you're trying to automate it, because catching double spaces and making them #160; or nbsp; is generally lots safer than trying to catch periods -- i.e. blah becomes i.e. blah if you're checking for . or, if you're just searching for periods, i. e. blah which is just getting ridiculous. But that has little to do with markup and everything to do with server side fun (fun, but not on this list), so I'll leave it alone for now. Josh -- Joshua Street http://joahua.com/blog/ +61 (0) 425 808 469 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] Re: [css-d] Double space after a period]
This has clearly veered off topic, and I'm just waiting for a moderator comment... :) It's not really that complicated. Just look for a capital letter following a period, pay attention to quoted strings, and Mr., Ms., etc. and replace the intervening white space(s) with nbsp; . I use a couple simple preg_replaces to solve it. -Original Message- From: Joshua Street Subject: Re: [WSG] Re: [css-d] Double space after a period] I'd argue non breaking spaces are better if you're trying to automate it, because catching double spaces and making them #160; or nbsp; is generally lots safer than trying to catch periods -- i.e. blah becomes i.e. blah if you're checking for . or, if you're just searching for periods, i. e. blah which is just getting ridiculous. But that has little to do with markup and everything to do with server side fun (fun, but not on this list), so I'll leave it alone for now. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Re: [css-d] Double space after a period]
My only modification of this would be to use nbsp; rather than nbsp; nbsp;. It appears to me that some UA's word wrap the former better. From: Peter Firminger [EMAIL PROTECTED] Subject: RE: [WSG] Re: [css-d] Double space after a period] I'd search for a double space following a period and replace it with .nbsp;nbsp; (on output to the html page) leaving it up to them to be careful about their space bar usage. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] Relative positioning and Netscape 6
Hi all, I am trying to find out what Netscape 6's capabilities are as far as relative positioning goes. I have a page where I have a parent div, absolutly positioned, with two relatively positioned child block level elemnets; one positioned to the top left, the other top right. The top right absolutely positioned element is ignoring the relative container in NS 6, and is positioning relative to the viewport - top right of browser window. Could this be NS 6's lack of support of positioning? -- Andrew [EMAIL PROTECTED] *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Relative positioning and Netscape 6
Relative positioning is not a very reliable cross browser method for getting elements where you want them. You're better off using an element's margins for most positioning and in some cases floats (e.g. float: left/right). On Mon, 16 Oct 2006 11:35:58 +1000, Andrew Ivin [EMAIL PROTECTED] wrote: Hi all, I am trying to find out what Netscape 6's capabilities are as far as relative positioning goes. I have a page where I have a parent div, absolutly positioned, with two relatively positioned child block level elemnets; one positioned to the top left, the other top right. The top right absolutely positioned element is ignoring the relative container in NS 6, and is positioning relative to the viewport - top right of browser window. Could this be NS 6's lack of support of positioning? -- Tyssen Design Web print design services www.tyssendesign.com.au Ph: (07) 3300 3303 Mb: 0405 678 590 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] Relative positioning and Netscape 6
On the contrary, it's very useful, and accurate: I used absolutely positioned divs on the www.intrepidtravel.com to add the rounded corners, logo and trip search box you see on every page. This has worked on every browser that I've tested, even down to IE5.5 -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of John Faulds Sent: Monday, 16 October 2006 11:55 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Relative positioning and Netscape 6 Relative positioning is not a very reliable cross browser method for getting elements where you want them. You're better off using an element's margins for most positioning and in some cases floats (e.g. float: left/right). On Mon, 16 Oct 2006 11:35:58 +1000, Andrew Ivin [EMAIL PROTECTED] wrote: Hi all, I am trying to find out what Netscape 6's capabilities are as far as relative positioning goes. I have a page where I have a parent div, absolutly positioned, with two relatively positioned child block level elemnets; one positioned to the top left, the other top right. The top right absolutely positioned element is ignoring the relative container in NS 6, and is positioning relative to the viewport - top right of browser window. Could this be NS 6's lack of support of positioning? -- Tyssen Design Web print design services www.tyssendesign.com.au Ph: (07) 3300 3303 Mb: 0405 678 590 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Relative positioning and Netscape 6
On Oct 16, 2006, at 10:35 AM, Andrew Ivin wrote: I am trying to find out what Netscape 6's capabilities are as far as relative positioning goes. I have a page where I have a parent div, absolutly positioned, with two relatively positioned child block level elemnets; one positioned to the top left, the other top right. The top right absolutely positioned element is ignoring the relative container in NS 6, and is positioning relative to the viewport - top right of browser window. As always, a URL is more than useful... And I'm not clear. Is the parent container {position:absolute} or {position:relative;} ? That makes a big difference. If the parent container happens to be styled with {position:relative} *and* is floated (left/right, doesn't matter), then Netscape 6 ignores it for the purpose of absolute positioning (top + right). That is a bug. Workaround: inside the floaed div, wrap the contents in a div, and give that div relative positioning. Philippe --- Philippe Wittenbergh http://emps.l-c-n.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Relative positioning and Netscape 6
Andrew wrote: I have a page where I have a parent div, absolutly positioned, with two relatively positioned child block level elemnets; one positioned to the top left, the other top right. Hello Andrew, I think the problem is that you have the positioning applied in reverse. What you need to do is apply relative positioning to the parent, then absolutely position the children. They will then be positioned in relation to the parent. I know it sounds backwards in a way, but that's how to get those children to behave. Perhaps this experiment I did a while back will help you sort it out. Write up: http://mikecherim.com/gbcms_xml/news_page.php?id=10#n10 Experiment: http://mikecherim.com/experiments/css_smart_corners.php Hope this helps. Respectfully, Mike Cherim http://green-beast.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***