LinuxQuestions.org
Review your favorite Linux distribution.
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 04-10-2008, 01:14 PM   #1
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Rep: Reputation: 15
CSS/HTML/PHP/OBJECT Question


I have a website that's a mixture of HTML and PHP pages. I'm using a hack in order to display a background image that stretches to 100% the width and height of the browser window. All works fine, except on the HTML pages any <object> (like YouTube video links) appear behind the background. On the PHP pages which use the same style.css file, <object> elements appear in front on the background, like they're supposed to.

I can't figure this out for the life of me. Does anyone know what this would be?

If you need more info, feel free to ask.

Thanks.
 
Old 04-10-2008, 06:53 PM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Not certain what the issue is but have you played around with the z-index in your css?
 
Old 04-10-2008, 07:08 PM   #3
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
Is there a difference in the DOCTYPE tag between your PHP and your HTML pages? If so, you could be seeing a "quirk". It might be even more entertaining to see if this difference in default z-index behaves the same across different browsers.
 
Old 04-10-2008, 11:37 PM   #4
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Original Poster
Rep: Reputation: 15
For got to mention, in IE, the objects are up front and visible, although YouTube videos leave a white bar with a "#" in the upper left corner of the window (weird). Firefox hides all objects behind the background.

Yes, I have messed with the z-index. I've set it to 1, 2, and -1 with no change in Firefox.

The DOCTYPE seems to make no difference.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HTML/CSS/JS: Problem with <p> not having an absolute position with CSS. RHLinuxGUY Programming 7 03-03-2007 01:21 AM
A little HTML/CSS help? jon_k General 9 07-17-2005 02:49 AM
HTML/PHP question perfect_circle Programming 2 04-22-2005 12:42 PM
Survey: fav program for PHP/HTML/CSS coding xervious Linux - Software 8 03-16-2005 11:04 AM
html/css hylke Programming 0 06-27-2004 03:39 PM


All times are GMT -5. The time now is 03:13 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration