LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2004, 02:33 AM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Very quick php question!


I'm adapting my audio streaming page of OSRV to become more like the rest of the site. This way, I can just dump it into the original frames of the website rather than just popping up as a new window (cause it's ugly). So I'm trying to edit the php to have the orange background color. Buuuut, being a complete noob at php, I can't ... Can anyone help? I bet this is the easiest questions you've got in a while ...

http://osrv.servehttp.com is the site so you can get a feel for it
http://osrv.servehttp.com/stream/index.php is the streaming site that I wanna change the background color of

Thanks!
 
Old 06-11-2004, 07:59 AM   #2
crazyduck
LQ Newbie
 
Registered: Jun 2004
Location: poland
Distribution: slack
Posts: 5

Rep: Reputation: 0
locate "<body>" tag in your index.php file.. or in template file - or just file that you get html source from
and replace it with following "<body bgcolor="#FDC233">"


is that it? so where is php knowlenge required here??
 
Old 06-14-2004, 02:26 AM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
It's not that easy ... the <body> tag is off in the script at this wacko place, and when I change the tag, it gives an error when I visit the site ...
 
Old 06-14-2004, 01:31 PM   #4
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
you can try using css on the page to override any previous settings made on other pages.

in your <head> add this:
Code:
<style type="text/css">
      body { 
             background-color: #FDC233; /* whatever color you want here */
      }
</style>
See if that works
 
Old 06-18-2004, 09:37 PM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Not workin ... I think I'll email the dude who coded the php ...
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Question? Mistro116@yahoo.com Programming 4 11-13-2005 12:03 PM
Quick Apache + PHP question locke105 Slackware 2 08-02-2005 07:19 PM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
quick question OtisLinux Linux - Software 3 02-20-2004 12:37 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration