CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 28th, 2003, 07:12 PM
alangoodman alangoodman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 alangoodman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS Scrollbars and PHP

This is the code for the blog page:

PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<
STYLE TYPE="TEXT/CSS">
<!--
BODY {
SCROLLBAR-FACE-COLOR#999999;
SCROLLBAR-HIGHLIGHT-COLOR#999999;
SCROLLBAR-3DLIGHT-COLOR#999999;
SCROLLBAR-DARKSHADOW-COLOR#999999;
SCROLLBAR-SHADOW-COLOR#999999;
SCROLLBAR-ARROW-COLOR#CCCCCC;
SCROLLBAR-TRACK-COLOR#999999;
}
-->
</
STYLE>
<?
php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
</head>

<body>
  <!-- // b2 loop start -->
      <?php $blognumber 1;
      while(
$row mysql_fetch_object($result) AND $blognumber <= 5) { 
          if (!
$p AND !$m){
            
$blognumber++;}
        
start_b2(); ?>
      
         <font size="+1" color="#FFFF00"> 
              <?php the_date("","",""); ?>
              </font> 
              <div class="storyTitle"> <b> </b><em><A href="mailto:<?php the_author_email() ?>"> 
                <?php the_author() ?>
                </A></em> @ 
                <?php the_time() ?>
              </div>              <font color="#CCCCCC"> 
              <?php the_content(); ?>
              </font> 
              <div class="rightFlush"> 
                <?php link_pages("<br />Pages: ","<br />","number"?>
                <?php comments_popup_link("Comments (0)""Comments (1)""Comments (%)"?>
                <!-- this includes the comments and a form to add a new comment -->
                <?php include ("b2comments.php"); ?>
              </div>    
              
             <BR> 
    <?php ?>  
 

</body>
</html> 


When I save this page as new.php the scrollbars remain as the default colors. If I save it as news.html the scrollbar works but the PHP code does not of course. Any ideas?

Sorry if something like this has already been asked I searched but couldn't find anything.

Thanks

Reply With Quote
  #2  
Old September 28th, 2003, 09:33 PM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 24 m 31 sec
Reputation Power: 9
I don't see anything either.

Inside blog.header.php, does it contain coding that perhaps output CSS that may overwrite your customized scrollbar coloring?

Reply With Quote
  #3  
Old September 28th, 2003, 09:45 PM
alangoodman alangoodman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 alangoodman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Great idea but that isn't it I looked and there was nothing like that...Thanks for responding, anyone have any other ideas?

Reply With Quote
  #4  
Old September 28th, 2003, 09:59 PM
micros_bytes micros_bytes is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2002
Posts: 790 micros_bytes User rank is Corporal (100 - 500 Reputation Level)micros_bytes User rank is Corporal (100 - 500 Reputation Level)micros_bytes User rank is Corporal (100 - 500 Reputation Level)micros_bytes User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 10 h 29 m 56 sec
Reputation Power: 9
I'm not sure why this works but take out the first line in your file. Once I took that line out, the styles were applied to the scrollbars when it's saved as a PHP file.

Reply With Quote
  #5  
Old September 28th, 2003, 10:11 PM
alangoodman alangoodman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 alangoodman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You're great! Thank you so much.
That is very weird though. Just out of curiosity, if anybody knows why that happened, I'd like to know.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Scrollbars and PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway