+ 7

Please help to solve my code.

My code is not working in my pc on google chrome and ie and all browsers please solve this.. i want to td.one is border and td Name is not bordered.. but this code work on s.learn <head> <title>Page Title</title> <style type="text/css"> .one { border: 1px solid black; } </style> </head> <body> <table> <tr> <td>Name</td> <td class="one">Class</td> </tr> </table>

5th Oct 2017, 6:34 AM
Kunal Kumar
Kunal Kumar - avatar
11 Answers
+ 8
maybe - border: none?🤔😕
5th Oct 2017, 7:01 AM
\__(° = °)__/
+ 6
what i do now
5th Oct 2017, 6:59 AM
Kunal Kumar
Kunal Kumar - avatar
+ 4
This worked for me in safari, chrome, and firefox on mac: <!DOCTYPE html> <html> <head> <title>Page Title</title> <style type="text/css"> .one { border: 1px solid black; } </style> </head> <body> <table> <tr> <td>Name</td> <td class="one">Class</td> </tr> </table> </body> </html>
5th Oct 2017, 7:00 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
Don't you need prefixes for the various browsers?
5th Oct 2017, 10:11 AM
Haruna Hafiz
Haruna Hafiz - avatar
+ 2
Your Code is 99.9 % correct use proper html structure ..
7th Oct 2017, 1:48 PM
Gautam Kumar
Gautam Kumar - avatar
+ 1
It happened to me as well
5th Oct 2017, 6:43 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Don't you need prefixes for the various browsers?
5th Oct 2017, 10:11 AM
Haruna Hafiz
Haruna Hafiz - avatar
+ 1
Just add </body> at the end and run the code. It works.
5th Oct 2017, 1:51 PM
Kadir Vel
+ 1
I think you need to add the selector 'td' before '.one' at the head section
9th Oct 2017, 7:09 PM
Maryann Gitonga
0
Try using a prefixer
19th Aug 2019, 9:07 PM
Haruna Hafiz
Haruna Hafiz - avatar