Displaying 20 results from an estimated 20000 matches similar to: "Recommend a good CSS forum?"
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 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
2006 Apr 18
6
scaffold.css
Hi there,
I have been working on Rails applications for sometime and lately trying
my hands on beautification of the same.
Now the problem that I am facing in here is whatever design or layout I
try to apply to a particular application is visible to the rest of the
applications also!
I mean...I am not able to apply different designs to different
applications.
If anybody could help.
Thankyou.
--
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:
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
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 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 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
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 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"
- Gregory Chudnovsky
2011 Jan 26
4
ReMarkdown.css makes HTML look like Markdown text
Hello everyone on the list,
I?m borrowing a bit of your time in order to present a little CSS experiment
I?ve been working on: a stylesheet which gives a Markdown-like aspect to
HTML elements, especially those elements that the Markdown syntax generates
in the first place.
This means > signs for blockquotes, # signs or underlines for titles, etc.
I wrote a mini-website for it:
2008 Apr 01
10
Recalcitrant CSS background-image
My app has a stylesheet that includes this definition:
div.loadimage
{
width:580px;
height:310px;
background-image: url("/images/load.gif") no-repeat center 0% 0%;
}
The purpose is to use with some nice javascript by Patrick H. Lauke for
fading in images. The div is supposed to include a "loading image" image
which is overwritten by the final image when it has finished
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
2006 Apr 12
4
CSS and Javascript with partials and layouts
Hi,
I''m developing an application that uses a layout called main on every
page. Most of the individual pages are represented with a single partial
template, but there are several pages that are composed of multiple
partials.
My main layout looks something like this:
Code:
<html>
<head>
<title><%= @title %></title>
<%= stylesheet_link_tag
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
2006 Apr 19
3
ror css
Hi
pretty new to this ROR stuff, ive just created my first simple plication
using scaffold, was just wondering if anyone knows of any good tutorials
on how to screate custom css stylesheets for these pages.
also whats the best way to go about adding a footer / header html images
to all pages
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my
development PC.
I''ve frozen rails and put all the relevant gems into the vendor/gems
directory too. I''ve migrated the mysql database and configured Apache
with Phusion Passenger.
I can access the site and the content is fine. The formatting however,
has disappeared - it''s as though the css file does
2007 Dec 09
5
Browserized Styles Plugin
Browserized Styles provides a dead simple way to create browser-
specific CSS code for use in a Rails application. All you need to do
is create a .css file targeted to a browser by appending an underscore
and identifier to the end.
=== Installation ===
script/plugin install http://svn.intridea.com/svn/public/browserized_styles
=== Example ===
Let''s say I have some complex CSS code
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
2006 Apr 05
10
RoR with CSS on Firefox?
Does anybody have any experience getting CSS working with RoR on Firefox? I need help!!!
I''m trying to move to the <div> model from the <table> model so I can use AJAX. The move to <div>s requires I also start using CSS for layout, etc.
So here''s the problem I''m having.
Firefox will not use the styles I''ve defined for the <div>s.