Hi,
Is there a recommended way to do in-frame navigation with CSS (replacement
for frameset)? Currently I am implementing that by toggling divs 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
(1) what about the problem recommends frameset as a solution in the first
place? (not a skeptical question here, just askin'...) And (2), have you
considered iframes?
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
(1) what about the problem recommends frameset as a solution in the
first
place? (not a skeptical question here, just askin'...) And (2), have you
considered iframes?
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
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 frameset is not considered a misuse of
presentation tag inside HTML? (If so, I'll just keep consientiously using
frameset.)
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 content
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 with
[snip] There are prettier ways to do it
too, if you're worried about your source looking nice. One way that I use
is:
lia href=#Foo/a/li!--
--lia href=#Bar/a/li
That's neat. Could you advise why this comment trick work, and how widely
does it work across browsers?
Thanks,
Chris
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
Hi,
I have two divs at the top of the page, one for banner, one for links. I
want to have a third div at bottom that has its height no more than the
rest of the vertical space, i.e., when the content in the third div
overflows vertically, the div will show a vertical scrollbar for the user
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 text,
I just realized I only need one level of div 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.
To
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 ul +
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
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 On Mar 2, 2007, at 11:20 AM, Chris
Chen wrote: Hi, How do I use
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
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:
body background=/images/wttcbanner.gif
(2) It doesn't work (shows nothing) if I specify it via the background-image
CSS property. For example:
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
background-image
CSS property.
That sounds strange indeed, if you have _exactly_ the same URL
Hi,
I found that breaking up child elements of div with any white space would
cause an extra gap between them in IE7. For example:
div
span class=span_linka href=http://www.msn.com;
Hello/a/span
span class=span_linka href=http://www.msn.com;
Hello/a/span
Hi,
I can't seem to be able to style a inside span to make it centered
*vertically* inside span.
span class=span_linka href=http://www.msn.com; Hello/a/span
Is there a general CSS solution for this (other than position:
relative/absolute) that works on other elements as well?
Thanks,
I can't seem to be able to style a inside span to make it centered
*vertically* inside span.
span class=span_linka href=http://www.msn.com; Hello/a/span
Is there a general CSS solution for this (other than position:
relative/absolute) that works on other elements as well?
Some more bits
[...]
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
Hi, How do I use CSS to achieve the same results as the rowspan and colspan
properties in table? 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
22 matches
Mail list logo