search for: stylesheets

Displaying 20 results from an estimated 699 matches for "stylesheets".

Did you mean: stylesheet
2006 Aug 11
6
css - location of files.
Hi all. I have the following scenario. http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %> to define the stylesheet for layout, I have myapp_standard.css in /public/stylesheets and it works fine. However, in the stylesheet I define a image to use for my site background. eg: html, body{ background-image: url(mysite_background.jpg); padding-top: 10px; } It is not working - I tried placing the images in /public/images and publiv/images/mysite - no luck..... Can I ru...
2006 Jun 22
4
stylesheet linking and layouts
...eet defined in the opening line such as: <%= stylesheet_link_tag "view_posts", :media => "all" %> <div id="left-column"> blah, blah, blah </div> The layout has the appropriate stylesheet for common layout features. The actions each have their own stylesheets so that the main stylesheet isn''t 2000 lines long. :) Now, the problem is that when I include a stylesheet link tag in the top of my action view, essentially that css definition is in a div tag on the overall page. The validator gives me a warning about this, but it does work. I'...
2006 Feb 16
3
Retrieve a property defined in a css
Hi all, I have a property, defined in an external stylesheet: .my_class { background-color: #FF0000; } I want to retrieve the value of this background-color of the class my_class. How can I do that with prototype/scriptaculous ? Thanks in advance, Nicolas Terray
2007 Jan 24
2
A spec where interaction-based testing breaks down... (at least for now)
Here are the specs: context "Finding all the stylesheets available to a company" do setup do @mock_company = mock("company") @mock_company.stub!(:to_param).and_return "1" Stylesheet.stub!(:find) end def do_find Stylesheet.find_available_to @mock_company end specify "should convert the company into...
2006 Jan 03
1
RequireResourceHelper for JS and CSS
...n now assume that this HTML will be present in the layout: <script src="/javascripts/welcome.js" type="text/javascript"></script> <script src="/javascripts/welcome_index.js" type="text/javascript"></ script> <link href="/stylesheets/welcome.css" media="screen" rel="Stylesheet" type="text/css" /> <link href="/stylesheets/welcome_index.css" media="screen" rel="Stylesheet" type="text/css" /> If the files don''t exist, the above HTML...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
libswfdec/swfdec_as_internal.h | 4 libswfdec/swfdec_as_object.c | 25 libswfdec/swfdec_html_parser.c | 6 libswfdec/swfdec_initialize.as | 7 libswfdec/swfdec_initialize.h | 920 +++++++++++++++---------------- libswfdec/swfdec_style_sheet.c | 71 ++ libswfdec/swfdec_style_sheet.h | 8
2008 Mar 18
5
stylesheet link causing routing error
Hi - I think this is a simple 2.0 conversion issue. In my application layout, I have a simple stylesheet link tag: <%= stylesheet_link_tag ''application'' %> In my public/stylesheets directory, I have application.css When my pages are rendered, I get: <h1>Routing Error</h1> 27<p><pre>No route matches "/stylesheets/application.css" with {:method=>:get}</pre></p> What am I doing wrong? Thanks, Dinohanks, Dino --~--~---------~-...
2006 Aug 18
2
Including CSS from a stylesheet file in a an e-mail
How can I include the contents of the file /public/stylesheets/print.css in an RHTML page for ActionMailer? Because there is no controller or session, none of the usual tricks work. Do you have to use basic file IO or there some convenience method I haven''t seen? Thanks Ashley -- "If you do it the stupid way, you will have to do it again&...
2007 Dec 09
5
Browserized Styles Plugin
...the end. === Installation === script/plugin install http://svn.intridea.com/svn/public/browserized_styles === Example === Let''s say I have some complex CSS code that looks bad in some browsers, but works in others. Let''s also say that i''ve put it into a stylesheet in stylesheets/complex.css. My stylesheet link tag looks something like this: <%= stylesheet_link_tag ''complex'' %> Now all I have to do to target a browser is create a new CSS file with the browser''s identifier appended to it with an underscore (e.g. "complex_ie6.css"...
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts, I am in the process of switching servers for my application. Before the move everything was working properly. After the move <%= stylesheet_link_tag ''/stylesheets/styles.css'' %> generates <link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" /> Before the move it was generating the right code: <link href="/stylesheets/styles.css" media=&...
2005 Dec 27
8
XML Not Working in Explorer 6
I''m playing with XML using Builder but seem to be having some trouble in Explorer 6. My sample code: xml = Builder::XmlMarkup.new xml.instruct! xml.instruct! ''xml-stylesheet'', :href=>''/stylesheets/style-xml.css'', :type=>''text/css'' xml.declare! ''DOCTYPE'', :html, :PUBLIC, "-//W3C//DTD XHTML 1.0 Transitional//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" xml.html ( :xmlns=>"http://www.w3.org/19...
2006 Mar 07
1
Relative stylesheet reference
Problem: The HREF generated by the stylesheet_link_tag is an absolute path. Details: The layout for my view has the following line <%= stylesheet_link_tag ''scaffold'' %> At runtime, this gets translated to <link href="/stylesheets/scaffold.css" ... /> This does not get resolved correctly. The problem is the leading slash. It should be <link href="stylesheets/scaffold.css" .../> How can I coerce this change? Sri -------------- next part -------------- An HTML attachment was scrubbed... URL: h...
2006 Jun 01
10
Stylesheets not being recognized
I am a newbie, but have worked through 4 or 5 tutorials. I am using InstantRails. The problem is that I cannot determine how the style is being included. I have modified the stylesheet from /public/stylesheets/, even removed it. All to no avail. The inline <style>...</style> code is still being included from somwhere. Where? What am I missing? thanks, steve -- Posted via http://www.ruby-forum.com/.
2006 Feb 28
7
multi-page printing moving on
I have some nice forms done using stylesheets. I currently have them displaying on screen and the user could simply just print. This works when there is only one form (facility) to be viewed/printed. I have created the looping code necessary to print for all facilities but that doesn''t work for me because each page uses stylesheets...
2006 May 23
6
Accessing file in public directory
How do i access a file in the public directory of rails application? I have several html files in there and i want to link them from the rhtml file. Basically to display a popup. Here is the code in foo.rhtml: <a href="javascript:popUp(''/summary.html'')" class="normal">Learn more</a> It doesn''t work. Any idea why? Thanks, Lantis. --
2006 Apr 24
9
A Stylesheet for a database app
Hi to all, I''m a new subscriber of this list and a new user of RoR. I''m looking for a stylesheet to make a simple database app nicer, a css to start working with. I have to do some simple apps and I want them to be the more uniform on the presentation side. I know I can do it for myself, but a nice stylesheet is not so easy to perform for a non-grafic geek like me, and so
2006 May 11
2
pages in /public cant find CSS
...: http://myhost.com/ and now in Apache its below root since docroot has lots of existing stuff: http://myhost.com/auto/ which in apache-land points to my rails public directory. The problem is in the static HTML pages in public. They reference CSS files shared with dynamic rails pages in /stylesheets. Under my WebBrick setup this was OK, but under my new Apache setup they are in /auto/stylesheets, so they are not loaded. Is there a good way to make the stylesheets visible in both environments? This seems like it would be a common problem. Are there best practices for handling this situation? A...
2006 Dec 16
5
trying to add another app
...ate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /javascripts ! #continue with other static files that should be served by apache Alias /images /home/patcito/testapp/public/images Alias /stylesheets /home/patcito/testapp/public/stylesheets Alias /javascripts /home/patcito/testapp/public/javascripts those two files for app2 are simi...
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi, I''ve got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name. -------------------------------------------------------------- I want these files to be precompiled and served from public directory. Thus I...
2006 Jun 07
0
theme stylesheets not being found by typo trunk
Hi all, I have setup an install of trunk typo using trunk/edge rails. It''s all working swimmingly, except that the theme css is not being found and I am hoping someone has an idea (or two). so, the url is /stylesheets/theme/azure.css, the relevant entry in routes.rb is: map.connect ''stylesheets/theme/:filename'', :controller => ''theme'', :action => ''stylesheets'' but it looks like the theme controller is never called. I get a 404 in my browser, the...