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 3 1767
On Thu, 7 Oct 2004 17:28:37 +0100, luke <lu*********@no emailspam.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.
"Neal" <ne*****@yahoo. com> wrote in message
news:op******** ******@news.ind ividual.net... On Thu, 7 Oct 2004 17:28:37 +0100, luke <lu*********@no emailspam.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
On Thu, 7 Oct 2004 18:43:29 +0100, luke <lu*********@no emailspam.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... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 size should be undefined. Depending on the retrieved (lets say 2nd) webpage the frame should take as much space
as it needs to display the whole sub web page without vertical scrollbar.
If I implement it like below a vertical scrollbar for each of...
|
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 (i.e. put back in the frameset if not within
frameset).
I have written the following so far:
|
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 elementary HTML and CSS code, how do I create a
simple "framelike" main page without being evil?
where definition of "how" is
--Example of a skeleton HTML template
|
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 event, I would like to call an
asp.net page, and passing in the text box value as a query string parameter
(http://mysite/mypage.aspx?id=x) and display the result in the "result"
frame. I couldn't find a way to do it. Please give me some pointer on how...
|
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 sporadically without message.
It's not possible to debug in visual studio, i get no exceptions
(application is terminated unexpectedly without message).
| |
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 again.
What I want is to take an element from an inline frame and transfer it
to the parent for insertion into the parent document for display. This
works just fine in FF, but of course craps out in IE. Does anyone know
if there is a way to do...
|
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 + HTML with a primary or entry
page that shows three panels (panes, subsections, frames, pages,
whatever): A, B, C.
A = Header of the page, i.e., fixed content, across the top
|
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 'scrolling="no"'
and the right one 'scrolling="auto"'. For the left frame it is important
to know if the right frame has a horizontal scrollbar and how sick it
is. So I have tried to compare the viewport of both frames.
|
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 cases, Is there any easy way to find ou the number of frames with out looking in to the code?
Any of your advice would be much appreciated
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| | |