skip to Main Content

Html – What is the best way to align the width of the child container of half width to the parent container of full width

Here is my code: .container{ padding: 2rem; } <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdn.tailwindcss.com"></script> <script> tailwind.config = { theme: { extend: { colors: { clifford: '#da373d', } } } } </script> </head> <body> <section…

VIEW QUESTION

Compare two strings containing html tags with same attributes but different orders using C#

I'd like to compare between two strings having html tags in different orders. Example: string str1="""<p><strong style="font-size: 36px; color: rgb(153, 51, 255);">Hello </strong><em><u>World</u></em></p>"""; string str2="""<p><strong style="color: rgb(153, 51, 255); font-size: 36px;">Hello </strong><em><u>World</u></em></p>"""; I care about the text as well as…

VIEW QUESTION
Back To Top
Search