0

Html styling of tables

My styling not working in my table. Plz help 🥺 https://code.sololearn.com/W4P6Wis3eVt8/?ref=app

17th Sep 2021, 12:41 PM
Rishi
Rishi - avatar
8 Antworten
+ 4
I just added solid border Is this you looking for??? https://code.sololearn.com/WuZ3cG1ofUeA/?ref=app
17th Sep 2021, 12:47 PM
Niththish
Niththish - avatar
+ 2
Niththish wow yes that's what I wanted. But what does the "solid" do, and why my code doesn't work without it?
17th Sep 2021, 12:53 PM
Rishi
Rishi - avatar
+ 2
Rishi It actually defines the border style You just gave only the width and color of the border but not mentioned the style (the type) of border There are several different types of styles available. Few are 1. Solid 2. Dotted 3. Double 4. Dashed Just use them in your code and see their differences.
17th Sep 2021, 12:57 PM
Niththish
Niththish - avatar
+ 2
Niththish thank you! I learnt many new stuff because of you
17th Sep 2021, 1:05 PM
Rishi
Rishi - avatar
+ 1
Niththish now my rounded border feature is not working, can you clear it too please😅 https://code.sololearn.com/WXo3Vi59CRtX/?ref=app
17th Sep 2021, 1:18 PM
Rishi
Rishi - avatar
+ 1
Remove this line and it works <!--border-collapse:collapse--> Because the syntax for comments in css styles is /* something */ So either remove it or replace it into /* border-collapse:collapse */
17th Sep 2021, 1:33 PM
Niththish
Niththish - avatar
+ 1
html is for displaying the contents in the web Whereas css is for styling those contents in the web
17th Sep 2021, 1:37 PM
Niththish
Niththish - avatar
0
Niththish ooh yeah got it! I thought CSS is a different language right? Or HTML and CSS are just two partitions of the same language?
17th Sep 2021, 1:36 PM
Rishi
Rishi - avatar