Displaying 1 result from an estimated 1 matches for "alertbad_icon".
2006 Jan 25
1
Flash CSS issues
...auto;
margin-right: 7px;
}
.login #Flash {
margin-top: 12px;
font-size: 12px;
}
#Flash.good {
border-color: #9c9;
color: #060;
background: url(/images/alertgood_icon.gif) #E2F9E3 left no-repeat;
}
#Flash.bad {
border-color: #c99;
color: #fff;
background: url(/images/alertbad_icon.gif) #c00 left no-repeat;
}
I display the errors in my main application layout file using:
<%= ''<div class="bad" id="Flash">'' + flash[:error] + ''</div>'' unless
(flash[:error].nil? || flash[:error].length <= 0) %>...