-1

This wiki I'm using (Google Sites) does not support linking of style sheets or even tags in its HTML mode (It sucks, I know). The only way to specify styles is to define them inline.

I need to put a menu bar now. I've figured out a pure css menubar, but I'm having trouble defining the hover class inline. Any ideas?

akula1001
  • 4,576
  • 12
  • 43
  • 56
  • 1
    Why are you using Google sites? If you're savvy enough to be writing HTML/CSS but too cheap to pay for hosting... there are still plenty of better free alternatives, no? – mpen Nov 17 '10 at 05:15

1 Answers1

0

Pseudo-class attributes are not well supported for inline styles, but you can use Javascript, such as

<a href="page.html" style="color: red;" onmouseover="this.style.color = 'blue'" onmouseout="this.style.color = 'red'">Link</a>
Nick Pyett
  • 3,338
  • 1
  • 23
  • 27
  • No, Google Sites does not support this either. – akula1001 Jul 21 '10 at 05:02
  • It doesn't support JavaScript? The only way it can *not* support it is if it goes out of its way to *strip it out*. Its your browser that needs to parse this, not Google Sites. – mpen Nov 17 '10 at 05:14