The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Tables on navigation pages

  • 0kee
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 8 months ago #967 by 0kee
Tables on navigation pages was created by 0kee
Hi,
I need to put a couple of tables on one of the navigator page types (tabbed navigator). When I have added the table (html) and go to preview there is always a large blank area before each table (see screen shot attached. Does anybody know why this is happening? Can anyone suggest a CSS fix for this?
Thanks,
Karl
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #971 by coursenligne
Replied by coursenligne on topic Tables on navigation pages
Hi,
First question : what is the software version you are using?
It seems that this is through XOT,is that right?
Second question: I can see in your attachment that there is text before the table. The image however seems to show near the top of the page and the text doesn't seem to show-up.
Is there an issue here?
What abourt replacing the tags <p> </p> (the 2 of them) with a simple <br \>?
I would have a go with this.
Last but not least, can you tell me the category (the type of object) you inserted, I would then be able to have a quick look locally here (when I have a couple of minutes free :) )

If I can help I will do for sure...
Last edit: 12 years 8 months ago by coursenligne. Reason: bad tag mention!!!

Please Log in or Create an account to join the conversation.

  • 0kee
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 8 months ago #976 by 0kee
Replied by 0kee on topic Tables on navigation pages
Hi Eric,
Thanks for taking the time to look at this. Yes we're using XOL 2.0. The problem is that blank area above the table. I enter the table code
Code:
Here are the modifier key symbols you may see in OS X menus: <table width="100%" border="0" cellpadding="1" cellspacing="1"> <tbody> <tr> <td width="5%">⌘</td> <td>Command key</td> </tr> <tr> <td width="5%">⌃</td> <td>Control key</td>
etc. and the table itself displays fine but it is the large blank area is above it that is the problem. For some reason multiple <br> are being added between the text and the table (see attached). I was hoping someone had a quick CSS fix?
Cheers

Please Log in or Create an account to join the conversation.

  • 0kee
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 8 months ago #977 by 0kee
Replied by 0kee on topic Tables on navigation pages
Hi Eric,
Thanks for taking the time to look at this. Yes we're using XOL 2.0. The problem is that blank area above the table. I enter the table code
Code:
Here are the modifier key symbols you may see in OS X menus: <table width="100%" border="0" cellpadding="1" cellspacing="1"> <tbody> <tr> <td width="5%">⌘</td> <td>Command key</td> </tr> <tr> <td width="5%">⌃</td> <td>Control key</td>
etc. and the table itself displays fine but it is the large blank area is above it that is the problem. For some reason multiple <br> are being added between the text and the table (see attached). I was hoping someone had a quick fix?
Cheers
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #979 by JohnSmith
Replied by JohnSmith on topic Tables on navigation pages
ALL of your table code needs to be on the same line.

This is the problem with adding HTML in to fields that weren't designed to hold HTML... every line break between the <table></table> tags is converted to a <br /> and since these don't render between table lines they end up ABOVE the table...

Try changing

<table>
<tbody>
<tr>  <td width="5%">⌘</td>  <td>Command key</td>  </tr>
<tr>  <td width="5%"></td>  <td>Command key</td>  </tr>Etc

To

<table><tbody><tr>  <td width="5%">⌘</td>  <td>Command key</td>  </tr><tr>  <td width="5%"></td>  <td>Command key</td>  </tr>etc

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #980 by coursenligne
Replied by coursenligne on topic Tables on navigation pages
I would need to give a try on XOT, but I don't remember having this.
I guess that if you remove the <BR> (just as a test as this can't be an acceptable solution) they are coming back ??

I'm not convinced this is CSS related. Could you please point me out the tool you are using so I can give a try here?
Thanks...

Obviously others are more than welcome to help to troubleshoot (I'm far away from an expert!)

If I can help I will do for sure...

Please Log in or Create an account to join the conversation.

Moderators: JohnSmith
Time to create page: 0.141 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo