PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
neralex
Worker
Worker


Joined: Aug 22, 2007
Posts: 194
Location: Germany

PostPosted: Tue Dec 21, 2010 7:15 pm Reply with quote Back to top

hey!

includes/boxover/boxover.js

in the functions defHdrStyle() and defBdyStyle() are set the fontSize and the padding without the px. i must set the px to correct display the padding.

for example find:
Code:
dvBdy.style.fontSize='11';
dvHdr.style.padding='3';

for example change in:
Code:

dvBdy.style.fontSize='11px';
dvHdr.style.padding='3px';

if is the intention or why are set the fontSize and the padding without px?
Wink
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Dec 22, 2010 10:49 am Reply with quote Back to top

My "guess" would be that if you set the value in px, pt, em or whatever else then you're removing control from the individual browser by forcing font rendeing, etc. By leaving it out then the browser takes control, not every user uses the same browser(s) and screen resolution.

In Firefox, for example, you can let the particular web page(s) choose and set your fonts/sizes, etc. OR you can choose to maintain your own settings regardless of how it's set on the remote page.

Again, just a guess.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1364
Location: Texas, USA

PostPosted: Wed Dec 22, 2010 3:54 pm Reply with quote Back to top

I would probably look at customizing it via CSS, as was done with nukePIE. You would have to alter the title links to include your classes, like so.

Code:
 title="cssbody=[yourheaderclass] cssheader=[yourbodyclass] header=[Your Title] body=[Your description] singleclickstop=[On]"


then the CSS, restyle as needed
Code:
.yourheaderclass{
   padding:5px;
   font-weight:bold;
   border:1px solid #000000;
   background:#000000;
   color:#FFFFFF;
    width:600px;
}

.yourbodyclass{
   padding:5px;
   border:1px solid #000000;
   background:#FFFFFF;
   color:#000000;
    width:600px;
}
View user's profile Send private message
neralex
Worker
Worker


Joined: Aug 22, 2007
Posts: 194
Location: Germany

PostPosted: Thu Dec 23, 2010 6:09 pm Reply with quote Back to top

thanks.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum