[css-d] Float drop problem

2010-08-28 Thread Brian M. Curran
Hello, Does anyone have a minute to look at my problem? I was tinkering with my site this morning, and caused a float drop problem in IE6. What happened was. I was trying to create some white space between my secondary nav and the side of my page. My site is: drafting services . com (remove all s

Re: [css-d] Float drop problem

2010-08-28 Thread David Laakso
Brian M. Curran wrote: I was tinkering with my site this morning, and caused a float drop problem in IE6. What happened was. I was trying to create some white space between my secondary nav and the side of my page. My site is: drafting services . com (remove all spaces). Sincerely, Brian M

Re: [css-d] Float drop problem

2010-08-28 Thread Alan Gresley
Brian M. Curran wrote: Hello, Does anyone have a minute to look at my problem? I was tinkering with my site this morning, and caused a float drop problem in IE6. What happened was. I was trying to create some white space between my secondary nav and the side of my page. My site is: drafting serv

Re: [css-d] Float drop problem

2010-08-28 Thread Alan Gresley
David Laakso wrote: Brian, IE/6.0 doubles the margin-left causing the float to drop. The correction is: * html #navtwocontainer { display : inline; } /* only IE/6.0 sees the star hack */ Best, ~d reference Quite correct. -- Alan http://c

Re: [css-d] Float drop problem

2010-08-28 Thread Brian M. Curran
Brian M. Curran wrote: > I was tinkering with my > site this morning, and caused a float drop problem in IE6. What > happened was. I was trying to create some white space between my > secondary nav and the side of my page. My site is: drafting services . > com (remove all spaces). > > > > Si

Re: [css-d] Float drop problem

2010-08-28 Thread David Laakso
Brian M. Curran wrote: Thank you David!! I normally don't think "bug" when something is going wrong in my desired results. -Brian I think what Alan suggested will work as well and avoids writing a hack. But then if you prefer to retaliate then what Georg Sortun wrote below gives you

[css-d] different colour of an active link/page

2010-08-28 Thread Martin
Hi there, I've been googling for it and a:active doesn't work as I'd like it to. I've got a menu. When I hover over a menu item the colour changes to orange. I'd like it to stay orange as long as I'm on this particular page for visitors to know where they are at the moment. That's my css: =

Re: [css-d] different colour of an active link/page

2010-08-28 Thread David Laakso
Martin wrote: Hi there, I've been googling for it and a:active doesn't work as I'd like it to. I've got a menu. When I hover over a menu item the colour changes to orange. I'd like it to stay orange as long as I'm on this particular page for visitors to know where they are at the moment.

Re: [css-d] different colour of an active link/page

2010-08-28 Thread Martin
On 08/28/2010 02:45 PM, David Laakso wrote: Martin wrote: Hi there, I've been googling for it and a:active doesn't work as I'd like it to. I've got a menu. When I hover over a menu item the colour changes to orange. I'd like it to stay orange as long as I'm on this particular page for visit

Re: [css-d] different colour of an active link/page

2010-08-28 Thread Kevin Rodenhofer
Yeah. a:active doesn't do that. There is, however, a neat trick I found somewhere that will do this for you. First, on each and every page represented in the navigation, you have to give the body tag an id like: or Whatever the page is... Then, in the navigation you need a separate id for

Re: [css-d] different colour of an active link/page

2010-08-28 Thread Brian M. Curran
Martin wrote: > Hi there, > > I've been googling for it and a:active doesn't work as I'd like it to. > > I've got a menu. When I hover over a menu item the colour changes to > orange. I'd like it to stay orange as long as I'm on this particular > page for visitors to know where they are at the m

Re: [css-d] different colour of an active link/page

2010-08-28 Thread Martin
On 08/28/2010 02:57 PM, Kevin Rodenhofer wrote: Yeah. a:active doesn't do that. There is, however, a neat trick I found somewhere that will do this for you. First, on each and every page represented in the navigation, you have to give the body tag an id like: or Whatever the page is...

Re: [css-d] different colour of an active link/page

2010-08-28 Thread Tomasz Kisielewski
Hi On my site i did this: #navigation li a:hover { background-image:url(../images/hoover-btn.png); color:#0af915;} } li#current li a:link, li#current li a:visited { color: #0af915; } You can have a look, hoover changes only background button and text color, afte

Re: [css-d] different colour of an active link/page

2010-08-28 Thread David Hucklesby
On 8/28/10 8:51 AM, Martin wrote: On 08/28/2010 02:45 PM, David Laakso wrote: Martin wrote: Hi there, I've been googling for it and a:active doesn't work as I'd like it to. I've got a menu. When I hover over a menu item the colour changes to orange. I'd like it to stay orange as long as I'm o

[css-d] IE8 collapsing spaces

2010-08-28 Thread Brian M. Curran
Hello, In Firefox my nav bar above and below my bread crumb trail are spaced nicely. In IE8 both navs are sucked against my bread crumb trail. Any suggestions on how to stop IE8 from collapsing that space? Site: www . draftingservices . com (remove spaces). Sincerely, Brian M. Curran | CAD Con

Re: [css-d] IE8 collapsing spaces

2010-08-28 Thread Brian M. Curran
>Brian Curran wrote: >Hello, >In Firefox my nav bar above and below my bread crumb trail are spaced nicely. In IE8 both navs are sucked against my bread crumb trail. Any suggestions on how to stop IE8 from collapsing that space? Site: www . draftingservices . >com (remove spaces). > >Sincerely

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Thierry Koblentz
> > Thank you David!! I normally don't think "bug" when something is > going wrong > > in my desired results. > > > I think what Alan suggested will work as well and avoids writing a > hack. Actually I think there is no need for the selector hack. One can safely style floats with display:inline

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread David Laakso
Thierry Koblentz wrote: Thank you David!! I normally don't think "bug" when something is going wrong in my desired results. I think what Alan suggested will work as well and avoids writing a hack. Actually I think there is no need for the selector hack. One can safely

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Brian M. Curran
Thierry Koblentz wrote: >>> Thank you David!! I normally don't think "bug" when something is >>> >> going wrong >> >>> in my desired results. >>> >> I think what Alan suggested will work as well and avoids writing a >> hack. >> > > Actually I think there is no need for the

[css-d] Using efficient selectors?

2010-08-28 Thread Ville Viklund
Hi! I have a question about efficient selectors. I tried Page Speed extension for Firebug which analyzed use of efficient CSS selectors among lots of other things. Page Speed considered longer(#header ul li a) selectors inefficient and recommended to fix them. Is there a good reason to use

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Thierry Koblentz
> Yes, that's correct. Note Brian has either read your response and > deleted > the * html preceding the selector -- or, he neglected to include * > html > preceding the selector in the first place. And either way, the float > does > not drop. But, on a purely personal note, I would leave the star

Re: [css-d] Using efficient selectors?

2010-08-28 Thread Chris F.A. Johnson
On Sat, 28 Aug 2010, Ville Viklund wrote: I have a question about efficient selectors. I tried Page Speed extension for Firebug which analyzed use of efficient CSS selectors among lots of other things. Page Speed considered longer(#header ul li a) selectors inefficient and recommended to fix t

Re: [css-d] [+] Using efficient selectors?

2010-08-28 Thread Thierry Koblentz
> I have a question about efficient selectors. I tried Page Speed > extension for Firebug which analyzed use of efficient CSS selectors > among lots of other things. > Page Speed considered longer(#header ul li a) selectors inefficient and > recommended to fix them. > > Is there a good reason to u

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread David Laakso
Thierry Koblentz wrote: I'm sorry, but I don't understand your approach. What's your reasoning for using the selector hack? -- Regards, Thierry To remember, not to forget, that "display:inline;" it is only needed by a browser that is on "death row." If that bothers you, delete th

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Thierry Koblentz
> > I'm sorry, but I don't understand your approach. > > What's your reasoning for using the selector hack? > > To remember, not to forget, that "display:inline;" it is only needed > by > a browser that is on "death row." If that bothers you, delete the star > hack preceding the selector. Add a c

Re: [css-d] Using efficient selectors?

2010-08-28 Thread Philip Taylor (Webmaster, Ret'd)
Ville Viklund wrote: Is there a good reason to use this kind of selector "#header ul li a {...", instead of just "#header li a"? Is it considered best practice, or why this is so commonly used? I would venture a guess that it is commonly used because of a fairly widespread misunderstanding o

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Brian M. Curran
Thierry Koblentz wrote: > > I'm sorry, but I don't understand your approach. > What's your reasoning for using the selector hack? > > > -- > Regards, > Thierry > David Laakso wrote: To remember, not to forget, that "display:inline;" it is only needed by a browser that is on "death row." I

Re: [css-d] [+] Re: Float drop problem

2010-08-28 Thread Brian M. Curran
>Thierry Koblentz wrote: > > I'm sorry, but I don't understand your approach. > What's your reasoning for using the selector hack? > > > -- > Regards, > Thierry > David Laakso wrote: To remember, not to forget, that "display:inline;" it is only needed by a browser that is on "death row."