Greetings from a CSS newbie;
I apologize in advance for violating the prohibition on posting code but 1) I
have no where to put this yet, and 2) it's so trivial I'm hoping you'll allow
it.
Here's my problem. I cannot get even a trivial piece of CSS working on
Firefox. It works as expected on IE6.
It's driving me NUTS!!! I would really appreciate it if someone could point me
in the right direction. I've been searching the documentation, trying mods to
everything I could think of, etc. and haven't gotten anywhere.
I'm working in Ruby on Rails on Win2K.
Here's my View code.
<html>
<head>
<title>CSS Demo</title>
<%= stylesheet_link_tag 'listdemo', :media => 'all' %>
</head>
<body>
<h3>Three line list</h3>
<div class = "Listline1">
First line will be one color
</div>
<div class = "Listline0">
Second line will be different color
</div>
<div class = "Listline1">
Third line will be the same color as the first
</div>
</body>
</html>
Here's the Controller:
class ListdemoController < ApplicationController
def index
end
end
Here's the stylesheet:
.Listline0 {
background: ffffff;
}
.Listline1 {
background: ffcccc;
}
I've gotta believe that I'm just missing some small but key piece of
information. I would really appreciate any help you could provide.
Thanks in advance,
Bill
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/