• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Firefox meets <table>

Status
Not open for further replies.
Level 23
Joined
Apr 16, 2012
Messages
4,041
I am making a website with Bootstrap and JQuery, and it seems that in Firefox renders some tables quite weirdly, and I mean it even says that the border-width is 1 px, but when I took screenshot and went to ms-paint, it was clearly 2 pixels wide, and it is quite noticable. This happens to random tables.

This didnt happen in chrome, do you have any idea if this is browser-specific issue?

Also, the borders render differently in that in firefox my table has border on the whole right side, while in chrome the first row is missing it, and the last <td> of the first row in the table is specified to have class='no-padding no-border' and they are declared as

JASS:
.no-padding{
	padding: 1px;
}

td.no-border.no-padding{
	padding: 2.5px;
	border: none;
}

So I wonder, is this Firefox glitch? or is this some kind of special behaviour? And any way to fix it(I know how to add the border to the last <td>, dont worry)

Edit, proof, pictures!!

Chrome:
attachment.php


Firefox:
attachment.php


As you can clearly see, the second one has certain borders doubled. And the border that didnt disappear even tho I said no borders is the right from the chains. I fixed that
 

Attachments

  • Screenshot 2015-01-21 00.17.12.png
    Screenshot 2015-01-21 00.17.12.png
    5.5 KB · Views: 128
  • Screenshot 2015-01-20 23.50.09.png
    Screenshot 2015-01-20 23.50.09.png
    6.7 KB · Views: 128
Last edited:
Status
Not open for further replies.
Top