What could be causing the varying thickness of the bottom borders in certain TDs/TRs in Firefox?

Do you notice that bottom borders in some <td> and <tr> elements are thicker in Firefox compared to Chrome and Opera?

table.mytable td {
  border: 1px solid black;
}
<table class="mytable">
<!-- Table Code Snippet -->
</table>

Image link: https://i.sstatic.net/txfmX.png

It seems that the bottom borders of the first, fifth, and ninth TRs appear thicker. Even using the attribute border=1 in the table tag doesn't solve this issue.

Edit: I am viewing the page at 100% zoom on Firefox.

Answer №1

Here is a snippet that you can try out. I tested it on Firefox and it worked well on (Windows-10)

table.mytable{
 border-collapse: collapse;
}
table.mytable td {
 border: 1px solid black;
}
<table class="mytable">
  <tr>
    <td>11111</td>
    <td>11111</td>
    <td>11111</td>
    <td>11111</td>
    <td>11111</td>
    <td>11111</td>
  </tr>
  ...
  <tr>
    <td>111111</td>
    <td>111111</td>
    <td>111111</td>
    <td>111111</td>
    <td>111111</td>
    <td>111111</td>
 </tr>
</table>

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

"Create a table with rows that automatically adjust to the same height, regardless

Is there a way to create a table where the height remains constant regardless of the number of rows added? For example: https://i.sstatic.net/zJNqD.png Even if rows are added, I want the height to stay consistent. I cannot use percentage since the numb ...

Changing the background color of a div after a mouse click

Recently, I attempted to change the background color of a div after clicking it using only CSS. I experimented with :visited, :focus, and .visited classes in CSS, but unfortunately, none of these methods worked. I am wondering if there is a solution to a ...

What is the best way to create an arrow that tracks the browser window, but only goes as far as the end of its designated container

Currently, I am facing a challenge in implementing a scroll down arrow. While this is typically a simple task, it has proven to be a bit more complex this time around. The complexity arises from the fact that my customer desires a homepage with an image of ...

Combining an input box and label on a single line with the help of Bootstrap

Hi, I'm Sonal and I'm currently utilizing a Modal on my website. Within this Modal, I am looking to create a form with labels and input boxes displayed on the same line. Below is the code snippet I am working with: <a data-toggle="modal" hre ...

Styling for older versions of Internet Explorer (IE10 and earlier)

Could it be true that IE 10, 9, and others no longer support conditional statements? Is it also accurate to say that JQuery does not support the browser object above version 1.9? I am facing an issue with CSS rendering differently in Chrome and IE. A Goog ...

The image is being loaded onto the canvas and is being resized

Currently, I am facing an issue with loading images into a canvas element as the image seems to be scaled in some way. To provide some context, I have multiple canvases on my webpage and I want to load images into them. Since the dimensions of the canvas ...

Styling grids in Xamarin

My current project involves using CSS styles with Xamarin Forms. I have a grid with buttons that look like this: https://i.sstatic.net/awLWc.png StackLayout { background-color: #1e1e1e; color: #ffffff; } Button{ background-color: #2d2d30; ...

Tips for showing an image in a pop-up window using Window.open

I'm attempting to show an image in a popup window using the following JavaScript code: function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=no,t ...

Discovering the window.scrollTop, ScrollY, or any other distance value while utilizing CSS scroll snap can be achieved by following these

I am currently utilizing css scroll snap for smooth scrolling through sections that are 100vh in height. The functionality of the scroll snap is quite impressive. However, I need to find a way to determine the exact distance the user has scrolled down the ...

Incorporate a JavaScript variable into an HTML href link for dynamic web content

This is a snippet from my code: <p id="demo">{$value.file_name}</p> <script type="text/javascript"> var str = document.getElementById("demo").innerHTML; var res = str.replace("/var/www/html/biology/demo", ""); document.getElementById(& ...

Display a loading spinner while the search bar makes an API request in Angular

I'm struggling with incorporating a loading spinner display when a user enters a search term in the search bar. When there is a change detected in the search term property, an API request is made to populate the lists in the view with the relevant dat ...

What can be done to stop a header from sticking to a table and displaying horizontally scrolling content along the border?

I need to ensure that the red headers do not overlap with the blue headers' borders while scrolling horizontally. It is essential for me to have a white border on the blue headers. .container { overflow: auto; width: 200px; } table { borde ...

How can I position a logo slightly off center to the left, rather than all the way to the left?

I attempted to implement this code: <div id="logo" style="background-image: url('http://comprogroup2ict2b.rf.gd/logo.png'); width: 100px; height: 50px; background-size: contain; background-repeat:no-repeat; float: left"> ...

How can I adjust the gravity or positioning of a tipsy tooltip in jQuery?

Is there a way to adjust the position or gravity of Tipsy? The plugin offers various options for gravity that can be set through the script: nw | n | ne | w | e | sw | s | se Currently, I have set it to s position, as shown in this demo: http://jsfiddle. ...

Div element failing to respond to hover effect

I have implemented a hover effect to display an icon overlay and filter on the Instagram feed of a website I am currently working on. Everything looks perfect when I inspect the element and set the state to hover. However, when I test the website and hover ...

Extracting targeted information from web pages using Python

I'm a newcomer to python and I'm currently working on an interface. My task is to retrieve the top 250 movies from the IMDb website. def clicked(self): movie=self.movie_name.text() url="https://www.imdb.com/chart/top/" ...

Find all instances of Javascript comments and delete them using Regular Express

Hey there! I'm currently working on removing all JavaScript comments (//) within the HTML document. Take a look at this example: <html> <img src="http://example.com/img.jpg" /> <script> //Some comments gallery: { enabled: t ...

Trigger a function in AngularJS when a div is scrolled to within a specific number of pixels from the bottom of the screen

I am experimenting with the AngularJS infinite-scroll directive. Below is the code snippet: angular.module('infiniteScroll', []) .directive('infiniteScroll', [ "$window", function ($window) { return { link:funct ...

Changing the color of text in the navbar with Bootstrap 5

I'm completely new to coding and I'm currently trying to create a custom navbar using Bootstrap. I've been able to change the buttons, search bars, and background color, but I'm struggling to change the text color. I've tried vario ...

Attempting to achieve CSS shadows on both the right and left sides of the element

I am struggling to apply a CSS box shadow to a DIV element. Specifically, I want the shadow to appear only on the left and right sides of the element. I have tried using the following code: box-shadow: 0 0 10px #000; However, despite my efforts, the shad ...