Question: Create table with ROWSPAN and COLSPAN attribute of TABLE in HTML(Prepare timetable of your class). Include CELLSPACING & CELL PADDING.
|
table display: table; border-collapse: separate; box-sizing: border-box; text-indent: initial; width: max-content; min-width: 100%; max-width: 100%; white-space: pre; font-size: initial; font-family: monospace; tab-size: 4; border-spacing: 0px; border-color: grey; margin: 0px; .code border: solid #5C7B90; border-width: 1px 1px 1px 10px; color: #000000; font: 13px ‘Courier New’, Courier, monospace; line-height: 0px; margin: 10px 0 10px 10px; max-height: 400px; min-height: 20px; overflow-y: auto; padding: 10px 5px 5px; width: 90%; .code:hover background-repeat:no-repeat;
Output
function copyToClipboard(element) var $temp = $(“”); $(“body”).append($temp); $temp.val($(element).text()).select(); document.execCommand(“copy”); $temp.remove(); function copiedText() alert(“Successfully Copied”); button cursor:pointer; color: #fff; background: #ff5400; font-size: 15px; padding: 5px 15px; border:none; button:hover background: green; .line-number color:#ccc;
try prettyPrint(); catch(e)
Source link