473,473 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Overlapping text when using css.

Hello group!
On a webpage I am working on, which is at the moment, just a template for a
site I am going to be setting up. I do intend to use xhtml 1.1 and css. The
problem is that I can't get the layout to work, I have tried various
techniques but they just don't seem to work (hey i am a newbie to web design
:-D). The address in question is
http://www.huff.org.uk/bs18/18layouttemplate.html. It validates and all
works correctly, but I want to get the copyright message etc pushed right
down to the bottom of the page (centre). I have set it up as div "footer".
It does look at big ugly at the moment, but I want to get the actual
positioning of the elements out the way before I start prettying it up.

Thanks all in advance

Nick.
Jul 20 '05 #1
1 5172
Els
Nick Evans wrote:
The address in question is
http://www.huff.org.uk/bs18/18layouttemplate.html. It validates and all
works correctly, but I want to get the copyright message etc pushed right
down to the bottom of the page (centre). I have set it up as div "footer".
It does look at big ugly at the moment, but I want to get the actual
positioning of the elements out the way before I start prettying it up.


Your stylesheet:
body {background:#ECECEC url(18pluslogoback.gif;) no-repeat
fixed;}
#menu {position: absolute; top: 250px left: 2%;}
#menu a {display:block;}
#content {position: absolute; top 0px; left: 30%;}
#footer {position: absolute; bottom: 0%; left: 30%;}
h1 {color:#01172E}

By setting all elements to position:absolute, you take them
out of the normal flow, hence, they won't 'see' each other,
and will overlap whenever they like.
Make the window smaller and bigger and see how they stick to
the place you gave them, no matter what.

Have a look at floating.
http://www.w3.org/TR/2004/CR-CSS21-2...suren.html#q27
http://css.maxdesign.com.au/floatutorial/

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #2

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

Similar topics

9
by: Jonathan Joseph | last post by:
I have a laptop with a very high pixel density (1920x1200) in a 15.5" monitor. Therfore, in my web browser (Mozilla) I set the minimum and default font sizes I want to see to be 24 pixels. ...
2
by: Daphne Tregear | last post by:
Is there every anything other than woe with IE...? I'm working on a redesign for my hobby pages in my personal home space before re-exporting them back to where they belong. I've based the...
0
by: Chris Q. | last post by:
I am creating a custom control that contains a list view with dates and times. I need to make sure that times do not overlap. I would like the control to determine if the overlap is occuring with the...
2
by: Kalvin | last post by:
I am very new to CSS and am trying to set up 2 divs in the same space on the page. The idea is that div1 will be an informational message only displayed sometimes. When there isn't a message to...
3
by: Harry Whitehouse | last post by:
I've put up a few simple ASPX pages and they seem to display fine on all of the IE versions in my office, but periodically I hear from a remote user that the various text elements (distinct...
4
by: Charlie Brown | last post by:
I have a form with 2 custom controls that can be dragged around by a user. How can I check if they overlap each other without performing some kind of Collision detection on them? Is there...
2
by: monadel | last post by:
I have a problem with checking the overlapping date. Basically I am developing a database using MS Access (VB scripts) and SQL queries. I have 2 tables which are empTable and empLeaveTable. In a...
2
by: Liam Gibbs | last post by:
Hello everyone. I'm having a problem with a web page. What I have is one DIV (a header) overlapping the border around another DIV (a menu block). I want this, because I want to put this header...
0
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. ...
2
by: manugm1987 | last post by:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"><!--...
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...
1
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...
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...
0
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,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
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.