Is it possible to set css-style at flashdata when printing it out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My answer is simple: yes
Here is a sparks that wraps all the flash data functionality into a great message system, including css styling.
Basically you can modify the flashdata output, so whenever you output ‘flashdata’ you can include a
<div class="flash">and</div>on either side.Then just style the flash css style however you desire.