Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Page within a picture frame

Reply
Thread Tools

Page within a picture frame

 
 
KiwiBrian
Guest
Posts: n/a
 
      03-07-2005
Is it possible to create a page where the content has an ornamental border
simulating a picture frame complete with mitred corners?
And/or if I create a graphic of a picture frame where the centre is white,
can the page content be place over the white central area?
Any ideas, or urls of such pages would be appreciated.
My attempts so far have not been encouraging.
TIA
Brian Tozer



 
Reply With Quote
 
 
 
 
Richard
Guest
Posts: n/a
 
      03-07-2005
On Tue, 8 Mar 2005 07:14:12 +1300 KiwiBrian wrote:

> Is it possible to create a page where the content has an ornamental border
> simulating a picture frame complete with mitred corners?
> And/or if I create a graphic of a picture frame where the centre is white,
> can the page content be place over the white central area?
> Any ideas, or urls of such pages would be appreciated.
> My attempts so far have not been encouraging.
> TIA
> Brian Tozer
>
>


Most likely with an IFRAME.
Set your "frame" in a division with fixed sizes then call up the iframe page
as desired.
Otherwise, you'd need a bit of javascriipt to show and hide other divisions
within the "frame".
Just remember that you will get scrollbars if your iframe page does not fit
the "frame" properly.


 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      03-07-2005
KiwiBrian wrote:

> Is it possible to create a page where the content has an ornamental border
> simulating a picture frame complete with mitred corners?


http://css-discuss.incutio.com/?page=RoundedCorners

The same principles apply, although you will need extra containers to handle
the edges (since I expect you want those as well as graphical corners)

> And/or if I create a graphic of a picture frame where the centre is white,
> can the page content be place over the white central area?


Absolute positioning, height, width and overflow... but don't - fixed width
designs aren't a very good idea at the best of times, and once you start
adding thick borders you'll either have little space left for content, or
nasty horizontal scrolling for many users.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Andy Dingley
Guest
Posts: n/a
 
      03-07-2005
It was somewhere outside Barstow when "Richard" <Anonymous@127.001>
wrote:

>> Is it possible to create a page where the content has an ornamental border
>> simulating a picture frame complete with mitred corners?


>Most likely with an IFRAME.


Ignoring for a moment the fact that you're a moron, and your idea is
almost guaranteed to be rubbish anyway, then an <iframe> would allow
you to include one piece of content in another. For a feature that
might more easily be done by SSI, then it would be an ugly kludge to
set up, but it might even be said to "work".

However the poster was asking about decorating an area on a page.
This is broadly the same problem as the old chestnut of "rounded
corners", which David Dorward has just posted some help on.
Also see this example, posted last week (and read the code)
http://www.masterpiece.co.nz/index.php

Now _how_ does Richard expect an <iframe> to be the slighest help with
this problem ?
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page redirect - and open within a frame OnLiner Javascript 2 03-23-2005 11:05 PM
Help...URL to Open Article in Frame Within Index Page Bongolation HTML 3 05-30-2004 01:48 PM
how to redirect from 3 frame page to single page frame? Zalek Bloom ASP General 1 09-23-2003 02:23 PM
Help taking a picture of a glossy picture (Q-60 profiling) Fanta Digital Photography 3 08-31-2003 09:27 PM
WebForm within a frame of none ASP.NET page Chris Podmore ASP .Net 1 08-15-2003 01:32 PM



Advertisments