473,804 Members | 3,675 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help using CSS to position content to bottom of page

Hello all -

I'm trying to position content at the bottom of a page (I'd like to anchor it
there). The majority of the code was generated using Photoshop CS and then
hand edited.

I'm having trouble because the top container does not extend the length of
the text block in hold (rubber space?) so when I position my bottom content,
it's in the middle of the page.

This is the page in question: (it validates)
http://www.stereo-link.com/Test/Static/1200Desc.html

The stylesheets(s): (they validate)
http://www.stereo-link.com/Test/CSS/...m-Left-Nav.css
http://www.stereo-link.com/Test/CSS/BodySetup.css
http://www.stereo-link.com/Test/CSS/site-main.css
Can anyone offer some guidance on how I might add content to the bottom of
the page? Thanks.

--chris

Jul 21 '05 #1
3 10498
in comp.infosystem s.www.authoring.stylesheets, chris ciotti wrote:
Hello all -

I'm trying to position content at the bottom of a page (I'd like to anchor it
there). The majority of the code was generated using Photoshop CS and then
hand edited.
Aha. So that is the reason of text images for Arial.

Also notice that heading and top decoration take half page, that content
is only accessible with good luck (maybe 1/3 was clipped from right)

All those much more important things than what you are asking. Let me
guess, you didn't think at all that different people have differently
sized windows? And that my window is maximazed, and I still didn't see
much.
I'm having trouble because the top container does not extend the length of
the text block in hold (rubber space?)
I don't understand your problem, big reason being fundamental problems in
site
so when I position my bottom content, it's in the middle of the page. (it validates)
Which doesn't unfortunately mean anything special.
Can anyone offer some guidance on how I might add content to the bottom of
the page? Thanks.


No, and makes no sence to think about it, as you need to redisign your
site. It has totally bad html (no logical markup), css (absolute
positioning with pixels and widths/heights never works) and javascript
(hover effect don't work, as it takes long time to download button
images). Too many images also, you could drop maybe half.

I could go on 3 pages on what exactly is wrong.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Jul 21 '05 #2
chris ciotti wrote:
Hello all -

I'm trying to position content at the bottom of a page (I'd like to anchor it
there). The majority of the code was generated using Photoshop CS and then
hand edited.
Do you mean fixed by anchor?
I'm having trouble because the top container does not extend the length of
the text block in hold (rubber space?) so when I position my bottom content,
it's in the middle of the page.
Your right div is absolutely positioned. This means that it is not in
the flow and therefore does not contribute to the height - the height is
only as high as the left div in your case. Adding a bottom content
follows (flows) after the left div. Absolute positioning for the right
div is not apropos here.
This is the page in question: (it validates)
http://www.stereo-link.com/Test/Static/1200Desc.html

The stylesheets(s): (they validate)
http://www.stereo-link.com/Test/CSS/...m-Left-Nav.css
http://www.stereo-link.com/Test/CSS/BodySetup.css
http://www.stereo-link.com/Test/CSS/site-main.css
Can anyone offer some guidance on how I might add content to the bottom of
the page? Thanks.


I'm not quite sure of exactly what you want. If you want to include a
section at the bottom of the document, then your (basically) two columns
represented by two divs should have the left div floated left allowing
the right div to flow to the right (prevent shrink-wrapping with a
left-margin value greater than the left div width). Then you add a third
div as your bottom content (footer) with a clear included.

If you wish to have a fixed bottom content, a la frames, then this third
div should include:
positioned:fixe d; bottom:0;
which causes it to remain fixed at the bottom of your viewport when
scrolling.

--
Gus
Jul 21 '05 #3
Thanks Gus for your input. I don't do this sort of work, I'm trying to
help out a friend fix a broken site and your suggestion shed some
necessary light.

Regards,

chris

Jul 21 '05 #4

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

Similar topics

1
13964
by: Glabbeek | last post by:
I'm changing the layout of my site. Instead of using tables, I will use DIVs. It's working fine, except for 1 thing: In IE6 some DIVs are not the correct width. Mozilla and Opera are showing the page the way I want. Does anybody know a solution for this? First of all, the code I am using: CSS ------- body {
27
2646
by: Neil Monk | last post by:
(sorry for x-post but news://macromedia.dreamweaver seem unable to help, which I find astounding.) Hi, I'm VERY new to DW MX 2004 (opk then, I'm new to DW..period!) I'm sipmly trying to do the following: setup a page with 4 divs - 1) div id Logo (top right) 2) div id links (next to logo at the top, so call it top right)
1
1721
by: Anna K. | last post by:
Hi Experts, I'm new to JavaScript and web-based apps development, so I'll tell you right off that I don't really know my way around it as of yet. I'm trying to create a code library set with JavaScript (in DreamweaverMX) to display "buttons" with which to select pages in a gallery. I'm trying to "grey out" (and disable) the button for the current page when it is displayed. (This isn't rocket science here, but it's something that I...
2
3905
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at http://home.pacific.net.sg/~jacksony ? (the drop down bar could not work at www.apchosting.net but can drop at home.pacific.net.sg. I suspect it is a server problem but was told it is not possible, therefore assuming it is a client script problem? the script works last time...
4
2754
by: jereme.goblue | last post by:
The web page at http://www.rossowinspections.com/ has an issue with the left menu. The left menu has 7 links. One of the links doesn't work. Using Firefox 1.5 the Fees link isn't a clickable link, if viewed as a full screen. If you shrink the window down the Fees link then becomes a link. The link works in IE and Mozilla. I've validated the CSS and XHTML, the CSS had no errors, the XHTML has no errors other than the paramaters for the...
2
1992
by: Steve K | last post by:
I got a bit of a problem I like some help on. I'm designing an online training module for people that work in food processing plants. This is my target audience. These workers have little or no computer knowledge at all! And they also have outdated, old browsers, slow modems, old computers, etc. So I need to keep this as simple as possible and as browser compatible as possible. The client wants a navigation bar at the bottom of each...
1
2058
by: jdurden | last post by:
am currently woking on building this site: www.maverick-spirit.com. everything seems to be fine except the press releases page. When you click on one of the press releases in the left column under the menu, nothing comes up. I copied the code for the page directly from the press releases page on our main site: www.maverickentertainment.cc, and it is using an identical database, so I am unsure what is wrong. The issue happens when you...
2
3635
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts" are supposed to be in the font: Georgia, but they are showing up in "Times New Roman"...blah! I can't find anything wrong in the code, but who am I trying to fool? I know nothing about this stuff. The code is below. The parts that I *think*...
0
2850
by: richard12345 | last post by:
Hi Guys I have problem with site I am building. The sidebar with menu and other thinks is overlapping footer. The footer move with the content and but it dos it dos not move with the sidebar. Here is the website: holtz-realty And also the html file and css file. Anny help will by mostly appreciated. I did try everything I can think of. HTML:
0
9585
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,...
0
10586
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10323
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,...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
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
7622
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
5525
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
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.