Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Table Border

Featured Replies

  • Author
In your CSS add...

 

table {border-right: 1px solid #000000;}

 

... change the size and colour to your liking!

 

 

Cheers mate ;)

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!

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.