css - Recreate an image from tiles in HTML -


I have an image that I used to do something similar in 48 tiles (8x6). I want to send back the tile back to HTML in the form of the original image.

What is the best way to do this?

My first thought was to use the table using 8 columns and 6 rows and just one tile in each cell, setting all the borders and spacing to 0. I am using the given style sheet in reply

Unfortunately I have a space between the rows.

Here's HTML:

   & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Title & gt; This image & lt; / Title & gt; & Lt; Link rel = "stylesheet" type = "text / css" href = "reset.css" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt; Table range = "0" cell field = "0" & ​​gt; & Lt; Tr square = "row" & gt; & Lt; Td> & Lt; Img id = "displayimage0" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage1" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage2" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage3" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage4" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage5" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage6" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage7" /> & Lt; / Td> & Lt; / TR & gt; & Lt; Tr square = "row" & gt; & Lt; Td> & Lt; Img id = "displayimage8" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage9" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage10" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage11" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage12" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage13" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage14" /> & Lt; / Td> & Lt; Td> & Lt; Img id = "displayimage15" /> & Lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt;  

The CSS is directly from.

There is a screen capture of the output (note the space between the rows ...

The following CSS properties Try:

  Table {boundary-difference: 0! Important; // It should generally do the trick margin: 0! Important; padding: 0! Important; border-fall: Fall! Important!}  


Edit:
Can you write something CSS attribute from the file . Try adding important at the end of your CSS styles.

If it does not help too , Inspect developer tools with tiles to see which styles have been implemented.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -