Images appear huge in Firefox
-
I decided to make my own gallery by using a table, nothing too complicated. 4 rows with an image in each of them.
In Safari everything looks fine, in Firefox, however, the images are much bigger and go over the border of the site.
In another thread I was reminded that I should always keep sizes in both formats, px and rem, to make sure the site looks the same on all browsers.
So that’s what I did, I converted the px to rem and entered that in my CSS (BTW, I am using a child theme of twenty tele), but the images still appear very big.
My site is in localhost, so I can only post the code snippet here. Maybe someone finds the mistake:
<table class="gallerie-bilder"> <th colspan=“4”>Title here</th> <tr> <td><a href="bilder/1000.jpg" rel="lightbox[roadtrip]"><img src="bilder/miniaturen/1000.jpg" /></a></td> <td><a href="bilder/1001.jpg" rel="lightbox[roadtrip]"><img src="bilder/miniaturen/1001.jpg" /></a></td> <td><a href="bilder/1002.jpg" rel="lightbox[roadtrip]"><img src="bilder/miniaturen/1002.jpg" /></a></td> <td><a href="bilder/1003.jpg" rel="lightbox[roadtrip]"><img src="bilder/miniaturen/1003.jpg" /></a></td> </tr> <tr>
.gallerie-bilder { width: 258px; width: 20.35714286rem; height: 193px; height: 13.78571429rem; }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Images appear huge in Firefox’ is closed to new replies.