473,394 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Is this possible, without frames?

http://soccer.org/

notice how there's a background image at either side of the main content
area. This background area keeps it's position without creating horizontal
scrollbars and just dissapears behind the edges of the browser on smaller
screens.

This sites uses frames to acheive this, is it possible to do such a thing
without them? I'm unable to think of one
Jul 20 '05 #1
3 1752
On Thu, 7 Oct 2004 17:28:37 +0100, luke <lu*********@noemailspam.com>
wrote:
http://soccer.org/

notice how there's a background image at either side of the main content
area. This background area keeps it's position without creating
horizontal
scrollbars and just dissapears behind the edges of the browser on smaller
screens.
And if the viewport is any narrower than about 800px, portions of the site
are hidden with no scrollbars even. Very poor design.
This sites uses frames to acheive this, is it possible to do such a thing
without them? I'm unable to think of one


First, a better option is to not use a fixed width. Fixed width designs
are invariably too wide for some (invokes horizontal scrollbars, or as we
see above, worse) and too narrow for others (having perhaps a quarter of
viewport space unused, split up on either side of the content). Using a
fluid design eliminates this, allowing the design to flex for all users.

Second, if you really must use a fixed width, use the background-image
property on body to set a background, then set the width to the nested div
containing content. More complicated things can be done too, if you're
willing to be tricky about it.
Jul 20 '05 #2
"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
On Thu, 7 Oct 2004 17:28:37 +0100, luke <lu*********@noemailspam.com>
wrote:
Second, if you really must use a fixed width, use the background-image
property on body to set a background, then set the width to the nested div
containing content. More complicated things can be done too, if you're
willing to be tricky about it.


thanks

body {
background-image: url(bg.jpg);
background-position: center top;
background-repeat: np-repeat;
}

seems to work good. Can I ask what other complicated things you are refering
to? I'm willing to play around

Jul 20 '05 #3
On Thu, 7 Oct 2004 18:43:29 +0100, luke <lu*********@noemailspam.com>
wrote:
Can I ask what other complicated things you are refering
to? I'm willing to play around


Well, half the fun is in the discovery. Here's a starting point:

http://www.alistapart.com/articles/customcorners/

Play on...
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Don Schneider | last post by:
I tried to setup a frameset which consists of 4 different subframes. Each of these subframes should fetch a different web page from the internet and display it completely (!). BUT: the vertical...
2
by: relaxedrob | last post by:
Hi All! I have a frameset document and I want each mainFrame document to have the following ability: - be viewed by itself (i.e. without frames if within frameset). - be viewed within frame...
5
by: AES/newspost | last post by:
I've just re-scanned most of the 60+ posts in the "Frames are Evil" thread, and my question, as the admittedly and permanently amateur creator and maintainer of a simple site, is: Using only...
4
by: AndrewV | last post by:
I have an html page that has 2 frames ("input" and "result"). In the "input" frame, there is a text box and a button. User enters an id in the text box, then click on the button. In the click...
7
by: Ralf Gedrat | last post by:
Hello! I have some Vb.Net applications, which are terminated at indefinite times without message. If I call in the program regulated system.GC.Collect, then the program is terminated here...
5
by: Logos | last post by:
I'm having trouble with this in IE; annoyingly it works beautifully in FF. My keywords are not specific enough to narrow my search to useful entries on google, way too many hits, so here I am...
5
by: AES | last post by:
Would appreciate being pointed to a template or a sample web site that will show me how to do the following frame-like organization, without using frames. My objective is a web site done in CSS...
2
by: =?ISO-8859-15?Q?Stefan_Br=FCckner?= | last post by:
Hello NG, I'm looking for an solution to find out the real vertical viewport - without the height of horizontal scrollbars. I have two frames side by side. The left one declared...
2
by: Revathi Balakrishnan | last post by:
Hi All Is it possible to find out the number of frames the page contain? For example my page is divided in to three frames using frameset tag, and one of my frame has i frame also. Like such...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.