[css-d] List layout issue in loose HTML under IE8

2010-04-18 Thread Trevor Nicholls
Hi I have a problem with list formatting when list items contain named anchors, but only under the "loose" doctype in IE (I am using IE8). This is my minimal example: - test.html: - One test.css: ol { padding: 0 0 0 2em; ma

[css-d] simple margins not collapsing

2009-04-16 Thread Trevor Nicholls
Hello Can somebody please explain why the lower margin of my first para and the upper margin of my "fragment" div are not collapsing? How could I fix this? I've seen this gap in both IE7 and FF3. The target market is IE6+. Thanks in advance Trevor Here's the html: --- http://www.w3.org/TR/html

Re: [css-d] nowrap and border issue in IE6 and/or IE7

2009-02-16 Thread Trevor Nicholls
t. Cheers T -Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Brian Funk Sent: Tuesday, 17 February 2009 8:02 a.m. To: tre...@castingthevoid.com Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] nowrap and border i

Re: [css-d] nowrap and border issue in IE6 and/or IE7

2009-02-16 Thread Trevor Nicholls
Subject: Re: [css-d] nowrap and border issue in IE6 and/or IE7 On 2/16/09 10:08 AM, "Trevor Nicholls" wrote: > Hi > > Example found at http://homepages.ihug.co.nz/~tmjpbn/csw5.html > > I have a (div) code fragment which has a text content (div) 'fragbody

[css-d] nowrap and border issue in IE6 and/or IE7

2009-02-16 Thread Trevor Nicholls
Hi Example found at http://homepages.ihug.co.nz/~tmjpbn/csw5.html I have a (div) code fragment which has a text content (div) 'fragbody', styled with white-space:nowrap and displayed in a colored rectangle with a black border. Apparently in IE6 if the browser window is narrowed the border and co

Re: [css-d] wrapping woes - paras containing preformatted phrases - IE7

2008-04-15 Thread Trevor Nicholls
Following on from the previous post, I should probably put up an example to show why I am not using pre-wrap instead of pre. These two examples illustrate: http://homepages.ihug.co.nz/~tmjpbn/prefprew.html http://homepages.ihug.co.nz/~tmjpbn/prefprew1.html The prefprew version has div.fragment

[css-d] wrapping woes - paras containing preformatted phrases - IE7

2008-04-15 Thread Trevor Nicholls
m goes away. Naturally Firefox behaves impeccably, but (as before) I am restricted to using IE7. Is anyone able to explain what is going on, and how I could get IE7 to linewrap these paragraphs correctly, please? Cheers T   Trevor Nicholls ___

Re: [css-d] nested list troubles in IE

2008-04-11 Thread Trevor Nicholls
Georg> > Post a link to a live example of your nested list > constructions, so we can see what's bugging IE the most. I haven't kept all the different versions of my attempted styles, and trying to reconstruct them is getting beyond me at this hour of the night. So instead I've put up a completely

[css-d] nested list troubles in IE

2008-04-11 Thread Trevor Nicholls
Before posting any of my failures, am I trying to achieve the impossible dream? * list elements aligned 1. unordered lists 2. ordered lists 1. list markers aligned * unordered list markers * ordered list numbers This may go 5 or 6 levels deep, with any conformation of ordered

[css-d] bottom border vs padding in IE, retry

2008-01-11 Thread Trevor Nicholls
see both a red and a black border. I've tried Google, but it doesn't want to be my friend on this one. Cheers T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor Nicholls Sent: Friday, 11 January 2008 4:13 p.m. To: css-d@lists.css-discu

[css-d] bottom border vs padding in IE

2008-01-10 Thread Trevor Nicholls
Hi I'm coding up a simple glossary function and have found that IE loses the bottom border of my display when the final div has no bottom padding. A simple example: http://trevor.freehomepage.com/glossary_documentation.html The stylesheet is http://trevor.freehomepage.com/gloss.css In Firefox

[css-d] external html content in popup on mouseover

2007-12-21 Thread Trevor Nicholls
s may be beyond scope for this list. But I hope that one of you can point me in the right general direction for it. A very happy holiday season to you all Cheers T   Trevor Nicholls Casting the Void __ css-discuss [EMAIL PROT

Re: [css-d] Border troubles - Mea culpa

2007-12-20 Thread Trevor Nicholls
Apologies for this question appearing twice today; I carelessly submitted it the first time in HTML and then when I realised my mistake I resent it in plain text. And of course my coding problem was just a simple question of carelessness, to boot. As you were Cheers T Trevor Nicholls Casting

[css-d] Border troubles

2007-12-20 Thread Trevor Nicholls
Hi I am having problems formatting a copyright footer on my pages. A minimal page and CSS file may be seen at http://trevor.freehomepage.com/copy.html and http://trevor.freehomepage.com/test.css (sorry about the advertising). The browser is IE as my pages are delivered through an IE com

[css-d] A little border dispute

2007-12-20 Thread Trevor Nicholls
ill see a black top border. What is going on? Can some kind person explain what I obviously don't understand about inheritance here? Thanks Cheers Trevor Trevor Nicholls Casting the Void __ css-discuss [EMAIL PROTECTED] http:/

Re: [css-d] mixed units for table padding

2007-08-09 Thread Trevor Nicholls
css-d@lists.css-discuss.org Subject: Re: [css-d] mixed units for table padding Trevor Nicholls wrote: > I hope this requirement is simple! > > I am trying to align a table caption with a table cell. > The table has a 2 pixel border. > The table cell has 0.25em padding. > This means

[css-d] mixed units for table padding

2007-08-08 Thread Trevor Nicholls
I hope this requirement is simple! I am trying to align a table caption with a table cell. The table has a 2 pixel border. The table cell has 0.25em padding. This means that the table caption needs padding of 0.25em + 2px. The browser is IE. Is this possible without making assumptions about font

Re: [css-d] selector for missing attribute?

2007-07-22 Thread Trevor Nicholls
Thank you Jukka & Joe for your answers >> The remaining problem is that on browsers that do not support attribute selectors, such as IE 6 and earlier, the style sheet would make _all_ th elements left-aligned. Thus, this might be one of (rare) cases where some trick for hiding the first rule fr

[css-d] selector for missing attribute?

2007-07-21 Thread Trevor Nicholls
ining "content:". The half question: a. If the answer to both the foregoing is No, how would you recommend coding this requirement in CSS? Cheers T   Trevor Nicholls Casting the Void __ css-discuss [EMAIL PROTECTED]

[css-d] Table internal borders

2007-07-12 Thread Trevor Nicholls
Hi Sample table can be seen at http://img2.freeimagehosting.net/uploads/bdf02c11e5.gif My question relates to the junction between the black bottom border of the table heading row and the grey side border of the two columns. It's partly grey and partly black, and I'd like it to be wholly black.

[css-d] Table sizing - wide captions

2007-06-22 Thread Trevor Nicholls
This seems an awfully simple question yet I can't find a simple answer for it. My experience is that a browser will lay out a table - assuming there are no width attributes - at a size that will fit all of the contents. Columns are sized to fit the biggest "fixed" entry. Browsers generally do a pr

Re: [css-d] generated content "before" div

2007-06-16 Thread Trevor Nicholls
ay, 17 June 2007 3:39 a.m. To: css-d@lists.css-discuss.org Subject: Re: [css-d] generated content "before" div On Fri, 15 Jun 2007, Trevor Nicholls wrote: > The HTML I am styling uses classes to distinguish between questions and > answers, like so: > > ... > ... For q

[css-d] generated content "before" div

2007-06-16 Thread Trevor Nicholls
Hi The HTML I am styling uses classes to distinguish between questions and answers, like so: ... ... where of course there may well be multiple paragraphs, tables, who knows what elses, within any particular question or answer. In my CSS div.question { ... } div.answer { ... } are being