Re: [css-d] Benefits of resetting all divs to position:relative?

2011-04-21 Thread Rowan @ Jetboy
As others have said, it fixes a bunch of other bugs in older IEs, and I used to use it as a matter of course. It's IE though, and as you've found out, things are never that simple. I stopped using it when I found that on complex layouts it really slowed down the rendering of the page in IE, and cau

Re: [css-d] CSS Coding Style

2010-12-22 Thread Rowan @ Jetboy
Just been doing some testing on this, and IE5 doesn't pick up the styles inside a

[css-d] IE5 button element styling

2010-12-22 Thread Rowan @ Jetboy
One for the old-school crowd: Has anyone got a solution for the extra width IE5 adds to the element, most visible in wide buttons? The overflow: visible fix only works on IE5.5+. I'm trying to create a button with no (or minimal) space around a nested . Yes, I know I should know better than to be

Re: [css-d] CSS Coding Style

2010-12-21 Thread Rowan @ Jetboy
I used to use multiple stylesheets for ease of development (and I have to admit, often a lot more than the four you're using), but in recent years, after reading about the impact on page load speed, my approach has changed radically. If you're using @import, as you will be if you're using one styl

Re: [css-d] IE6 and IE7 on the same machine

2008-04-06 Thread Rowan @ Jetboy
One word of warning ... And one more: A standalone IE6 is not *identical* to regular IE6, at least when you have it running alongside IE7. For example, standalone IE6 with IE7 installed will support alpha transparency on 8-bit PNGs. The real thing doesn't. Standalone's are ideal for testing as yo

Re: [css-d] UL displaying as flowing multi columns

2007-09-22 Thread Rowan @ Jetboy
If there's any chance of the list items wrapping, as one does in your example, then you're asking the impossible. Even if you could calculate which items were going to wrap server-side, it'd fall apart on text resize. Maybe with CSS 3 multi-column support, but not with the current crop of browsers.

Re: [css-d] Em vs ex

2007-09-21 Thread Rowan @ Jetboy
Thanks folks. Ems it is then. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by e

Re: [css-d] margin/padding and li problem

2007-09-21 Thread Rowan @ Jetboy
#contentright ul { padding: 0; margin-left: 2em; list-style-type: none; } #contentright ul li { text-align: left; padding: 10px 1px 10px 30px; font-size: 0.8em; } is overriding the styles for that specific list. Reduce the left margin on the ul to m

[css-d] Em vs ex

2007-09-21 Thread Rowan @ Jetboy
Hi list, I'm looking to use em or ex units for elastic layout on a new site. mozillaZine (http://kb.mozillazine.org/Em_vs._ex) recommends ex's to avoid rounding errors (in Moz), but other sites make veiled references to ex problems with older browsers. Can anyone tell me what those problems are/w

Re: [css-d] Circumventing inheritance

2006-03-03 Thread Rowan @ Jetboy
If you give the last an *ID* of 'environet', you can set you colours with: #environet a:link, #environet a:visited, #environet a:hover { color: #FF9933; } as long as this is placed after your main link colour definitions. Read up on 'specificity' on the W3C site to get a handle on this. I h

Re: [css-d] PNG24 - AlphaImageLoader - Feed gif to IE5 - Will thisCSSapproach work?

2006-01-02 Thread Rowan @ Jetboy
IE5 on the Mac supports PNG transparency, so you shouldn't need to do anything special. I should qualify that I'm talking about 32-bit PNGs. 256 colour PNGs could well be different. __ css-discuss [EMAIL PROTECTED] http://www.css

Re: [css-d] PNG24 - AlphaImageLoader - Feed gif to IE5 - Will thisCSSapproach work?

2006-01-02 Thread Rowan @ Jetboy
What would be the best way to target IE/Mac? Maybe I should still use the html>body filter? IE5 on the Mac supports PNG transparency, so you shouldn't need to do anything special. If you start to get ambitious with IE5 Mac it can be a bit quirky though. Check out http://www.webmasterworld.com/foru

Re: [css-d] PNG24 - AlphaImageLoader - Feed gif to IE5 - Will this CSSapproach work?

2006-01-02 Thread Rowan @ Jetboy
I'd skip the hacks if I were you. In your main stylesheet, have: #logoContainer { background: transparent url(../img/template/logo.png) no-repeat scroll 0 0; width: 832px; height: 396px; margin: 0 auto; } Add this to to of your page after your main stylesheet impo

Re: [css-d] Negative margins in IE

2005-12-22 Thread Rowan @ Jetboy
On the containing div, try either: position: relative; and/or: height: 0; The latter to give the layout (as in hasLayout). I had to use both to drag s out of s with negative margins, but it may be different in your circumstances. I'd strongly suggest you put at least the height declaration in

Re: [css-d] Bullet Shenanigans in IE

2005-12-01 Thread Rowan @ Jetboy
Try dimensioning the - either width: 100%; or something like height: 0; in a conditional comment. This is yet another one of those IE bugs associated with the hasLayout property. I have a very curious issue happening. I think it's a browser error but I wonder if anyone can think of a way to pr

[css-d] [Off list] RE: Floating divs-problem

2005-11-17 Thread Rowan @ Jetboy
This adds up to 617px. Still, on IE6 the right column falls down underneath it all as if it doesn't fit in the container div. Looks right in FF though. If you put display: inline; onto #main it'll fix IE's doubling of the left margin. IE doubles included margins on floats. Maybe your hacks get

[css-d] Horizontally centred inline list

2005-10-21 Thread Rowan @ Jetboy
Is it possible to horizontally centre an inline list inside a fixed with container,using floats for the list items (not display: inline;) and without knowing the width of the list? __ css-discuss [EMAIL PROTECTED] http://www.css-d

RE: [css-d] Order of Divs: Links or Content First, and How to Implement?

2005-09-28 Thread Rowan @ Jetboy
For accessibility, order isn't really a big issue as long as you provide a clearly labelled 'skip navigation' link if the nav is first, or a 'skip to navigation' link if the nav is after the content. List member Jim Thatcher has a nice article here: http://www.jimthatcher.com/skipnav.htm As for S

RE: [css-d] Forms

2005-09-22 Thread Rowan @ Jetboy
- Title attributes are a tricky thing, and definitely NOT a valid accessibility fallback. Titles explain more than meets the eye (or the ear) on the first encounter - but not all users have title reading enabled or have the patience/aptitude to see the rendered tooltip a title attribute creates.

RE: [css-d] Forms

2005-09-22 Thread Rowan @ Jetboy
No list tags; they'd be used for styling lists. ;) Try , which can be nested; , but use a inside it and style that instead; and . I get better styling mileage using before or after the form control than wrapping it around the control. Floats are definitely useful if you want to avoid adding addi

RE: [css-d] nested li bullet style

2005-08-27 Thread Rowan @ Jetboy
Semantically, the nested list should be contained within the list item that references it: Establish norms that include diverse styles of expression and learning Verbal/non-verbal; cognitive/somatic Multicultural awareness So you just need to cul

RE: [css-d] CSS Height Question

2005-08-23 Thread Rowan @ Jetboy
You've set to 100% height, which is 100% of the viewport. In turn you've set .container to be 100% of its parent (i.e. body). Removing either (or preferably both) will fix things in Mozilla. Presumably these height settings were put in for a reason, maybe to fix another problem? My problem is o

RE: [css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
Looks like I have a solution: // 'em' read by all browsers em { color: #F00; } /* 'a' read by all browsers */ a { color: #0F0; } /* Opera and Moz inherit link styles, IE ignores inherit */ a em { color: inherit; } /* Ignored by Opera, redundant for Moz, gets around inher

[css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
I have some copy where I've semantically emphasised some words: Why does Opera misbehave when Mozilla doesn't? I've made a section of the copy, including a chunk of emphasised text, a link: Why does Opera misbehave when Mozilla doesn't? and I've used the following CSS to style the links: em {

[css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
I have some copy where I've semantically emphasised some words: Why does Opera misbehave when Mozilla doesn't? I've made a section of the copy, including a chunk of emphasised text, a link: Why does Opera misbehave when Mozilla doesn't? and I've used the following CSS to style the links: em {

[css-d] IE floated lists behaviour

2005-08-23 Thread Rowan @ Jetboy
When s are floated left in a floated , each clears previous ones, and the is given a width; the s in IE (5, 5.5 and 6 in quirks and strict) react to the to as if it's exactly half its specified width. All except the first bullet. In the code below, shrinking the width of the will cause the con

RE: [css-d] Navigation problems

2005-07-20 Thread Rowan @ Jetboy
1. Assign a class to the first link than removes the border: link .first { border-left-width: 0; } 2. Try setting line-height to the same value as the height of the containing element. I have a horizontal navigation bar that's giving me a few headaches which I wouldn't mind a poin

RE: [css-d] Filling with an

2005-07-20 Thread Rowan @ Jetboy
li a { display: block; width: 100%; height: 100%; } or change the height and width dimensions to those of your elements. I have a horizontally oriented list of 3 's. In each , I have a specific background image that for the sake of this question, is 100 pixels x 50 pi

RE: [css-d] H1 image replace flicker in IE

2005-06-16 Thread Rowan @ Jetboy
A workaround could be to take the bg-image from the link and move it to the containing h1 block ... Yes. This is the fix. IE has issues only when a background image is used on a link. If IE's 'internet options' are set to 'Check for newer versions of stored pages: Automatically' it can be as inn

RE: [css-d] CSS list numbering - non-contiguous lists in XHTML 1.1

2005-05-24 Thread Rowan @ Jetboy
"Conceptually one doesn't find paragraphs in lists - only list-items. One could argue that something that isn't a list-item within a list should be treated as if it weren't in the list, regards formatting at least." I think you've got it there. Either your paragraph is in fact a list item, albeit

RE: [css-d] Angled text

2005-05-04 Thread Rowan @ Jetboy
I'm looking for the ability to have a line of text, all on the same baseline, but that baseline is at an angle. Everything I have come across so far leads me to believe that images is the only way. Yep, images or Flash, but that doesn't mean you're markup can't be semantically correct. Take a