alignement problem in cbsimpleboardtab

18 years 4 months ago #576 by Viames
Hi, I found an alignement problem in the Forum tab that's generated by cbsimpleboardtab plugin. Here the rows i fixed:

file cb.simpleboardtab.php row 317:

$return .= "<div class=\"sectiontableheader\" style=\"float:left;\">".$title."</div> ";
if ($pagingEnabled && $searchEnabled) $return .= $searchForm;
$return .= "<br /><div style=\"clear:both;\">&nbsp;</div>";


change into:

// $return .= "<div class=\"sectiontableheader\" style=\"float:left;\">".$title."</div> ";
$return .= $title; // new row
if ($pagingEnabled && $searchEnabled) $return .= $searchForm;
// $return .= "<br /><div style=\"clear:both;\">&nbsp;</div>";

Now it's correctly aligned on my RC2 installation.

CB italian translation & testing
translations on joomla.it
homesites: Viames.it , Crotone on Web

Please Log in to join the conversation.

18 years 4 months ago #609 by fattykid17
Replied by fattykid17 on topic Re:alignement problem in cbsimpleboardtab
Interesting, it has always worked for me. Must be some compatability issue with your templete.

Please Log in to join the conversation.

18 years 4 months ago #626 by rick
I am having the same problem but your fix did nothing for mine. I have attatched a screen shot.



Post edited by: rick, at: 2005/11/26 21:08

Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2

Please Log in to join the conversation.

18 years 4 months ago #629 by beat
rick wrote:

I am having the same problem but your fix did nothing for mine. I have attatched a screen shot.



Post edited by: rick, at: 2005/11/26 21:08


Hi Rick,

Look into your site template css file:

.sectiontableheader { ... must have a text-align:center instead of left.

This is really site template dependant. some have it left, other center, and true, in most cases (throughout the site) it looks better left than center... ;)

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.

18 years 4 months ago #689 by Viames
Replied by Viames on topic Re:alignement problem in cbsimpleboardtab
That's what i mean :)

I found that problem show up when you use a border into CSS property:

.sectiontableheader {
border: 1px solid #CCCCCC;
}


This screenshot was token from Firefox that shown how the post list is moved to right when you put a border on sectiontableheader. That's caused by use of double inner class="sectiontableheader" in that TAB, I think.



Post edited by: Viames, at: 2005/11/27 12:04

CB italian translation & testing
translations on joomla.it
homesites: Viames.it , Crotone on Web
Attachments:

Please Log in to join the conversation.

18 years 4 months ago #718 by beat
Viames wrote:

That's what i mean :)

I found that problem show up when you use a border into CSS property:

.sectiontableheader {
border: 1px solid #CCCCCC;
}


This screenshot was token from Firefox that shown how the post list is moved to right when you put a border on sectiontableheader. That's caused by use of double inner class="sectiontableheader" in that TAB, I think.



Post edited by: Viames, at: 2005/11/27 12:04


You might be right with a given browser, this might cause problems, as the inner div is a floating one... Please log a bug at our bug tracker at developer.joomla.org, indicating with which browser this is, as it looks as a browser bug...

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.

Moderators: beatnantkrileon
Time to create page: 0.236 seconds

Facebook Twitter LinkedIn