Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-24 11:40:13

csaba
Member
Registered: 2007-12-21
Posts: 28

I want to insert html table in article - how?

I have some large tables written in html on the previous version of my site and i want to display them in some articles, in my new txp-powered site. I have simply inserted the html code containing the table in the article, but when you open the site in Internet Explorer, the tables appear shifted waaaay down. In the Firefox all looks good. But most of my visitor use internet explorer as browser .. what should i do for the tables to not appear shifted down in the internet explorer? Thanks!

Offline

#2 2008-09-24 11:47:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: I want to insert html table in article - how?

Had that also, waaaay back in time, so I can only remember it’s been a CSS issue I solved with Firebug. Try FF2 and you’ll probably see the shift there, too. So it’s advisable to debug in FF2.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2008-09-24 16:34:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: I want to insert html table in article - how?

On one site I’m using html tables in articles as well, and they display fine in IE. It might help to turn Textile off for those articles.

Offline

#4 2008-09-24 19:35:15

csaba
Member
Registered: 2007-12-21
Posts: 28

Re: I want to insert html table in article - how?

Els – thanks, I’ve already tried that, but no help.
uli – thanks, in FF2 the tables appear correctly. They appear shifted-down only in IE. I’ve tried Firebug, but i cant make it work in IE, when i try to debug the css, it gives only this error message “Access to restricted URI denied”
What should i do?

Offline

#5 2008-09-24 19:42:04

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: I want to insert html table in article - how?

Any URL to see the problem?

Couldn’t be a problem with floated columns and the table taking too much space (and so, not having room to fit where it should)?.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2008-09-25 02:51:20

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: I want to insert html table in article - how?

Maniqui said

Couldn’t be a problem with floated columns and the table taking too much space

I had just that problem recently with the text ‘dropping’ in a floated column in IE6 (but not IE7, FF or Safari). The width of the floats were fine and, in theory, there should not have been a problem. The penny dropped when I noted that the text had dropped level with the bottom the the content of the adjacent floated column. I eventually traced it all down to a couple of lines of italicised text in the sinking block of text. When I changed them to normal text, the problem disappeared. I know that I should have persevered and found out why the italicised text was appearing to be wider than it was but expediency ruled in interests of meeting a deadline and I used a different but friendlier way to emphasise that snippet of text.

Csaba, you could try making the formatting of tables and contents completely ‘vanilla’ and see if the tables pop back up to where they should be. If so add back the attributes until the problem re-occurs, then find a work around.

Last edited by joebaich (2008-09-25 02:59:21)

Offline

#7 2008-09-25 04:49:10

csaba
Member
Registered: 2007-12-21
Posts: 28

Re: I want to insert html table in article - how?

It was sooooo simple, and it took me sooooo long to find it…
This was the problem: I have set the size of the table width=“100%”
And the solution: to set the table width below 100% .. i have set it to 99% and now all looks fine in IE

Can you believe it took me 3 hours to find it? :)

Offline

Board footer

Powered by FluxBB