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 http://www.ruby-forum.com/.
Try typing in the url to the stylesheet directly into your browser window. If it doesn''t show up, try looking in your apache logs to see where things are not matching up. If a style sheet is not working, the problem is most likely that it can not be found assuming you had it working previously. Good luck, Tom On 5/23/06, Chris <tristipher@gmail.com> wrote:> 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 http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tom Davies http://blog.atomgiant.com http://gifthat.com
Tom, I followed your advice and found out that the permissions were set incorrectly on the file. The CSS is being applied now. Thanks for your help! Chris Tom Davies wrote:> Try typing in the url to the stylesheet directly into your browser > window. If it doesn''t show up, try looking in your apache logs to see > where things are not matching up. > > If a style sheet is not working, the problem is most likely that it > can not be found assuming you had it working previously. > > Good luck, > Tom > > > On 5/23/06, Chris <tristipher@gmail.com> wrote: >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > -- > Tom Davies > > http://blog.atomgiant.com > http://gifthat.com-- Posted via http://www.ruby-forum.com/.