so i found out it was a pathing problem when i went to a url like /
controller/action, it caused my stylesheet path to break.

if i add a ../stylesheets/ie6stinks.css then it works for those pages
that have the controller in the url.

So now i have to conditionals that basically point to the same
stylesheet stylesheets/file.css and ../stylesheets/file.css seems
rather dumb to have to do it this way, does anyone have any ideas on
how to remedy or DRY up this issue?

Thanks

On Jun 1, 10:11 am, "[email protected]" <[email protected]>
wrote:
> I dont know if anyone has come across this issue.
>
> I have 2 different layouts for my app. both contain the same partial
> with the same CSS files in the head.
>
> in that i also have a IE6 CSS Hack file. Pretty standard.
>
> The Problem in IE6
> My issue is this. on any of my main pages that have named routes like
> so
>   map.privacy 'privacy-policy', :controller => "information", :action
> => "privacy_policy"
>   map.admin 'dashboard', :controller => "admin", :action =>
> "dashboard"
>   map.home 'home', :controller => "information", :action => "home"
>   map.search 'search', :controller => "information", :action =>
> "search"
>
> the CSS is picked up fine. but if i go to an action like /information/
> home (this is in the url vs just home), where the controller is
> listed. The CSS breaks and doesnt render the page correctly. But...
> The file is still listed in the source(view source)..
>
> very strange. any help would be great.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to