Table inside of table
This probably isn't the right place, but this is the only 'coding' forum I'm a member of.
I've made exactly what I want with the following html and necessary css. But if I go from the 'HTML' tab to the 'visual' tab, Wordpress wrecks the code, is table inside of table a "no no?" There's a picture of what it looks like at the bottom. HTML Code:
<table class="askTheCoach" width="560" height="215" cellspacing="0" cellpadding="0"> |
Quote:
|
I don't either, but there are other folks that will be wondering around the back end of the site, so...
But is there anything wrong with the code? |
the code looks fine - the issue is that when you swap to the visual editor, wordpress does some things that don't work the way you would expect. (Have you noticed it adds in extra <p> where you don't have them)
|
Yeah, I try not to switch, but have noticed all sorts of screwy things,
adding tags, moving tags and so forth. Thanks, for having a look. |
WordPress shouldn't strip out table tags but if I copy the code just as it is shown in your post it "breaks" if I switch to the visual editor. Unless it is a typo you have spaces in some of your table tags. If I take out the spaces in the table tags it doesn't break.
HTML Code:
<table class="askTheCoach" width="560" height="215" cellspacing="0" cellpadding="0"> |
Well that's interesting,
So I went back and removed the spaces, and one spelling mistake. Now it doesn't break as much Everything stays the same except WP strips the table height attribute cutting the picture in half. Is there a more appropriate way to accomplish what I'm doing? Borders, titles, linked list over a picture? http://www.championphotollc.com/wp-c...7.47.34-AM.png |
what is the url?
|
Use inline CSS for width and height like the following. Some table attributes are deprecated and you should use CSS instead.
HTML Code:
<table class="askTheCoach" style="width: 560px; height: 215px;" cellspacing="0" cellpadding="0"> |
All times are GMT -6. The time now is 08:39 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.