Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMayur Pande
Courses Plus Student 11,711 PointsWhy is my coded HTML table formatting differently when input to wordpress website?
Hi,
I have made a simple timetable in HTML and CSS that I am putting into a page on a wordpress site. However I use a plug-in called "html snippet" and when I use this it formats the table slightly different. Are there any ideas as to how to go about this?
I also just tried plugging the HTML code straight into the text editor for the page but this completely horribly formatted it.
Below is a link to my code;
2 Answers
Kevin Korte
28,149 PointsLink comes back as I don't have permission.
Without being able to see both what you have and what it's coming out as, I'd look for unexpected CSS properties overriding.
Stanley Thijssen
22,831 PointsIs this your full code?
Mayur Pande
Courses Plus Student 11,711 PointsSorry no it is not it seemed to chop some of, I have put it into the external link below;
http://www.textsnip.com/0u64hc
Many Thanks
Mayur Pande
Courses Plus Student 11,711 PointsMayur Pande
Courses Plus Student 11,711 PointsHi,
Here is the code;
```<!doctype html> <html> <head> <title>South London Tutors</title>
</head>
<body> <table> <tr> <th class="header">Date/Time</th> <th class="header">Tutor/Teacher</th> <th class="header">Subject</th> <th class="header">Level</th> <th class="header">Topic</th> <th class="header">Book</th> </tr>
</table>
</body> </html>