January 16, 200818 yr Hi, How would I have a table border for just the right side of the table? Thanks
January 16, 200818 yr In your CSS add... table {border-right: 1px solid #000000;} ... change the size and colour to your liking!
January 17, 200818 yr Author In your CSS add... table {border-right: 1px solid #000000;} ... change the size and colour to your liking! Cheers mate
January 21, 200818 yr In your CSS add... table {border-right: 1px solid #000000;} ... change the size and colour to your liking! That's not a great solution. The CSS code is right but if you did that then all tables on your site will have a border on the right. What you need to do is assign a class to that table in your HTML code then tell that specific table to have a border on the right hand side in your CSS code. These are fundamental techniques. I suggest you go to World Wide Web Consortium. There are hundreds, if not thousands, of free CSS and HTML tutorials for beginners and advanced users. It served me well!
January 21, 200818 yr You're right kido, I missed that! Here's another basic version... table.tablename {border-right: 1px solid #000000;} <table class="tablename"> <tr> <td> ...content... </td> </tr> </table>
Create an account or sign in to comment