[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: - html head link href=test.css type=text/css rel=stylesheet /head body ol li a name=one

[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: --- !DOCTYPE html PUBLIC

[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

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

2009-02-16 Thread Trevor Nicholls
in IE6 and/or IE7 On 2/16/09 10:08 AM, Trevor Nicholls tre...@castingthevoid.com 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', styled with white-space:nowrap and displayed in a colored

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

2009-02-16 Thread Trevor Nicholls
-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 issue in IE6 and/or IE7 Trevor Nicholls wrote: Example

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

2008-04-15 Thread Trevor Nicholls
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 __ css-discuss [EMAIL

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

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] bottom border vs padding in IE, retry

2008-01-11 Thread Trevor Nicholls
PROTECTED] On Behalf Of Trevor Nicholls Sent: Friday, 11 January 2008 4:13 p.m. To: css-d@lists.css-discuss.org Subject: [css-d] bottom border vs padding in IE 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

[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

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

2007-12-21 Thread Trevor Nicholls
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 PROTECTED

[css-d] A little border dispute

2007-12-20 Thread Trevor Nicholls
what I obviously don't understand about inheritance here? Thanks Cheers Trevor Trevor Nicholls Casting the Void __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css

[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

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

2007-08-09 Thread Trevor Nicholls
@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 that the table caption needs

[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

[css-d] selector for missing attribute?

2007-07-22 Thread Trevor Nicholls
-align: attr(align) as in the code above? All the examples I have seen restrict the use of attr() to defining 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

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 from

[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

Re: [css-d] generated content before div

2007-06-16 Thread Trevor Nicholls
@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: div class=questionp.../p/div div class=answerp.../p/div For questions, it would