skip to Main Content

Html – Positioning with after

I watched from 11:30-16:00 Frontend. As a result <div class="title-wrapper"> <h2 class="title title--purple"><span>Live Auctions</span></h2> </div> .title { font-family: 'Oxanium', font-weight: 700; font-size: 64px; line-height: 130px; color: #F5FBF2; position: relative; &:after { content: ''; position: absolute; top: 50%; left: 0; transform:…

VIEW QUESTION

Why/How does setting `rowspan` on <td> seems giving an unexpected layout in HTML table?

<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Receipt</title> </head> <body> <table> <tr> <td rowspan="2">item</td> <td rowspan="2">price</td> <td rowspan="2">quantity</td> </tr> <tr> <td>book</td> <td>17.99</td> <td>1</td> </tr> <tr> <td>pencil</td> <td>2.99</td> <td>3</td> </tr> <tr> <td colspan="2">subTotal:</td> <td>26.96</td> </tr> <tr> <td colspan="2">tax:</td> <td>2.40</td>…

VIEW QUESTION
Back To Top
Search