hi, <a href="/galleries/1" style="urgent"> has to be <a href="/galleries/1" class="urgent">
(style => class) tom wejrow...@gmail.com wrote: > I used a scaffold to create an interface. I'm trying to style it and > I'm having trouble. In my css I have: > > > #content a, a:link, a:visited{ > color: #ff8400; > } > #content a:hover{ > background: #ff8400; > color: #FFFFFF; > } > > #content a.urgent, a.urgent:link, a.urgent:visited { > color: #FF0000; > } > #content a.urgent:hover { > color: #FFFFFF; > background: #FF0000; > } > > #content input.m_title{ > font-weight: bold; > font-size: 28px; > padding: 3px; > } > > > The style for the links works, but not for the .urgent class. Also the > style for the input.m_title will not work. When I view the source the > class is written right too: > <a href="/galleries/1" style="urgent">Destroy</a> > and <input style="m_title" id="gallery_name" name="gallery[name]" > size="80" type="text" value="Camp 09" /> > -- =============================================================================== Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache - experienced RoR/PHP freelancer, available for hire www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz =============================================================================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---