Cb Profile has a huge space...

16 years 2 months ago #55785 by japanlinked
Cb Profile has a huge space... was created by japanlinked
My CB Profiles have a huge space between the left/middle/right and the main tabs. There is almost a full page of scrolling between them. I think most users won't even know there are tabs way down there. How can I resolve this?

Site can be seen here:
www.japanlinked.com/j/

Please Log in to join the conversation.

16 years 2 months ago #55787 by nant
Replied by nant on topic Re:Cb Profile has a huge space...
tell your template provider/coder to fix this.

Please Log in to join the conversation.

16 years 1 month ago #57542 by RCheesley
Replied by RCheesley on topic Re:Cb Profile has a huge space...
There are a huge number of queries about this - simply telling people to get their coder to fix it isn't too helpful IMO.

I had a similar problem with this on the docman component which was resolved by removing a few clr div tags from three files - could this be similar in CB?

It would be useful, for example, to know if this is related to one template, or all templates.

I too am having the same problem and have read through at least 20 odd posts asking for advice on the subject. I'll let you know how I get on :)

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

16 years 1 month ago #57546 by japanlinked
Replied by japanlinked on topic Re:Cb Profile has a huge space...
I have found a solution to the problem this might not work on all templates but it works for bentobox.

Find this:

<?php mosMainbody(); ?>

in your template html file. Then put it in a table.


<table width=100%> <!-- This is my space hack -->
<tr>
<td>
<?php mosMainbody(); ?>
</td>
</tr>
</table>

Let me know if it worked for you. Good Luck
Now on to problem 376 My CB users need to be manually snyc'd @@

Please Log in to join the conversation.

16 years 1 month ago #57561 by beat
Replied by beat on topic Re:Cb Profile has a huge space...
Yes, that can work. :)


Another fix is to replace it instead of table with this:

[code:1]<div style="float:left;width:100%;margin:0px;padding:0px;">
<?php mosMainbody(); ?>
</div>

[/code:1]


Attention to template designers:


Please keep in mind that components can do "clear:both;" divs, and that if your template floats, you should have something like the above (also a floating div surrounding the component/content area.

The effect of that is that clear divs inside components will not clear down to your left column (as they clear all HTML code above them in source up to a different flow, such as table or floating div.

Hope that helps your template designer to fix their template.

We implemented a workaround in upcoming CB 1.2 as well. But other table-less components will still break with such templates. So you still need to fix your template if it does the above.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

16 years 1 month ago #58393 by motiejuz
Replied by motiejuz on topic Re:Cb Profile has a huge space...
hi,

i am pretty new in this and having same problem.

in what file should i change the line ?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.283 seconds

Facebook Twitter LinkedIn