473,790 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS Layout (Bottom of 'page')

Im trying to do something which I hoped would be alot easier than it seems.

Im trying to design the layout of the page in CSS to avoid table, etc but
having problems making the bottom "fade" background actually stick to the
bottom of the page.

Try making your browser window small... then scroll down & see how ugly it
looks.
....now try resizing your browser & notice the wierd behavior.
It also reacts differently in IE & FF (Which is the only 2 I normally test
on)

Does anyone know of a way to make the "fade out" background stick to the
bottom of the 'page' instead of resizing to the bottom of the browser
viewing area?

Here is a link to a webpage:
www.genzzry.com/index.php

Here is a link to the CSS:
www.genzzry.com/css/default.css
Another problem with the page is:
FireFox stops "crunching" the page when the top (white) and bottom (red)
images touch eachother (as defined by "body.min-height: 198px;"... IE doesnt
and lets the bottom image overlap the top one... how do I stop IE
"crunching" the page more than a min height?
Sep 17 '06 #1
7 2178
"Trammel" <Me@Server.comw rote in message
news:u0******** ********@fe1.ne ws.blueyonder.c o.uk...
Im trying to do something which I hoped would be alot easier than it
seems.
>
Im trying to design the layout of the page in CSS to avoid table, etc but
having problems making the bottom "fade" background actually stick to the
bottom of the page.

Try making your browser window small... then scroll down & see how ugly it
looks.
...now try resizing your browser & notice the wierd behavior.
It also reacts differently in IE & FF (Which is the only 2 I normally test
on)

Does anyone know of a way to make the "fade out" background stick to the
bottom of the 'page' instead of resizing to the bottom of the browser
viewing area?

Here is a link to a webpage:
www.genzzry.com/index.php

Here is a link to the CSS:
www.genzzry.com/css/default.css
Another problem with the page is:
FireFox stops "crunching" the page when the top (white) and bottom (red)
images touch eachother (as defined by "body.min-height: 198px;"... IE
doesnt
and lets the bottom image overlap the top one... how do I stop IE
"crunching" the page more than a min height?
....and before anyone complains how ugly/busy the backround looks...
especially the non-matching colors, etc... they are debug versions of the
'image' until I/we get them to align as I require ;-)
Sep 17 '06 #2
"Trammel" <Me@Server.comw rote:
>Does anyone know of a way to make the "fade out" background stick to the
bottom of the 'page' instead of resizing to the bottom of the browser
viewing area?

Here is a link to a webpage:
www.genzzry.com/index.php

Here is a link to the CSS:
www.genzzry.com/css/default.css
There would have been no need to post a link to a separate CSS file if
you had been considerate and included the CSS in the head of the HTML
document.

Newly authored web pages should use a Strict doctype.
If your PHP is configured to scan for cache settings at all, it is
inefficient and illogical to specify that using a meta declaration in
each HTML document.
Most attempts to prevent caching are misguided, see
http://www.mnot.net/cache_docs/
Your meta content aimed at SEs serves no purpose, no relevant SE uses it
anymore.
An HTML comment has two dashes, not three.
Your mixed case tags are a nuisance to read.
It's been a while since I've seen a background as irritating as yours,
text will be nigh unreadable.
PNG or Gif is a much more suitable image format than JPEG for the
background images.
None of the following CSS properties for "#bgdivt" and "#bgdivb" are
needed:
"max-height:99px;min-height:99px;bor der:0;padding:0 ;border-spacing:0"
None of the following CSS properties for "html" and "body" are needed:
"height:100%;wi dth:100%;min-height:198px".

Finally the issue that you asked about, you need "position:fixed ", not
"position:absol ute" for "#bgdivt" and "#bgdivb". Note that
"position:fixed " is not supported by IE6.

--
Spartanicus
Sep 17 '06 #3
"Spartanicu s" <in*****@invali d.invalidwrote in message
news:tn******** *************** *********@4ax.c om...
"Trammel" <Me@Server.comw rote:
Does anyone know of a way to make the "fade out" background stick to the
bottom of the 'page' instead of resizing to the bottom of the browser
viewing area?

Here is a link to a webpage:
www.genzzry.com/index.php

Here is a link to the CSS:
www.genzzry.com/css/default.css

There would have been no need to post a link to a separate CSS file if
you had been considerate and included the CSS in the head of the HTML
document.

Newly authored web pages should use a Strict doctype.
If your PHP is configured to scan for cache settings at all, it is
inefficient and illogical to specify that using a meta declaration in
each HTML document.
Most attempts to prevent caching are misguided, see
http://www.mnot.net/cache_docs/
Your meta content aimed at SEs serves no purpose, no relevant SE uses it
anymore.
An HTML comment has two dashes, not three.
Your mixed case tags are a nuisance to read.
It's been a while since I've seen a background as irritating as yours,
text will be nigh unreadable.
PNG or Gif is a much more suitable image format than JPEG for the
background images.
None of the following CSS properties for "#bgdivt" and "#bgdivb" are
needed:
"max-height:99px;min-height:99px;bor der:0;padding:0 ;border-spacing:0"
None of the following CSS properties for "html" and "body" are needed:
"height:100%;wi dth:100%;min-height:198px".

Finally the issue that you asked about, you need "position:fixed ", not
"position:absol ute" for "#bgdivt" and "#bgdivb". Note that
"position:fixed " is not supported by IE6.
Wow... thats alot of spam to say you cant help with the question asked &
didnt read a "reply" that I posted 4mins after the original question :¬/

Ok... so you COULD help with the original question (maybe) if I didnt care
about all the IE users getting a messed-up page the same (or worse) than my
CSS does :¬/

If you cant help with the question or dont know how to do it in a browser
that was specified... then please dont respond. The webpage has obviously
just started construction and has alot of debug-related stuff I was testing
that would be taken out... but you would have noticed that had you read the
follow-up I posted as a reply to my thread after only 4 minutes to deter
useless comments such as yours.

I am attempting to fix a layout issue for something that I dont know is even
possible... I failed so I asked a group where people that are better than me
may be able to help. I dont need assistance to make my site unusable in IE
thanks... I could do that all by myself ;¬)
Sep 18 '06 #4
"Trammel" <Me@Server.comw rote in message
news:QT******** *********@fe1.n ews.blueyonder. co.uk...
"Spartanicu s" <in*****@invali d.invalidwrote in message
news:tn******** *************** *********@4ax.c om...
"Trammel" <Me@Server.comw rote:
>Does anyone know of a way to make the "fade out" background stick to
the
>bottom of the 'page' instead of resizing to the bottom of the browser
>viewing area?
>
>Here is a link to a webpage:
>www.genzzry.com/index.php
>
>Here is a link to the CSS:
>www.genzzry.com/css/default.css
There would have been no need to post a link to a separate CSS file if
you had been considerate and included the CSS in the head of the HTML
document.

Newly authored web pages should use a Strict doctype.
If your PHP is configured to scan for cache settings at all, it is
inefficient and illogical to specify that using a meta declaration in
each HTML document.
Most attempts to prevent caching are misguided, see
http://www.mnot.net/cache_docs/
Your meta content aimed at SEs serves no purpose, no relevant SE uses it
anymore.
An HTML comment has two dashes, not three.
Your mixed case tags are a nuisance to read.
It's been a while since I've seen a background as irritating as yours,
text will be nigh unreadable.
PNG or Gif is a much more suitable image format than JPEG for the
background images.
None of the following CSS properties for "#bgdivt" and "#bgdivb" are
needed:
"max-height:99px;min-height:99px;bor der:0;padding:0 ;border-spacing:0"
None of the following CSS properties for "html" and "body" are needed:
"height:100%;wi dth:100%;min-height:198px".

Finally the issue that you asked about, you need "position:fixed ", not
"position:absol ute" for "#bgdivt" and "#bgdivb". Note that
"position:fixed " is not supported by IE6.

Wow... thats alot of spam to say you cant help with the question asked &
didnt read a "reply" that I posted 4mins after the original question :¬/

Ok... so you COULD help with the original question (maybe) if I didnt care
about all the IE users getting a messed-up page the same (or worse) than
my
CSS does :¬/

If you cant help with the question or dont know how to do it in a browser
that was specified... then please dont respond. The webpage has obviously
just started construction and has alot of debug-related stuff I was
testing
that would be taken out... but you would have noticed that had you read
the
follow-up I posted as a reply to my thread after only 4 minutes to deter
useless comments such as yours.

I am attempting to fix a layout issue for something that I dont know is
even
possible... I failed so I asked a group where people that are better than
me
may be able to help. I dont need assistance to make my site unusable in
IE
thanks... I could do that all by myself ;¬)
Oh yeah... and if I had wanted to make the page unusable in IE... then I
would have used a table for formatting as everything other than IE displayed
it correctly with the top/bottom rows the right size and the middle portion
as variable (fluid)... hence the "extra garbage" that does nothing in the
CSS for #bgdivt & #bgdivb and points to them being used to test a
table-based layout at some point before ditching the idea.
Sep 18 '06 #5
Trammel wrote:
If you cant help with the question or dont know how to do it in a browser
that was specified... then please dont respond.
As usual: This is a discussion newsgroup, no help desk.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Sep 18 '06 #6
"Johannes Koch" <ko**@w3develop ment.dewrote in message
news:45******** *************** @authen.yellow. readfreenews.ne t...
Trammel wrote:
If you cant help with the question or dont know how to do it in a
browser
that was specified... then please dont respond.

As usual: This is a discussion newsgroup, no help desk.
Strange how some people say that when they cant help or have nothing to add
to the subject / query...
....even though there are no discussions because the subject is too hard for
them or impossible to do :¬/
Sep 18 '06 #7
"Trammel" <Me@Server.comw rote in message
news:7e******** *********@fe3.n ews.blueyonder. co.uk...
"Johannes Koch" <ko**@w3develop ment.dewrote in message
news:45******** *************** @authen.yellow. readfreenews.ne t...
Trammel wrote:
If you cant help with the question or dont know how to do it in a
browser
that was specified... then please dont respond.
As usual: This is a discussion newsgroup, no help desk.

Strange how some people say that when they cant help or have nothing to
add
to the subject / query...
...even though there are no discussions because the subject is too hard
for
them or impossible to do :¬/
For the "discussion " part... the "correct" reply would have been.something
like:

"Sorry, I have no idea... but here is how you could do it if you didnt care
about IE users:
blah, blah...
Anyone else got ideas on if this is even possible or not?"

Listing a loads of test-related code as "wrong" isnt helpful to anyone... it
had nothing to do with the topic or subject of the "discussion ". It also
showed the follow-up post in the "discussion " hadnt been read.

..Your reply is simple:
"No idea. (I just thought I'd post to say that Im alive though ;¬)"

Pity that everything isn't worded to peoples liking, huh? :¬s
Sep 18 '06 #8

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

Similar topics

82
10724
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | | | | | | | | left | center | right | | | | | | | | |
2
2606
by: CJM | last post by:
I'm developing a site for a charity which I am aiming to make standards-compliant, accessible and cross-browser compatible. I'm doing OK so far and have the workings of a respectable site, but I still have a few little niggly problems: Site: http://www.aif-advocacy.org.uk/index.asp CSS: http://www.aif-advocacy.org.uk/aif.css
1
2060
by: Gordon McVey | last post by:
I've been working at this web company for a while now (mainly on PHP stuff) who are developing a website. The big problem with this site is that it's all in Flash and uses some really dumb design. So I'm trying to lobby for the scrapping of the Flash design in favour of a cleaner layout that is based on HTML and entirely standards compliant. The problem is that in order to stand even a remote chance of convincing them (I've already used...
3
2699
by: googlegroups | last post by:
Here is the HTML I am trying to get working. In firefox, the HTML fills the entire window with a scrollbar in the red div. I can resize the page and the page is still completely filled. However, when I go to internet explorer and try it, it appears that it ignores bottom and right and as a result does not fill the entire screen. I would like this to work in IE the same as it does in firefox. Can someone suggest some better styles? ...
15
2325
by: Tamblyne | last post by:
This problem has got to have a simple solution and I can't be the first person who has ever handled it. Perhaps Google is no help because I'm not using the right terms? (I did find one post on-point, but no one responded to it.) I have a two column layout with a header and a footer. If the "content" is longer than the "navigation", there is no problem. However, if the content is shorter than the navigation, the navigation menus...
7
2818
by: PB | last post by:
Hi, I need some CSS layout guidance because I think I've been staring at this too long! I designed my layout using Photoshop, then sliced everything up and saved as a CSS web page. My problem arises when I started re-coding the html and CSS. My graphics begin to break up at the bottom with large gaps and wrong
0
2765
by: lucretia | last post by:
Hi, I've created a layout for an Ajax side that is "single paged" in that when the browser is resized, so is the page. The header is locked to the top, the right panel is locked to the right side and the footer is locked to the bottom leaving the main content area as a scrollable resiable area in the centre of the window. This works as expected in FF, Opera, IE7, but not in IE6. the problem with IE6 is that positioning using left and...
1
3060
by: jonhrs | last post by:
Hi, I have an intranet page which will be used by IE users only, primarily IE6 users. The problem is with the two column layout I have is that if there's a wide element in the main content of the page which is wider than the size of the window, the wide content drops to the bottom of the page. Can anyone assist with a simple way to overcome this? Thanks in advance.
12
1842
by: dmorand | last post by:
I'm trying to get a 3 column layout with equal widths. Here is my page: domosworld.net I want it so the two gray borders in the middle always extend to the bottom of the page. I have it setup right now to have borders on the right/left of the main content in the middle, but I'm afraid that the right bar might have more content than the middle. What's the best way to get this to work? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...
0
9666
marktang
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...
0
9021
agi2029
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...
1
7530
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
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();...
0
5422
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...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
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
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.