similar to: css image url''s and img problem

Displaying 20 results from an estimated 4000 matches similar to: "css image url''s and img problem"

2007 Nov 18
14
css image url''s and :img problem
Hi, i have this controller class to serve static files. It works well for the stylesheet file under a /static directory, locating it, but the images referenced in the stylesheet do not appear. They are in the same /static folder, next to the stylesheet.css file. link :rel => ''stylesheet'', :href => R(Static, ''stylesheet.css''), :type =>
2008 Jan 09
1
relative_url_root and problems with CSS url()
I''m using relative_url_root to allow my app to be run from a sub- domain. Things work fine except with images that are referenced in my CSS code. For example, background-image: url(/images/bg_image.jpg); does not take into account the value in relative_url_root. Consequently, my background image (and other images similarly referenced in my stylesheet) are not loadable. Anyone know a
2007 Dec 05
2
[Bug 13529] New: swf-mozilla will crash firefox when access www.tudou.com
http://bugs.freedesktop.org/show_bug.cgi?id=13529 Summary: swf-mozilla will crash firefox when access www.tudou.com Product: swfdec Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: plugin AssignedTo: swfdec at
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com. A friend of mine recently expressed interest in this code snippet, so I thought I''d send it out to anyone else who''s interested. This module makes it a lot easier to ''require'' javascript and cascading stylesheet dependencies inside your views or controllers. By
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"
2006 Mar 28
3
AJAX/CSS issue (more UI focused)
All, This isn''t strictly a problem or issue with RoR but I wondered if someone might have some insight. I have a DIV on a page which I am using to "preview" the contents of a URL provided by the user. Basically, when the user clicks on a link, I do an AJAX call to an action which uses Net::HTTP to request the URL in question and then update the DIVs innerHTML attribute
2006 May 23
2
CSS not applied using apache
Hi all, I have recently configured rails to run under apache. I''ve tried adding a stylesheet using the stylesheet_link_tag function, however when I load the page I do not see the affects of the stylesheet. The URL to the stylesheet looks correct when viewing the page''s source. Has anyone else seen this problem? Thanks for your help, Chris -- Posted via
2006 Jul 24
0
problem running Blog using CSS
I am not using latest camping (sudo gem install camping --source code.whytheluckystiff.net) and I''m getting this error executing Blog.run (eval):14:in `initialize'': private method `sub'' called for nil:NilClass (NoMethodError) from (eval):44:in `run'' from /home/mathieu/mv/rf/public/blog.rb:303 -- gcc -O0 -DRUBY_EXPORT -rdynamic
2008 Mar 10
2
Camping is a winner at SXSW-i
Last night, a little Camping application I wrote called MetaNotes<http://www.metanotes.com/>won the Experimental division in the SXSW Web Awards<http://2008.sxsw.com/interactive/web_awards/finalists/> . MetaNotes is a site that lets you (and many other people) simultaneously place colorful post-it notes on a wide canvas. If you get lucky, you may see notes move in the background as
2001 Sep 09
1
[R] bad R.css link in "packages.html" (PR#1090)
I downloaded and installed R-1.3.1 yesterday, and had to change line 2 of the "packages.html" file in $RHOME/doc/html/ The configuration steps were "the usual", tar zxvf ... cd ... ./configure make make check make install If it's relevant, Sys.info() sysname release "Linux" "2.2.14"
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:
2013 Mar 10
2
css url paths when moving it to a different folder
Hey. Its simple quation, but have litle problem with this. Its my path for css - assets/content/stylsheets/my.css Its path picture for background url - assets/images/picture.gif I do the following in my.css background: transparent url(../../images/picture.gif). but the path is not correct, the image is not found. I tried with one ../ and easy images/picture.gif. Not work. When i add picture in
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears, My Ror setup works.. but I can''t guess why <%= stylesheet_link_tag ''style'' , :media=> ''screen''%> is rended as <link href="/stylesheets/style.css?1154009736" media="screen" rel="Stylesheet" type="text/css" /> What is that number.. any usage ?? Or I misconfigured something ? Thanks
2008 Apr 10
1
help on ajax autocompleter
the div list of words doesn''t get updated # controller class Words < R ''/words'' def get ("word01".."word20").each{|w| (@words ||='''') << "<li>#{w}</li>"} render :_list @words end end #views # def layout html do head do link :rel
2007 Apr 29
1
URL question
Well, this is more of an apache question, but... I''m running a nice little ''cluster'' of camping apps and I''ve recently started proxying them through apache with mod_proxy, since I found I was forwarding a lot of ports via ssh otherwise. But anyway, enough of that. One of the apps I use to view logs from IRC (with formatting and highlighting!). But
2006 Feb 13
0
+ Helpers#URL
Okay, a new method: Helpers#URL. Here''s the rundown. == Helpers#URL == Builds a complete URL to a controller route or a path, returning a URI object. Basically, an absolute URL which can replace the ugly `self / R(...)` in your controllers. Assuming the Hoodwink.d app is mounted at http://localhost:3301/hoodwinkd/, in a controller or view you''ll see the following
2008 Jun 06
0
Quickie: URL Shortener''s, some code.
The wiki won''t let me make new pages anymore, so I put it on my own site. http://creativepony.com/journal/scripts/url-shorteners/ I hope it helps someone! ? Jenna
2006 Jan 30
5
url for image in css
Hi, I''d like to call a background image for every item in a list. Something like div#nav li.submenu {background: url(dropmenu.gif) 95% 50% no-repeat;} the image is in public/images/dropmenu.gif Thanks, Peter
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box displayed at the top of the checkout as described in the tutorial and I cannot seem to discover where I have erred. The scaffold.css is copied from the pragmatic programmers site: #-------------------------------------------------------------------- $ cat public/stylesheets/scaffold.css body { background-color: #fff;
2006 May 11
2
pages in /public cant find CSS
Hi everyone, I have a rails project that I''ve been serving via WebBrick at work, and its been working fine (low traffic). For the last few days I''ve been trying to deploy it under Apache which already serves our groups static and PHP pages. I have the dynamic rails part working now, but am having problems with stylesheet references in static pages. My URL using WebBrick was (and