On Thu, 11 May 2006 00:44:15 -0700 Jim Moe <jm***************@sohnen-moe.com> wrote:
|
ph**************@ipal.net wrote:
|> |> I also went back to doing tables in HTML just for IE. So
|> |> I'd like to know if this works in IE.
|> |>
|> | No, of course not. IE only applies :hover to the <a> element.
|> | IE ignores "border-spacing" so a "cellspacing" is required on the table.
|>
|> So basically I really have to decide between going with web standards, or
|> making things work reasonably well on what is still the most common browser.
|> At least I can use more CSS since the basics of CSS work. But I still have
|> to use a lot of HTML that I should otherwise not need to use.
|>
| Not so much, really. Stick mostly to CSS v1, you'll do okay. In 3 - 5
| years, when IE6 becomes irrelevant, you can start using CSS2 extensively.
| By then CSS3 will be a standard and we'll only have to wait another 7
| years for MS to catch up.
|>
|> |> It would be nice if I could get the letters to move up further so they are
|> |> positioned where the top edge of the letters is lined up with the top edge
|> |> of the numbers.
|> |>
| [Code deleted]
|>
|> The letters went higher than the numbers. Some other combination (floats)
|> ended up with the same thing. The top of the box for each letter is now at
|> the top of the container box. But since there is more space above the
|> numbers because they are larger, they end up being lower.
|>
| I cannot tell if you tried the code I listed. What would floating
| achieve for vertical position?
I tried float in my initial trials with that. I tried you code with the
CSS in effect for all and the HTML for one button and it had the same
effect.
| It depends on the font. With one font the letters were below the
| numbers. Other fonts the letters were above. In one font where there are
| lowercase numbers, the letters were both above and below.
The fonts could be an issue. There's a box around each glyph, offset from
the glyph itself, which is more tall than wide. I read about a way to make
all the baselines be aligned. Need something like that for the topline, as
well as in other cases a middle line.
--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------