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.

Nested table black border in some browsers

Featured Replies

Hi there,

 

I expect this is a silly problem but I cant seem to find a solution. I have nested tables within a larger table as it seemed the easiest way to display the data. The problem is in FF and IE there is a big lack border around them, presumably inherited from the parent tables CSS.

 

http://www.specialisttapes.com/index.php?route=product/category&path=500_12_20

 

See the black borders around the measurements? I do not want them there.

 

Thanks in advance.

  • Author

.colourchart td, th {
border-style:none;
}

 

Hi, thanks for the reply.

 

When I do this it makes the borders have the old style "3D" look, is there a way to just have a solid 1px border without it affecting the nested tables?

Instead of having border="1" on the <table> tag, just apply a 1px border style to the table via a class/ID or whatever style you require. So instead of:

 

<table border="1">

 

You could have something like:

 

<table border="0" style="border:1px black solid;">

  • Author

Cheers guys, fixed it. I put everything in the CSS and zeroed everything out on the td and th of the nested table in the CSS. Amazing how simple things can take forever to figure out sometimes...

 

.smallchart td, th{
border-width: 0px;
border-style: none;
}

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.