Copying tables from Wikipedia into WP
-
I copied the following table:
https://en.wikipedia.org/wiki/List_of_Game_of_Thrones_characters
onto this page
https://game-of-thrones-episodes.com/character-table/
In order to get it working I had to create the following CSS:
table.wikitable {
border: 1px solid #a2a9b1;
border-color: grey;
padding: 0.2em 0.4em;
width: 960px;
float: left;
text-align: left;
}.wikitable th {
line-height: 1.1;
font-size: 10pt;
padding: 7pt;
border: 1px solid #a2a9b1;
}.wikitable td {
background: white;
color: black;
font-weight: 400;
line-height: 1;
font-size: 10pt;
padding: 7pt;
text-transform: initial;
border: 1px solid #a2a9b1;
}QUESTION: How would I get the color style for the SPANS (without having to manually put them in)?
The blog I need help with is: (visible only to logged in users)
-
I hope i don’t waste people’s time with some of my posts. I figured this out. I found a different way to go copy the html and using the above CSS had no problems. Now I just have to make sure I give proper credit (wiki licensing, etc.).
-
Glad you got that figured out. Don’t worry though, you are not wasting our time. We are here to help.
- The topic ‘Copying tables from Wikipedia into WP’ is closed to new replies.