Re: [css-d] In-frame navigation with CSS

2007-03-06 Thread Chris Chen
>Sounds like you want to replace a perfectly good browser-feature with >something that's doesn't work half as well, but that's not my problem. So, in the new CSS era, using is not considered a misuse of presentation tag inside HTML? (If so, I'll just keep consientiously using .) Thanks, Chris

Re: [css-d] In-frame navigation with CSS

2007-03-06 Thread Chris Chen
>(1) what about the problem recommends as a solution in the first >place? (not a skeptical question here, just askin'...) And (2), have you >considered s? > >Do you have a demo we could look at? It's a simple website: http://www.formosagolfclub.com Basically I don't want the user ever having

Re: [css-d] In-frame navigation with CSS

2007-03-06 Thread Chris Chen
>(1) what about the problem recommends as a solution in the first >place? (not a skeptical question here, just askin'...) And (2), have you >considered s? > >Do you have a demo we could look at? It's a simple website: http://www.formosagolfclub.com Basically I don't want the user ever having

[css-d] In-frame navigation with CSS

2007-03-06 Thread Chris Chen
Hi, Is there a recommended way to do in-frame navigation with CSS (replacement for )? Currently I am implementing that by toggling s between "display: block" and "display: none". Two annoying things are: (1) This looks like an ugly hack to me. Objection? (2) Ideally the menu list should be do

[css-d] Overflown

2007-03-05 Thread Chris Chen
Hi, I have two s at the top of the page, one for banner, one for links. I want to have a third at bottom that has its height no more than the rest of the vertical space, i.e., when the content in the third overflows vertically, the will show a vertical scrollbar for the user to access the

Re: [css-d] What's the proper way to vertically center an elementwithin its parent?

2007-03-05 Thread Chris Chen
It should work in all browsers. As for how it works, you know how if you have something like: Foo Bar in your HTML, it will render as Foo Bar, and not FooBar? It reduces multiple spaces, tabs, linebreaks, etc down to one space. IE is doing that with the linebreak and any indentatio

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-05 Thread Chris Chen
[snip] There are prettier ways to do it too, if you're worried about your source looking nice. One way that I use is: FooBar That's neat. Could you advise why this comment trick work, and how widely does it work across browsers? Thanks, Chris __

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-05 Thread Chris Chen
>There's nothing ugly at all about making anchors display as blocks. >Changing an element's display type is no worse than changing its font >or borders. Remember, (x)HTML is for describing the content, and CSS >is for presenting it. If it's a link, it should be marked up as a >link, not as a div

Re: [css-d] Language switching

2007-03-05 Thread Chris Chen
>This is a functionality or content issue and not in the realm of CSS. The >main problems is how to organize the site maintenance so that changes will >be made in a coordinated manner. > >However, if you use the same markup and the same style sheet, basically >intending to modify the textual conten

[css-d] Language switching

2007-03-04 Thread Chris Chen
Hi, I am help maintain a website that needs to support switching between English and Chinese languages (preferrably just by clicking on a button/link). Does CSS prescribe a recommended way to do such language switching? Thanks, Pai-Hung ___

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-04 Thread Chris Chen
The modern way to do this, since a menu (even a horizontal one) is just a list of links, is to use the UL element as the wrapper. The anchors then go in the LI elements within. See for example the Listamatic site at http://css.maxdesign.com.au/listamatic/ COOL! I am happily switching + inline

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-04 Thread Chris Chen
I just realized I only need one level of here to achieve what I want. Chris > > Whatever reason is the span there for? There's nothing you can do with >that > > construction that you can't do with just the link. This is for a horizontal navigation bar centered on the top of the page. > > >

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-04 Thread Chris Chen
> > Whatever reason is the span there for? There's nothing you can do with >that > > construction that you can't do with just the link. This is for a horizontal navigation bar centered on the top of the page. > > >To add to that, if you want to adjust the vertical alignment within a block >of

Re: [css-d] Show background image

2007-03-02 Thread Chris Chen
>[...] > > > > IE7 shows nothing for the background. What am I missing? > > >A link to the problem page for us to look at, perhaps? This has been resolved -- The CSS is in its own directory and therefore the image path has to begin with ".." instead. Thanks, Chris __

Re: [css-d] What's the proper way to vertically center an elementwithin its parent?

2007-03-02 Thread Chris Chen
>I can't seem to be able to style inside to make it centered >*vertically* inside . > >http://www.msn.com"; >Hello > >Is there a general CSS solution for this (other than "position: >relative/absolute") that works on other elements as well? Some more bits related to this: (1) I tried setting

[css-d] What's the proper way to vertically center an element within its parent?

2007-03-02 Thread Chris Chen
Hi, I can't seem to be able to style inside to make it centered *vertically* inside . http://www.msn.com"; >Hello Is there a general CSS solution for this (other than "position: relative/absolute") that works on other elements as well? Thanks, Chris _

[css-d] Unwanted gap between child elements

2007-03-02 Thread Chris Chen
Hi, I found that breaking up child elements of with any white space would cause an extra gap between them in IE7. For example: http://www.msn.com"; >Hello http://www.msn.com"; >Hello http://www.msn.com"; >Hello If I put the above three 's

Re: [css-d] Issue with background-image in IE7

2007-03-02 Thread Chris Chen
Issue with background-image in IE7 >Date: Fri, 2 Mar 2007 23:13:12 +0200 (EET) > >On Fri, 2 Mar 2007, Chris Chen wrote: > > > (1) It works fine if I specify it via the background HTML attribute. >- - > > (2) It doesn't work (shows nothing) if I specify it via the >ba

[css-d] Issue with background-image in IE7

2007-03-02 Thread Chris Chen
Hi, I can't get it working for practically any elements in IE7: (1) It works fine if I specify it via the background HTML attribute. For example: (2) It doesn't work (shows nothing) if I specify it via the background-image CSS property. For example: body { background-image: url(/images/

[css-d] Show background image

2007-03-02 Thread Chris Chen
Hi, I am unable to show a background image for any element in IE7. For example: (wttcbanner.gif is in the same directory as the HTML file.) body{background-image: url(wttcbanner.gif);} IE7 shows nothing for the background. What am I missing? Thanks, Chris __

Re: [css-d] CSS equivalents of "rowspan" / "colspan"

2007-03-02 Thread Chris Chen
I see. Thanks for the clarification. Chris > From: [EMAIL PROTECTED]> Date: Fri, 2 Mar 2007 14:37:03 +0900> To: [EMAIL > PROTECTED]> CC: css-d@lists.css-discuss.org> Subject: Re: [css-d] CSS > equivalents of "rowspan" / "colspan"> > >

[css-d] CSS equivalents of "rowspan" / "colspan"

2007-03-01 Thread Chris Chen
Hi, How do I use CSS to achieve the same results as the "rowspan" and "colspan" properties in ? I can't seem to find the equivalents in CSS. Are they supported at all? By the way, I am using Windows Live Mail Beta as the email client, but I haven't figured out how to explicitly tell it to send