Topic: Multiple CSS

Hello..
I am making a web application in ROR.
In the App\views\layouts I give the link to CSS which i will be storing in Public\stylesheets. My problem is how should i apply more than 1 CSS if i want to use them in my application

This is the normal code in layouts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Servers: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>

Re: Multiple CSS

Hi,

By more than one CSS, I assume you mean more than one stylesheet? In this case try:

<%= stylesheet_link_tag 'style', 'theme' %>

Re: Multiple CSS

thanks!