Dynadot โ€” .com Transfer

Problems with proportionate black bars top and bottom

SpaceshipSpaceship
Watch
Impact
0
Hi

I am trying to create a web page with black bars at the top and bottom so it looks like the widescreen effect you have on a standard TV when viewing a widescreen film.

I want the sizes of the bars to stay in proportion with the size of the viewers window (even if they resize it).

I want to avoid using frames or a fixed size window. So far I've tried using a table, but the height attribute doesn't seem to like percentages. Basically I want the middle row to contain a flash movie and have a fixed height whilst the top and bottom bars will be automatically resized depending on the window height.

I can't find an easy way of doing this since the height attribute seems to only take into account the values specified in pixels and not percentages. Scripting seems to be the only option.

Does anyone have any ideas on how to achieve this?

Thanks in advance,

Cosette.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back