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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -