You are here: Masking large image into background « HTML « IT news, forums, messages
Masking large image into background

Posted by alokw on 02/26/07 21:40

Hi everyone,

Here's my problem. I'd like to revamp my web site, and I have this
idea.

I want to create essentially a border around the screen of about 100
pixels of just black.

Heres where it gets tricky: In the middle area which is not touched by
the border should be an image that I have created that is excessively
large, like 2000x1200 pixels or so. On a smaller screen, only some of
the 2000x1200 image should be shown - so the image should always be
sized at 100% - the black border is essentially a window into the
image. As the border (browser window) becomes bigger, more of the
image should become visible.

Right in the middle of everything should be a frame of some sort. It
can just be an iframe for all I care, but i want to place the main
content in this.

I'm currently using CSS to drive most of my site, so if it's possible,
I'd like to stick with CSS, but its not a big deal if I can only do
this with straight HTML or java or something.

Thanks for all of your help!
-Alok

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация