wordpress bugs?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

wordpress bugs?

Post by Vegan »

Code: Select all

<table style="width: 460px; margin: 5px; float: right;">
<tbody>
<tr>
<th style="background: #d1dbdf; text-align: center;" colspan="2">System Requirements</th>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">Operating System</th>
<td>Windows 7 x64 or better</td>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">CPU</th>
<td>3 GHz X4 processor or better</td>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">Memory</th>
<td>8 GB or more</td>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">Hard Drive Space</th>
<td>35 GB</td>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">Graphics Hardware</th>
<td>GeForce GTX 660 or better
Radeon HD 7850 or better</td>
</tr>
<tr>
<th style="background: #d1dbdf; text-align: left;">Network</th>
<td>Broadband Internet Connection Required</td>
</tr>
</tbody>
</table>
This table renders a nicely with HTML in the WordPress editor, but when its shown in the main view it all puffy and double spaced etc, so anybody got any ideas what I can do with this as I wanted to use the box for game system requirements that I can cut and paste from a page with various preset templates.

This is standard HTML table, not rocket science.

Thoughts, ideas?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: wordpress bugs?

Post by requinix »

Use your browser to inspect the table to see what CSS is being applied to it that causes the unexpected appearance.
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: wordpress bugs?

Post by Vegan »

https://hardcoregames.azurewebsites.net/?page_id=30398

This is not a regular published page, its there to test code etc

I cannot find the problem and I thought maybe somebody could spot the problem?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: wordpress bugs?

Post by requinix »

I don't know what "puffy and double spaced" means, but those three tables have a

Code: Select all

table th { padding: 10px 5px; }
added by your theme.
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: wordpress bugs?

Post by Vegan »

Why they would add that makes no sense

any idea how to clear that? I use inline style now.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: wordpress bugs?

Post by requinix »

Don't use inline styles and make your own theme instead.
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: wordpress bugs?

Post by Vegan »

that would be a lot of had work and take more hours than i can afford right now
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply