Re: [css-d] how to select an element that does not contain an attrbite

2008-05-28 Thread David Hucklesby
On Wed, 28 May 2008 20:17:32 -0300, Mansour wrote: > I am wondering if there's a way to select an element that does not have the > specified > attribute set? > For example, let's say I need to format all the H1 elements except one that > has style > attribute set. How do I do this ? > Not direct

Re: [css-d] relative positioning

2008-05-28 Thread Gabriele Romanato
A thing that people should keep in mind is that position:relative is related to the stack order, not to the hasLayout property. Simply put, an element does _not_ disappear, but is actually covered by the parent/ancestor background. this happens also in other contexts. for example: 1. floats with n

Re: [css-d] relative positioning

2008-05-28 Thread Andy Vaughn
This may help explain some issues people have with IE and relative positioning on floated links: http://positioniseverything.net/explorer/ie-listbug.html Best of luck, Andy Vaughn Breakaway Web Design, LLC http://www.breakawaywd.com/ __

Re: [css-d] how to select an element that does not contain anattrbite

2008-05-28 Thread Geoffrey Hoffman
Yes, inline styles trump (overwrite) rules set for the element, but if you put h1 { color:red; } then your h1 style="stuff-here" will be red, unless the inline style specifies something else for color. My hunch is the original poster wants to prevent that single h1 from being red without having any

Re: [css-d] how to select an element that does not contain anattrbite

2008-05-28 Thread Kepler Gelotte
> If you mean that you want all H1's styled a certain way except for the one > that has a specific style attribute, that is, > style="your-inline-style-definition-here">Headline > then I think what > you mean is that you want the rule not to cascade to that particular H1, > which is basically the

Re: [css-d] how to select an element that does not contain an attrbite

2008-05-28 Thread Geoffrey Hoffman
If you mean that you want all H1's styled a certain way except for the one that has a specific style attribute, that is, Headline then I think what you mean is that you want the rule not to cascade to that particular H1, which is basically the opposite of what CSS was designed to do. Ideally, use

Re: [css-d] how to select an element that does not contain an attrbite

2008-05-28 Thread David Laakso
Mansour wrote: > I am wondering if there's a way to select an element that does not have > the specified attribute set? > For example, let's say I need to format all the H1 elements except one > that has style attribute set. How do I do this ? > Not sure I understand... but, anyway-- let's

[css-d] how to select an element that does not contain an attrbite

2008-05-28 Thread Mansour
I am wondering if there's a way to select an element that does not have the specified attribute set? For example, let's say I need to format all the H1 elements except one that has style attribute set. How do I do this ? __ css-

Re: [css-d] relative positioning

2008-05-28 Thread David Laakso
Rick Pasotto wrote: > Is my understanding correct that putting: > > div#name1 { position: relative; } > > in the css file should have absolutely no effect on ? > > If that is correct, why then does IE6 move the div? Does it make a > difference that the block I'm dealing with is a fieldset? > >

Re: [css-d] relative positioning

2008-05-28 Thread David Jones
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rick Pasotto > Sent: Wednesday, May 28, 2008 10:56 AM > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] relative positioning > > On Wed, May 28, 2008 at 09:44:31PM +0100, Alan K Baker wrote: > >

Re: [css-d] relative positioning

2008-05-28 Thread Rick Pasotto
On Wed, May 28, 2008 at 04:47:41PM -0400, vincent pollard wrote: > why does the element need this positioning? for z-index or something? It's a form and it's the fieldsets that have the positioning. I'm using the techniques shown in http://www.sitepoint.com/article/fancy-form-design-css > 2008/5/

Re: [css-d] relative positioning

2008-05-28 Thread Rick Pasotto
On Wed, May 28, 2008 at 09:44:31PM +0100, Alan K Baker wrote: > According to my books position:relative is to give a point of > reference to any absolute positioned elements inside it. That's always > been my understanding and it's always worked. > > "CSS The Missing Manual" says: Relative - A rel

Re: [css-d] relative positioning

2008-05-28 Thread vincent pollard
why does the element need this positioning? for z-index or something? 2008/5/28 Rick Pasotto <[EMAIL PROTECTED]>: > Is my understanding correct that putting: > > div#name1 { position: relative; } > > in the css file should have absolutely no effect on ? > > If that is correct, why then does IE6 m

Re: [css-d] relative positioning

2008-05-28 Thread Alan K Baker
According to my books position:relative is to give a point of reference to any absolute positioned elements inside it. That's always been my understanding and it's always worked. "CSS The Missing Manual" says: Relative - A relatively placed element is placed relative to its current position in

[css-d] relative positioning

2008-05-28 Thread Rick Pasotto
Is my understanding correct that putting: div#name1 { position: relative; } in the css file should have absolutely no effect on ? If that is correct, why then does IE6 move the div? Does it make a difference that the block I'm dealing with is a fieldset? -- "He who asks is a fool for five minu

Re: [css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread vincent pollard
hey Ingo, thanks for that. it totally works. actually *behavior: url('/iepngfix.htc');* worked but we weren't seeing it work on local machines. on the testing server it worked! 2008/5/28 Ingo Chao <[EMAIL PROTECTED]>: > vincent pollard wrote: > >> ... it seems that the .htc file only works if in

[css-d] form problem in IE6

2008-05-28 Thread Bob Schwartz
If you go to http://www.bobstestplace.com/aahid/ using Safari on the Mac and click on either of the drop down form menus in the right column you will see the option list open below the form menu select in a window that is wide enough to view the entire name of each option. This seems to be de

Re: [css-d] "Perfect 3 column liquid layout" (Matthew James Taylor) and Quirks Mode

2008-05-28 Thread Gunlaug Sørtun
Melbeach wrote: > http://matthewjamestaylor.com/blog/ultimate-2-column-left-menu-ems.htm. > You can save this page's source and open it in Notepad. I prefer to save it "complete" in Opera and open it for modifications in a full-blown web editor, but that's another matter. > Delete the top line:

Re: [css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread Ingo Chao
vincent pollard wrote: > ... it seems that the .htc file only works if in the same folder as the HTML > file and the path is relative to that, not relative to the stylesheet as > expected. > > can anyone shed some light on this? Yes, the path is relative to the html file. You can use an absolute

Re: [css-d] "Perfect 3 column liquid layout" (Matthew James Taylor) and Quirks Mode

2008-05-28 Thread Melbeach
Thanks for the help. Please accept my humble apologies, I referenced the wrong layout. It's actually this 2-column layout that seems to require Quirks mode: http://matthewjamestaylor.com/blog/ultimate-2-column-left-menu-ems.htm. You can save this page's source and open it in Notepad. Delete the top

Re: [css-d] "Perfect 3 column liquid layout" (Matthew James Taylor) and Quirks Mode

2008-05-28 Thread David Laakso
Melbeach wrote: > First post here. Thanks for the great resource! > > > > I've been experimenting with the different 3-column layout methods and I think > I like this version the best: > http://matthewjamestaylor.com/blog/perfect-3-column.htm. However, it seems > that the layout only works in IE6 i

Re: [css-d] "Perfect 3 column liquid layout" (Matthew James Taylor) and Quirks Mode

2008-05-28 Thread Gunlaug Sørtun
Melbeach wrote: > I've been experimenting with the different 3-column layout methods and I think > I like this version the best: > http://matthewjamestaylor.com/blog/perfect-3-column.htm. However, it seems > that the layout only works in IE6 if I send the browser into Quirks Mode by > beginning th

[css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread vincent pollard
good afternoon (in this time zone anyway)! we're using the behavior property in a style sheet to call an .htc file (to make png transparent in IE6). it works fine if the .htc file is copied into every folder and the style is like this: .pngfix { behavior: url('iepngfix.htc'); } but it seems that

[css-d] "Perfect 3 column liquid layout" (Matthew James Taylor) and Quirks Mode

2008-05-28 Thread Melbeach
First post here. Thanks for the great resource! I've been experimenting with the different 3-column layout methods and I think I like this version the best: http://matthewjamestaylor.com/blog/perfect-3-column.htm. However, it seems that the layout only works in IE6 if I send the browser into Qui

Re: [css-d] Paged Media -- page-break-(before|after|inside)

2008-05-28 Thread Wellington Fan
> Firefox doesn't support 'page-break-inside: avoid' yet -- not even FF3 ;-( > That's great news! Oh no, wait, the opposite...sigh... Well thanks for the answer, Melinda. I guess for this project I might have to look at generating a PDF...sigh... -- Wellington __

Re: [css-d] Style sheet for printing

2008-05-28 Thread Del Wegener
>> Who (me, IE, or FF) is doing what wrong? How do I fix it? > > You :-). And IE of course. > > In the procedure_projection_style.css file you have an error on line 115: > there is a redundant '}'. > (after div#footer {}). Once that is corrected, Gecko and WebKit work as > expected. > > Addi

Re: [css-d] The "CSS Filter:Opacity() property & co." question > Carrying coals to Newcastle

2008-05-28 Thread Ingo Chao
Fichot Sébastien wrote: > Hello CSS-D Members ! > I'm looking for a trully working way to use transparency on image and > RGB backgrounds, with superposed links and stuff. Actually, I'm using > a PNG Transparency plugin which brokes hyperlinks... I'm not able to > find a blog post which indic

Re: [css-d] a:hover element in ie6

2008-05-28 Thread Joel Goldstick
Phillip Cavaco wrote: > The cursor:pointer property does work. But the color does not. Since the cursor works, I would check if you have a more specific rule that is overriding the color __ css-discuss [EMAIL PROTECTED] http://www

Re: [css-d] a:hover element in ie6

2008-05-28 Thread Ingo Chao
Phillip Cavaco wrote: ... > - simple "a" element with a "span" element in side of it. > - "a" with class "save" > > My CSS: > .save:hover span{ > color:#f00; > cursor:pointer; > } > > I thought in IE6 using a:hover element would work. It does. regarding the bug: a:hover {background-posi

[css-d] a:hover element in ie6

2008-05-28 Thread Phillip Cavaco
Hi everyone. I'm having a problem with our "friend" IE6. My xHTML: - simple "a" element with a "span" element in side of it. - "a" with class "save" My CSS: .save:hover span{ color:#f00; cursor:pointer; } I thought in IE6 using a:hover element would work. I saw something like that on http