Hi All, I have created my own theme (background) using gimp. Can I use that in rails 3. If so, how. As my hours of work will go down the drain. Thank you very much. Regards, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Feb 10, 2011 at 10:16 AM, Bhasker Harihara < harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi All, > > I have created my own theme (background) using gimp. Can I use that in > rails 3. > > If so, how. As my hours of work will go down the drain. >Sounds like an html/design question. Whatever image(s) you want to use you can include in your application layout or other views files. You can use the image_tag helper: http://guides.rubyonrails.org/layouts_and_rendering.html.> > Thank you very much. > > Regards, > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi David, Thanks for your quick reply. I am able to use it if I divide my theme page(png file) into header, body, footer and use it respectively in the respective sections. But this approach has its own challenges, so I want to use as a single png file (theme) for the entrie page. Also, without lables/fields etc. rails is able to display just the theme page. Thanks for any help. Regars, On Thu, Feb 10, 2011 at 9:55 PM, David Kahn <dk-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org>wrote:> > > On Thu, Feb 10, 2011 at 10:16 AM, Bhasker Harihara < > harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hi All, >> >> I have created my own theme (background) using gimp. Can I use that in >> rails 3. >> >> If so, how. As my hours of work will go down the drain. >> > > Sounds like an html/design question. Whatever image(s) you want to use you > can include in your application layout or other views files. You can use the > image_tag helper: http://guides.rubyonrails.org/layouts_and_rendering.html > . > > >> >> Thank you very much. >> >> Regards, >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Feb 10, 2011 at 10:45 AM, Bhasker Harihara < harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi David, > > Thanks for your quick reply. > > I am able to use it if I divide my theme page(png file) into header, body, > footer and use it respectively in the respective sections. But this > approach has its own challenges, so I want to use as a single png file > (theme) for the entrie page. > > Also, without lables/fields etc. rails is able to display just the theme > page. >I think if you just added your image to the application layout with the appropriate settings to make it full page, this would work. Although hopefully the size of the image is not too big --- that is why designers tend to break images up into smaller parts. As far as all other rendering, of fields and other rails generated data, this should all be able to be handled by css, so if you had page content, fields, forms, etc. they just get layered over your main image.> > Thanks for any help. > > Regars, > > On Thu, Feb 10, 2011 at 9:55 PM, David Kahn <dk-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org>wrote: > >> >> >> On Thu, Feb 10, 2011 at 10:16 AM, Bhasker Harihara < >> harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Hi All, >>> >>> I have created my own theme (background) using gimp. Can I use that in >>> rails 3. >>> >>> If so, how. As my hours of work will go down the drain. >>> >> >> Sounds like an html/design question. Whatever image(s) you want to use you >> can include in your application layout or other views files. You can use the >> image_tag helper: >> http://guides.rubyonrails.org/layouts_and_rendering.html. >> >> >>> >>> Thank you very much. >>> >>> Regards, >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
In application.html.erb I call _stylesheets and _headers. There I use a custom.css. So inside my custom.css I use background-color: (url:--) This works just by itself but when I add other parts of the custom and header it does not work. Regards, On Thu, Feb 10, 2011 at 10:22 PM, David Kahn <dk-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org>wrote:> > > On Thu, Feb 10, 2011 at 10:45 AM, Bhasker Harihara < > harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hi David, >> >> Thanks for your quick reply. >> >> I am able to use it if I divide my theme page(png file) into header, body, >> footer and use it respectively in the respective sections. But this >> approach has its own challenges, so I want to use as a single png file >> (theme) for the entrie page. >> >> Also, without lables/fields etc. rails is able to display just the theme >> page. >> > > I think if you just added your image to the application layout with the > appropriate settings to make it full page, this would work. Although > hopefully the size of the image is not too big --- that is why designers > tend to break images up into smaller parts. > > As far as all other rendering, of fields and other rails generated data, > this should all be able to be handled by css, so if you had page content, > fields, forms, etc. they just get layered over your main image. > > >> >> Thanks for any help. >> >> Regars, >> >> On Thu, Feb 10, 2011 at 9:55 PM, David Kahn <dk-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org>wrote: >> >>> >>> >>> On Thu, Feb 10, 2011 at 10:16 AM, Bhasker Harihara < >>> harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> Hi All, >>>> >>>> I have created my own theme (background) using gimp. Can I use that in >>>> rails 3. >>>> >>>> If so, how. As my hours of work will go down the drain. >>>> >>> >>> Sounds like an html/design question. Whatever image(s) you want to use >>> you can include in your application layout or other views files. You can use >>> the image_tag helper: >>> http://guides.rubyonrails.org/layouts_and_rendering.html. >>> >>> >>>> >>>> Thank you very much. >>>> >>>> Regards, >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> For more options, visit this group at >>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Feb 10, 2011 at 6:37 PM, Bhasker Harihara <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> So inside my custom.css I use background-color: (url:--) > This works just by itself but when I add other parts of the custom and > header it does not work.Then this has nothing to with Rails -- you should post your question to a general HTML/CSS/web dev mailing list, after validating both markup and stylesheet(s). Though "background-color (url:--)" ?? that''s just obviously wrong; look at the CSS docs for starters. Good luck, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solved, I missed out a ";" that;s it. Anyway thaks. On Fri, Feb 11, 2011 at 8:23 AM, Hassan Schroeder < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Feb 10, 2011 at 6:37 PM, Bhasker Harihara > <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > So inside my custom.css I use background-color: (url:--) > > This works just by itself but when I add other parts of the custom and > > header it does not work. > > Then this has nothing to with Rails -- you should post your question to > a general HTML/CSS/web dev mailing list, after validating both markup > and stylesheet(s). > > Though "background-color (url:--)" ?? that''s just obviously wrong; look > at the CSS docs for starters. > > Good luck, > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.