0
Html styling of tables
My styling not working in my table. Plz help đ„ș https://code.sololearn.com/W4P6Wis3eVt8/?ref=app
8 Answers
+ 4
I just added solid border
Is this you looking for???
https://code.sololearn.com/WuZ3cG1ofUeA/?ref=app
+ 2
Niththish wow yes that's what I wanted. But what does the "solid" do, and why my code doesn't work without it?
+ 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.
+ 2
Niththish thank you! I learnt many new stuff because of you
+ 1
Niththish now my rounded border feature is not working, can you clear it too pleaseđ
https://code.sololearn.com/WXo3Vi59CRtX/?ref=app
+ 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 */
+ 1
html is for displaying the contents in the web
Whereas css is for styling those contents in the web
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?