html - text align right/ float right in embedded ruby not working without wrapping <p> tag -


Trying to align the "Delete Schedule" text on the right without aligning "stuff on the left" to the right . In addition, the next line is not the result of "delete schedule", wrapping paragraph tags on the specific line and adding text-alignment: correct. Tried to style with embedded Ruby,

  & lt; Div class = 'panel callout radius' & gt; & Lt; Li style = "list-style-type: none" & gt; & Lt;% = 'Accessories on the left'% & gt; & Lt;% = link_to 'Delete schedule', session_schedule_path (session_schedule, to: request.fullpath), Method :: Delete, Data: {Confirm: 'Are you sure to delete your schedule?'}, Style: 'text - Align: right '%' & Lt; / Li & gt; & Lt; / Div & gt;  


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -