#1 (permalink)  
Old 11-21-2005, 11:50 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
Talking CSS & TABLE 1+1=3???

OK.....
I will admit it again I am dutch! so please dis-regard my spelling ( i know my browser does)..


I wanted to have a page where browsers (the persons visiting my site) can see a few video's.
This is working now so lets make it more apealing, lets build a stage with curtains, speakers and so on.

I made a transparent gif file and my stage is done.

put the embedded player on a page the gif over it and there we go our own web site theater.

Now lets put it on our web page.

<table border="0" width="100%" height="395">
<tr>
<td width="20%" height="394" valign="top" align="center"></td>
<td width="60%" height="394" valign="middle" align="center">
<div id=layer1 style="position: absolute; top: 20; left: 20; width: 249; height: 245; z-index: 1">
<object id="Player" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" width="239" height="251">
<param name="ShowStatusBar" value="true">
<param name="autostart" value="true">
<param name="ShowAudioControls" value="false">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowTracker" value="false">
<param name="ShowPositionControls" value="false">
<param name="CaptioningID" value="capText">
<param name="WindowlessVideo" value="0">
<embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" showControls="0" width="100%" height="100%">
</object>
</div>
<div id=layer1 style="position: absolute; top: 20; left: 20; width: 563; height: 394; z-index: 2">
<IMG SRC="curtain.gif" BORDER=0 width="563" height="394">
</div>
</td>
<td width="20%" height="394" valign="top" align="center"></td>
</tr>
</table>



On the page there are several tables, these 3 are in the middle of my page
the first one holds the menu
the second one should hold the player and stage
the 3rd one hold the videos to choose from

My problem is the "possition= absolute"...........

Using the tables with a width=100% no mather what size screen a user has my table will be a 100% of that screen (page designed on 800/600 settings)
but the possition absolute stays the same so on a bigger screen setting my stage and player are outside the table

How can I keep them inside my table without losing the width=100% option

I know if i make the table, possition absolute it would work but thats too easy lol.

did I say easy???

help me my wife wants it ONLINE 2 weeks ago...
__________________
Im learning, but i still need help.
Reply With Quote

  #2 (permalink)  
Old 11-22-2005, 08:10 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Have you tried using position = relative for your div instead of absolute positioning?
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #3 (permalink)  
Old 11-22-2005, 10:46 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
Red face bad memory

I couldnt remember if I tried that, so I tried it again :::


<table border="0" width="100%" height="1">
<tr>
<td width="20%" height="1" valign="top" align="center"></td>
<td width="60%" height="1" valign="middle" align="center">
<div id=layer1 style="position: relative; top: 50; left: 0; z-index: 1">
<object id="Player" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" width="219" height="241" align="absmiddle">
<embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" showControls="0" width="100%" height="100%">
</object>
</div>
<div id=layer1 style="position: relative; top: -242; left: 10; z-index: 2">
<IMG SRC="curtain.gif" BORDER=0 width="100%" height="394" align="absmiddle">
</div>
</td>
<td width="20%" height="1" valign="top" align="center"></td>
</tr>
</table>


Now I finaly have these two on top of eachother but the rest of the page that follows these two moved down 4 inches and any thing i try messes it al up.

so relative and absolute both give me troubles, and I have no idea what else to try..

thanks for this responce and I hope others will follow
__________________
Im learning, but i still need help.
Reply With Quote
  #4 (permalink)  
Old 11-23-2005, 01:42 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Question

Instead of using a table like that, can you use DIV align for each element?

I did something like that for one site: www.uta.edu/student_orgs/billiardsteam/ (click the cueball, and view the next window's source).

The only drawback to that is that Netscape 8 screws everything up because the second page gets blown into a full tab's window, and everything gets out of place. I figured that was Netscape's (or really, AOL's) way of telling us to learn and use Flash.
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
  #5 (permalink)  
Old 11-23-2005, 03:15 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
trying it

I looked at that code like you sugested and saw a few things that might work,
I am trying them now.
If they dont help me i will be back lol




thanks so far.
__________________
Im learning, but i still need help.
Reply With Quote
  #6 (permalink)  
Old 11-23-2005, 04:32 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
Red face some of it works, some doesnt

Ok i have tried a few different sollutions and this one comes the closest to what i wanted.


http://www.kittennteddy.com


Yep i put it online so you can see my problem (a huge scroll bar on the right)

everything is about right, except for a scroll bar dang this turns out to be harder than i thought.

help me my wife wants a divorce !!!
__________________
Im learning, but i still need help.
Reply With Quote
  #7 (permalink)  
Old 11-23-2005, 07:22 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
Thumbs up problem solved ! sort of

Ok i found a solution, you guy's made me look beyond my screen and i found a BACKGROUND!!!


it was that simple, made one of my pictures the background of the table and placed another table on top of it in which i placed my object.

Not what i wanted but until i get my masters in web building, it will do.

thanks guys for taking the time to assist me in yet another hopelesly lost project.



__________________
Im learning, but i still need help.
Reply With Quote
  #8 (permalink)  
Old 11-23-2005, 10:04 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Exclamation

Quote:
Originally Posted by seccondbest
help me my wife wants a divorce !!!
Hmm, can I meet her somewhere?
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
  #9 (permalink)  
Old 11-24-2005, 03:22 AM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
wife

Dude for your sake, if you do meet my wife, you better be a master in webbuilding.

My wife has her standards high lol


naww i think i will hold on to her, shes kinda cute.

thanks for all the help here tho
__________________
Im learning, but i still need help.
Reply With Quote
  #10 (permalink)  
Old 11-24-2005, 03:27 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Oh yeah... if she's getting upset with the vertical scrollbar, why not adjust your resolution to something greater, and that should resolve the issue! (I know that would help you on your end by keeping your wife and all, but everyone else with 1024x768 will still see it.)
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
from table to circle in Macromedia Fireworks MX 2004 gilgalbiblewhee Graphics and Flash 1 10-13-2005 09:26 PM
tables and css sammyT Programming and Scripting 2 10-08-2005 02:57 AM
Interesting table behavior in IE6 frankvw Programming and Scripting 2 03-22-2005 10:32 AM
Translucent table background Ice_Man Programming and Scripting 2 03-01-2005 04:40 PM
Avoiding div layer to resize table to accomodate flash in Internet Explorer Redwizz Programming and Scripting 1 01-18-2005 07:02 PM


All times are GMT -5. The time now is 10:32 AM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter