Re: [WSG] help with menu positioning

2008-05-16 Thread Gunlaug Sørtun
tee wrote: Tell me, what do you like for Christmas gift ? An internet-connection that is extremely fast and works all the time ;-) (Maybe I'll get one before Christmas, but I'm not holding my breath.) Georg -- http://www.gunlaug.no

[WSG] help with menu positioning

2008-05-13 Thread tee
My brain isn't working. I thought I have the answer but it's not working :-( http://lotusseedsdesign.com/menu.html start from the second menu, the hover goes off , but actually the position for the hover state is correct. I do not understand why the link's position-x got it wrong starts

Re: [WSG] help with menu positioning

2008-05-13 Thread Gunlaug Sørtun
tee wrote: My brain isn't working. I thought I have the answer but it's not working :-( http://lotusseedsdesign.com/menu.html Missing base-position... #menu li a {background-position: left top;} Georg -- http://www.gunlaug.no

Re: [WSG] help with menu positioning

2008-05-13 Thread tee
On May 13, 2008, at 7:39 AM, Gunlaug Sørtun wrote: tee wrote: My brain isn't working. I thought I have the answer but it's not working :-( http://lotusseedsdesign.com/menu.html Missing base-position... #menu li a {background-position: left top;} Georg Georg, thanks for the

Re: [WSG] Help with menu

2005-11-15 Thread Joseph R. B. Taylor
As a reminder, at this point you cannot safely apply widths to any elements that have a border, padding or a margin. In the case you need to apply width adn one of the others mentioned, safest best is to insert a nested div/span with the padding applied etc to break it up. This has long

Re: [WSG] Help with menu

2005-11-15 Thread James O'Neill
Joseph: Interesting. Do you have something that I can reference for this? Thierry: I will take a look at that tonight. Thanks guys!On 11/15/05, Joseph R. B. Taylor [EMAIL PROTECTED] wrote: As a reminder, at this point you cannot safely apply widths to any elements that have a border, padding or

Re: [WSG] Help with menu

2005-11-15 Thread Joseph R. B. Taylor
I'm not sure...about a physical reference but here's an example: http://sitesbyjoe.com/box_examples.htm It seems to work flawlessly, and its simplicity makes me feel good about using this approach. It also frees me from having to stick hacks in to try and please the browsers. Joe Taylor

Re: [WSG] Help with menu

2005-11-15 Thread The Visual Process
I'm confused at your suggestion, why add extra markup when you just need to use the box model hack in the css http://tantek.com/CSS/Examples/boxmodelhack.html Joseph R. B. Taylor wrote: I'm not sure...about a physical reference but here's an example: http://sitesbyjoe.com/box_examples.htm

Re: [WSG] Help with menu

2005-11-15 Thread josh
; border:1px solid #00; background-color:#FF; } - Original Message - From: Joseph R. B. Taylor To: wsg@webstandardsgroup.org Sent: Tue, 15 Nov 2005 10:05:24 -0500 Subject: Re: [WSG] Help with menu I'm not sure...about a physical reference but here's an example: http

Re: [WSG] Help with menu

2005-11-15 Thread Charlie Bartlett
Because it is a hack, I tend to use the same technique as Joesph, I think its best to avoid hacks wherever possible. Charlie http://www.bartlettdesign.co.uk On 11/15/05, The Visual Process [EMAIL PROTECTED] wrote: I'm confused at your suggestion, why add extra markup when you just needto use the

Re: [WSG] Help with menu

2005-11-15 Thread The Visual Process
Hmmm I disagree, with the hack you can change it from the one css file in the future, with your method you add unnecessary markup to the xhtml. I'd rather use a hack than have bloated markup. (Although these days I use the conditional comment to separate out style sheets when needed which

Re: [WSG] Help with menu

2005-11-15 Thread Joseph R. B. Taylor
The elaborate on Charlie's statement, the hacks will at some point bite us on the rear end. There's a huge possibility we'll be going back and re-fixing those fixes. I'm too lazy to put myself in that position, which is why I chose this profession in the first place. Joe Taylor

Re: [WSG] Help with menu

2005-11-15 Thread Thierry Koblentz
Charlie Bartlett wrote: Because it is a hack, I tend to use the same technique as Joesph, I think its best to avoid hacks wherever possible. But using an extra DIV like this is also a hack. And not better IMO, since it mixes structure and presentation. My approach is to *not* mix dimensions

Re: [WSG] Help with menu

2005-11-15 Thread Charlie Bartlett
The reason I use this technique rather that the box model hack, is because we cannot guarantee that the box model hack will work in future browsers, I know its probably not going to be a big deal to fix it, knocking out a couple of lines of css shouldn't take long, but I prefer not to have clients

Re: [WSG] Help with menu

2005-11-15 Thread Thierry Koblentz
Charlie Bartlett wrote: The reason I use this technique rather that the box model hack, is because we cannot guarantee that the box model hack will work in future browsers, I know its probably not going to be a big deal to fix it, knocking out a couple of lines of css shouldn't take long, but

Re: [WSG] Help with menu

2005-11-15 Thread Tom Livingston
On Nov 15, 2005, at 12:20 PM, Thierry Koblentz wrote: It is a matter of moving down the padding declaration. This is essentially the same as adding the extra div. div pfoo/p /div Apply the padding to the p instead of hacking the div. It's the same difference. Right Thierry? ;-)

Re: [WSG] Help with menu

2005-11-15 Thread Thierry Koblentz
Tom Livingston wrote: This is essentially the same as adding the extra div. div pfoo/p /div Apply the padding to the p instead of hacking the div. It's the same difference. Right Thierry? ;-) Exactly! It's about constructing the box, not fixing it ;-) Thierry |

[WSG] Help with menu

2005-11-14 Thread James O'Neill
I am having problems with a menu that is similar to the Alistapart's hybrid menu. I can not get the width to be consistantly even with the rest of the site and it is not workig in IE or Opera. It works fine in Firebird. I have been beating my head against this for quite a long time. It seems

Re: [WSG] Help with menu

2005-11-14 Thread Thierry Koblentz
James O'Neill wrote: I am having problems with a menu that is similar to the Alistapart's hybrid menu. I can not get the width to be consistantly even with the rest of the site and it is not workig in IE or Opera. It works fine in Firebird. I have been beating my head against this for quite a