Ruby on Rails Tuesday, December 24, 2019

If you want to style  <%= m.content %>,  you need to wrap this in a HTML element then you can apply CSS.

Example:

<p class="clas-here" style="styles-here"><%= m.content %></p>

On Tue, Dec 24, 2019 at 5:17 PM fugee ohu <fugee279@gmail.com> wrote:
I have elements like <%= m.content %> where m stands for message as I iterate through @messages How do I style them since I haven't defined them as any type of element

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0e318fd1-a025-447d-a2b6-9515b48fbada%40googlegroups.com.


--
The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPmpWecWgq%2BsKdBSqhVG70R1hQgoOhq0mggOQ2hzHEUtjqFQCA%40mail.gmail.com.

No comments:

Post a Comment