Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

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

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
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

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

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: 1693
Location: Texas, USA

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

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 Visit poster's website
neralex







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

thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©