Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
arun4444
New Member
New Member



Joined: May 17, 2007
Posts: 12

PostPosted: Wed May 23, 2007 7:30 am Reply with quote

Hello,

whenever i add a table to any encyclopedia entry, it generates a lot of space:-

see
[ Only registered users can see links on this board! Get registered or login! ]

[ Only registered users can see links on this board! Get registered or login! ]
[ Only registered users can see links on this board! Get registered or login! ]

any help much appreciated
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed May 23, 2007 8:11 am Reply with quote

Your theme seems to be declaring tables as full width
Code:


<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000"><tr><td>

I don't see where this is wrong though. Your site isn't fixed width, so the content shouldn't use fixed width either. The table you put inside as content does appear correctly as 200px

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
arun4444







PostPosted: Fri May 25, 2007 7:37 pm Reply with quote

well the problum persists with all themes, not just with one theme
 
evaders99







PostPosted: Fri May 25, 2007 9:31 pm Reply with quote

Maybe I don't understand what the issue is. You want the table that you created in the entry not to have so much space on the sides? (ala full width)
 
arun4444







PostPosted: Sat May 26, 2007 6:46 am Reply with quote

No no, heres the issue,

whenever you put in html code for a table in the encyclopedia module, it automatically seems to create a lot of space above the table see:-
[ Only registered users can see links on this board! Get registered or login! ]

the space between "Zamorak full helmet" and the table below it has been automatically put in.
 
evaders99







PostPosted: Sat May 26, 2007 1:26 pm Reply with quote

The code seems to be adding a lot of page breaks everywhere, even outside the table elements

What version of phpNuke are you using? Any mods? Using the WYSIWYG editor?
 
arun4444







PostPosted: Sat May 26, 2007 1:29 pm Reply with quote

i am using RavenNuke(tm) Version 2.10.01 but it seems to be happening with all versions of nuke i have used, 8.0 etc, with or without a wisiwyg editor
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat May 26, 2007 3:14 pm Reply with quote

Yeah, there are a lot of <br /> tags everywhere, but perhaps it is your theme? I noticed the tables are styled. Perhaps the css for your theme is putting huge padding or margins around these tables. Also I see AutoTheme in the comments of the source.

If it isn't too big maybe you could post your themes/wow7/style/style.css

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
arun4444







PostPosted: Sun May 27, 2007 5:07 am Reply with quote

sure m8, thanks for all the help Wink
But i tried it with deep blue theme and the same thing happens?

Code:
body{

   font:11px Verdana, Arial, Helvetica, sans-serif;
   margin:0px;
   padding:0px;
   color: #FFFFFF;
   background-color: #000000;
   background-image: url(../images/wow7_23.jpg);
}
th,td,p{font:11px Verdana,Arial,Helvetica,sans-serif}
p{margin-top:2px;margin-bottom:3px}

/* General page style */
a:link,a:active,a:visited,a.postlink{color: #d0a700;text-decoration:none}
a:hover{color:#767676}

input{
   font:11px Verdana, Arial, Helvetica, sans-serif;
   color:#000000;
}
select{
   color:#000000;
   font:11px Verdana, Arial, Helvetica, sans-serif;
   background-color: #FFFFFF;
}

/* Gets rid of the need for border="0" on hyperlinked images */
img{border:0px;}

input.button { background:#CCCCCC;font-size:11px;color:#000000;
border:1px solid; border-color:#707070 #000000 #000000 #707070 }

/* General font families for common tags */
font { font:11px Verdana, Arial, Helvetica, sans-serif}
.pn-logo, .pn-title, .pn-pagetitle   { font-weight: bold; font-size: 11px; color: #FFFFFF }
.pn-normal { font-size: 11px; color: #FFFFFF }
textarea{color:#000000;font:11px Verdana, Arial, Helvetica, sans-serif;background-color: #FFFFFF;}
textarea.pn-normal{   color:#000000;   font:11px Verdana, Arial, Helvetica, sans-serif;background-color: #FFFFFF;}
select.pn-normal{color:#000000;   font:11px Verdana, Arial, Helvetica, sans-serif;background-color: #FFFFFF;}
input.pn-normal{color:#000000;font:11px Verdana, Arial, Helvetica, sans-serif;}
.summ1 {
   background-image: url(../images/wow7_08.jpg);
   padding-left: 5px;
   padding-top: 5px;
}
.summ2 {background-image: url(../images/wow7_14.jpg);}
.summ3 {background-image: url(../images/wow7_15.jpg);}
.summ4 {background-image: url(../images/wow7_16.jpg);}
.summ5 {background-image: url(../images/wow7_21.jpg);}
.left1 {
   background-image: url(../images/wow7_05.jpg);
   background-repeat: repeat-x;
   color: #d0a700;
   font-weight: bold;
}
.left2 {background-image: url(../images/wow7_11.jpg);}
.left3 {background-image: url(../images/wow7_12.jpg);}
.left4 {background-image: url(../images/wow7_13.jpg);}
.left5 {background-image: url(../images/wow7_18.jpg);}
.header1 {background-image: url(../images/wow7_02Logo.gif);}
h1, h2, h3 {font-size:12px; font-weight:bold;}
.summ1 a:link {font-size:12px; font-weight:bold;}
.summ1 a:visited {font-size:12px; font-weight:bold;}
.summ1 a:active {font-size:12px; font-weight:bold;}
.summ1 a:hover {font-size:12px; font-weight:bold;}
.footertop {
   background-image: url(../images/cellpic2.jpg);
}
.footerbod {
   background-color: #202221;
}
 
Gremmie







PostPosted: Sun May 27, 2007 11:43 am Reply with quote

There is nothing funny in there. From looking at your source, you are also getting the following CSS files:

modules/AutoTheme/style/style.css

Maybe it is in there?

It is also odd I am seeing stuff like this in your source:

Code:


<div id="Encyclopedia" class="module">


That isn't standard nuke. Does AutoTheme do that? I'm not familiar with AutoTheme. I'm suspecting that AutoTheme is styling these things funny or something.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©