Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
browser/resolution conflicts are messing up my css positions
Old 05-25-2006, 07:19 PM browser/resolution conflicts are messing up my css positions
Novice Talker

Posts: 9
Trades: 0
I think the problem is me... and that I haven't coded this properly.

http://burstserial.com

Check the front page.

There are two objects.

1) entry.jpg - site logo, link to enter
2) intro2.swf - flash animation

I want these locked to the bottom of the page with the picture on top of the flash. On my monitor 1280 x 1040 it looks fine, like this (which is how I want it):



Now on a 1024 x 768 monitor, it gets all messed up, you only see the bottom of the page, with no scrollbar.



If I change the tags from absolute position to relative position, it looks ok on a smaller monitor, but now floats off the bottom on the larger monitor.

So I'm open to any suggestions. I have these two elements that I want stacked on top of each other, down the center, and locked to the page bottom.

Right now, they are centered using a table. The table is positioned with
Code:
<div style="position:absolute; bottom:0px;">the table containing the elements</div>
which is obviously not an elegant way to do this

Thanks for any ideas...

Last edited by HMS Bounty; 05-25-2006 at 07:22 PM..
HMS Bounty is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2006, 09:58 PM Re: browser/resolution conflicts are messing up my css positions
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
Try setting your Flash file dimensions to percentages rather than fixed pixels.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 05-26-2006, 09:51 AM Re: browser/resolution conflicts are messing up my css positions
Novice Talker

Posts: 9
Trades: 0
that's a great idea... thank you

i tried it out and everything displays fine in IE

but in Firefox, whenever I use % instead of pixels to size the embedded Flash, it shrinks down to a tiny little thing! No matter if I use 90% or 50%, it is very very small.

arggggggggggghhhhhhhhhhhhh. browsers!
HMS Bounty is offline
Reply With Quote
View Public Profile
 
Old 05-26-2006, 10:02 AM Re: browser/resolution conflicts are messing up my css positions
Novice Talker

Posts: 9
Trades: 0
ps - if anyone checks the link now, I took out the positioning tag, and am not using percentages either...

I gave up on having it tied to the bottom of the page, just too many problems with display.

so now the image and flash are just in the center of the page, fixed in size... if someone is on a smaller browser window, they can just scroll down to see the bottom of the animation if they want
HMS Bounty is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to browser/resolution conflicts are messing up my css positions
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13526 seconds with 12 queries