Help Me! Problem with new pligg box in sidebar

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2007, 01:18 AM
New Pligger
 
Join Date: Jul 2007
Posts: 27
I am with a problem in sidebar in the Internet to explorer and in it opera it, in firefox is everything ok. I made the procedure all correctly as it is explained in this topic http://forums.pligg.com/yget/5301-ho...pligg-box.html
below follows of the photos of my problem:

Internet Explorer 7 = Bug

Opera 9.22 = Bug

Firefox 2.0.0.6 = Ok


My version of Pligg is 9.7

Last edited by brasilsource; 08-06-2007 at 01:22 AM.
Reply With Quote
  #2 (permalink)  
Old 08-06-2007, 01:22 AM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
There's no way way we can tell you how to fix it unless we see the code that you added.
Reply With Quote
  #3 (permalink)  
Old 08-06-2007, 12:16 PM
New Pligger
 
Join Date: Jul 2007
Posts: 27
the code is this:
Quote:
<div class="tlb">
{php}echo "<span> <a onclick=\"new Effect.toggle('ads','blind', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/yget/images/expand.png\"> </span>"; {/php}
<a href="#">Links Úteis</a>
</div>

<div id="ads">
<ol><a href="http://www.brasilsource.net/blog.php">Brasil Source™ no seu Blog</a></ol>
<ol><a href="mailto:meuemail@provedor.com">Contato</a></ol>
</div>
Reply With Quote
  #4 (permalink)  
Old 08-06-2007, 05:37 PM
Casual Pligger
 
Join Date: Jul 2007
Posts: 58
This may have to do with the positioning of the sidebar images (featurebox_h.png and featurebox_bg.png). Look for the lines referencing these images in css/main.css: you may try adjusting margin or padding settings for these in main.css to align these images to get the same results across different browsers.
Reply With Quote
  #5 (permalink)  
Old 08-06-2007, 06:00 PM
Adaman's Avatar
Constant Pligger/Designer
Pligg Version: v9.8.2
Pligg Template: Custom
 
Join Date: Jan 2007
Location: Scotland
Posts: 101
Quote:
Originally Posted by techsmeks View Post
This may have to do with the positioning of the sidebar images (featurebox_h.png and featurebox_bg.png). Look for the lines referencing these images in css/main.css: you may try adjusting margin or padding settings for these in main.css to align these images to get the same results across different browsers.
I would agree here check your CSS. Original CSS for yget and featurebox images is below.

Code:
/* Sidebar modules*/
.featurebox { background:url("../images/featurebox_bg.png") no-repeat 100% 100%;color:#774525;padding:15px 0px 0px 10px;margin:0 0 15px}
.featurebox p {border:none;margin:0 0 1em;color:#444}
.featurebox a {color:#774525; text-decoration:none}
.featurebox a:hover {color:#ce4a02; text-decoration: underline}
.featurebox li a {margin-left:-10px;padding-left:20px;line-height:2em;}
.featurebox li.rmore {list-style:none; margin-left:155px;background:url("../images/more.png") no-repeat 100% 100%;}
.featurebox li.rmore a {text-decoration:none; font-size:12px;line-height:2.2em;}
.featurebox ul {margin-left:10px; margin-bottom:10px}
.featurebox ul a { margin-bottom:5px}
.tlb {background:url("../images/featurebox_h.png") no-repeat 0 0; margin:-15px -10px 0px;padding:3px 10px 5px}
.tlb a {font-weight:bold;color:#774525; text-decoration:none; font-size:14px}
.tlb strong {font-weight:bold;color:#774525}
.tlb a:hover { color:#000; text-decoration:none}
.tlb span { float:right; margin-top:-3px; margin-right:0px}
Although the other boxes are ok?

Try this.

Code:
<div class="tlb">
{php}echo "<span> <a onclick=\"new Effect.toggle('ads','blind', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\"> </span>"; {/php}
<a href="#">Links Úteis</a>
</div>

<div id="ads">
<li><a href="http://www.brasilsource.net/blog.php">Brasil Source™ no seu Blog</a></li>
<li><a href="mailto:meuemail@provedor.com">Contato</a></li>
</div>
Adam

Last edited by Adaman; 08-06-2007 at 06:05 PM.
Reply With Quote
  #6 (permalink)  
Old 08-07-2007, 01:17 AM
New Pligger
 
Join Date: Jul 2007
Posts: 27
I decide moving in css but when modifying the archives that techsmeks cited I finish modifying all boxes, I only want to modify box that he appears wrong, does not have as to add for example: margin: - 30px -10px 0px; padding: 3px 10px 5px

Quote:
<div margin: - 30px -10px 0px; padding: 3px 10px 5px class="tlb">
{php}echo "<span> <a onclick=\"new Effect.toggle('ads','blind', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/yget/images/expand.png\"> </span>"; {/php}
<a href="#">Links Úteis</a>
</div>

<div id="ads">
<ol><a href="http://www.brasilsource.net/blog.php">Brasil Source™ no seu Blog</a></ol>
<ol><a href="mailto:meuemail@provedor.com">Contato</a></ol>
</div>
as I make to define only in this box the edge to make ok
Reply With Quote
  #7 (permalink)  
Old 08-07-2007, 08:09 AM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
it needs to look like this
Code:
<div style="margin: - 30px -10px 0px; padding: 3px 10px 5px" class="tlb">
Reply With Quote
  #8 (permalink)  
Old 08-07-2007, 01:21 PM
New Pligger
 
Join Date: Jul 2007
Posts: 27
kbeeveer46 I obtained to decide bug in the IE and in it Opera it with this code, but now he appeared another one in the Firefox, does not have as I to give a space alone for firefox to be all certainty?

Internet Explorer = Ok

Opera = Ok

Firefox = Bug
Reply With Quote
  #9 (permalink)  
Old 08-10-2007, 05:33 PM
New Pligger
 
Join Date: Jul 2007
Posts: 27
I need help here!!!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Upgrading from Pligg beta 9.0 to 9.5 rhythm Questions and Comments 9 05-09-2007 01:08 PM
Pligg 9.1 problem with tags and international characters jackdaw Questions and Comments 0 03-02-2007 08:21 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development