[css-d] VBScript in a CSS sheet

2008-04-12 Thread Allen J. Bennett
I want to read the user's screen resolution, and adjust the width of images depending on the result. Is this possible? I started this way, but it seems not to be working (even when I did define [as a static number, to start] IconWidth); I have NO idea how, or where, to define it. When I get it w

Re: [css-d] mystery gap in Firefox

2008-04-12 Thread Andrew Gaffney
Philippe Wittenbergh wrote: > On Apr 13, 2008, at 10:35 AM, Andrew Gaffney wrote: >> I'm working on some fixups for a site originally done by somebody >> else. In IE, >> the submenus were appearing off to the right, so I wrapped them in >> another DIV >> with position: relative and set 'left: 0

Re: [css-d] mystery gap in Firefox

2008-04-12 Thread Philippe Wittenbergh
On Apr 13, 2008, at 10:35 AM, Andrew Gaffney wrote: > I'm working on some fixups for a site originally done by somebody > else. In IE, > the submenus were appearing off to the right, so I wrapped them in > another DIV > with position: relative and set 'left: 0; top: 40px' (40 being the > hei

[css-d] mystery gap in Firefox

2008-04-12 Thread Andrew Gaffney
I'm working on some fixups for a site originally done by somebody else. In IE, the submenus were appearing off to the right, so I wrapped them in another DIV with position: relative and set 'left: 0; top: 40px' (40 being the height of the image that the submenu appears from) on the submenu. Thi

Re: [css-d] when are 2 external css called for?

2008-04-12 Thread tedd
At 9:53 PM -0400 4/11/08, Kepler Gelotte wrote: > > I get the idea of different names of styles, but the actual >> implementation I'm not so sure of how to do. > >Hi John, > >I created two example test pages (home.html, about.html) to illustrate the >technique: > >http://www.neighborwebmaster.co

[css-d] Building a completely CSS, based, dropdown menu

2008-04-12 Thread Chris Case
Hey Everyone, I've been building a drop-down menu system for a client. So-far the menu is getting close to acceptable in Firefox 2.0 and Safari, but it looks horrible in IE6. Does anyone have any tips off-hand for making things work a little more smoothly in IE6? *You can see the dev version of

Re: [css-d] inside results in smaller computed font-size in FF

2008-04-12 Thread Felix Miata
On 2008/04/12 16:46 (GMT+0300) Pentasis apparently typed: > Everything is fine and it looks the same in IE, FF, Safari and Opera. > However, when I remove the font-family from the selector, Firefox > reduces the font size to a computed value of 11.4px NAICT, Opera & IE match each other, but b

Re: [css-d] inside results in smaller computed font-size in FF

2008-04-12 Thread Benjamin White
On Sat, Apr 12, 2008 at 8:46 AM, Pentasis <[EMAIL PROTECTED]> wrote: > Can anyone tell me why this happens? > > The HTML looks like this: > > > some text > > > If the CSS is like: > > body { > font-size: 0.875em; /* computes to 14px */ > line-height: 1.5em; > } Hah! I was deal

Re: [css-d] Centering image h/v in *smaller* div

2008-04-12 Thread Martin Sammtleben
At 16:40 -0500 11/4/08, Benjamin White wrote: >1.) Could you not just render these particular links as block >elements, either by floating them or explicitly declaring display: >block and then setting the background to whatever image you need? >Ideally you would then use the alternate text as the l

Re: [css-d] inside results in smaller computed font-size in FF

2008-04-12 Thread Alan Gresley
Pentasis wrote: > Can anyone tell me why this happens? > > The HTML looks like this: > > > some text > > > If the CSS is like: > > body { > font-size: 0.875em; /* computes to 14px */ > line-height: 1.5em; > } > > pre { > font-family: Consolas, "Courier New", Courier, monospac

Re: [css-d] what is with IE7 (was Navigation bar)

2008-04-12 Thread Alan Gresley
Andrew Doades wrote: > > > Alan Gresley wrote: [snip] > Sorry for the top post, I forget people don't like that! :-[ > > I have just been reading on IE8 and looks like most of the problems if > IE7 will hopefully be fixed. (lets hope) > > But I the one thing I can't find anywhere, is why do IE

Re: [css-d] what is with IE7 (was Navigation bar)

2008-04-12 Thread Alan Gresley
Andrew Doades wrote: > Hello all... > > I could not help picking up o a bit about IE7, I recently attempted a > sidebar for my website, and all now works (to some extent) but for IE7. > > I was just wondering what is with IE7, IE6 used to be fine, it always > worked, same with FF but why is 7 c

Re: [css-d] what is with IE7 (was Navigation bar)

2008-04-12 Thread Andrew Doades
Alan Gresley wrote: > Andrew Doades wrote: >> Hello all... >> >> I could not help picking up o a bit about IE7, I recently attempted a >> sidebar for my website, and all now works (to some extent) but for IE7. >> >> I was just wondering what is with IE7, IE6 used to be fine, it always >> worked

[css-d] inside results in smaller computed font-size in FF

2008-04-12 Thread Pentasis
Can anyone tell me why this happens? The HTML looks like this: some text If the CSS is like: body { font-size: 0.875em; /* computes to 14px */ line-height: 1.5em; } pre { font-family: Consolas, "Courier New", Courier, monospace; white-space: pre; white-space: -moz-pre

Re: [css-d] Navigation bar

2008-04-12 Thread Alan K Baker
Alan. As there are a few issues here and interaction will be improved (IMO) I am replying to your message, by interspersing my replies within yours. Regards, Alan. www.theatreorgans.co.uk www.virtualtheatreorgans.com Admin: ConnArtistes, UKShopsmiths, 2nd Touch & A-P groups Shopsmith 520 +

Re: [css-d] Navigation bar

2008-04-12 Thread Andrew Doades
I do see what you are saying, but since I went to IE7 I have had no end of problem why trying to develop, also a pain was moving to IE7 from IE6 when developing :) But why do IE and FF seem to have a constant fighting battle for developers? This is what I can't get, I can develop something that

Re: [css-d] Navigation bar

2008-04-12 Thread Alan K Baker
Andrew. In the case of my [ :active ] problem, I believe that none of the browsers is actually at fault, and IE7 does actually do what I want and behaves in a way I'd logically expect, which is probably quite unusual for IE7. :-) It's simply a minor discrepancy in implementation between browsers

Re: [css-d] Special how-to request

2008-04-12 Thread David Laakso
Alan Gresley wrote: > > Browser reports on what I did see...trimmed] > > Re: Clear the cache. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- htt

Re: [css-d] Navigation bar

2008-04-12 Thread Andrew Doades
Hello all... I could not help picking up o a bit about IE7, I recently attempted a sidebar for my website, and all now works (to some extent) but for IE7. I was just wondering what is with IE7, IE6 used to be fine, it always worked, same with FF but why is 7 casing so many problems? Andrew Al

Re: [css-d] Navigation bar

2008-04-12 Thread Alan Gresley
Alan K Baker wrote: > Hi all. > > I'm in the process of converting an old frames/tables/JavaScript site to all > CSS. There many billions of pages needing the same treatment. Please take a look at this screen shot. The forth line down run 5

Re: [css-d] Special how-to request

2008-04-12 Thread Alan Gresley
Keith Kaiser wrote: > On Apr 11, 2008, at 3:42 PM, David Laakso wrote: >> Add this to your rt.css style sheet to position the alert (changing >> it from the locked inline absolute positioning it had, to a float >> called from the CSS makes it easier to position and maintain). >> Overflow:hidde