473,396 Members | 2,018 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,396 software developers and data experts.

Help with table positioning

Can someone please help with table positioning on this page
http://rmhh.co.uk/occup/Test3.html

It parses fine for me and nearly all my users, but some, using IE6 and NS7.1
report row misalignment and overlapping on header and footer. It's driving me
nuts, but I want to migrate from tables to all CSS to reduce filesize.

The relevant Style follows:-

#columnleft {
float: left;
width: 240px;
}

#columnright {
position: absolute: left;
}

#header {
position: absolute;
top: 0;
left: 0;
width: 790px;
color: #808000;
font-family: "Comic Sans MS";
font-size: smaller;
}

#columnleft {
position: relative;
left: 16px;
}
#footer {
position: relative;
left: 14px;
}
..head {
font-family: "Comic Sans MS";
font-size: larger;
font-style: normal;
color: #808000;
text-decoration: underline;
}

Jul 20 '05 #1
3 4654
Roamer wrote:
Can someone please help with table positioning on this page
http://rmhh.co.uk/occup/Test3.html

It parses fine for me and nearly all my users, but some, using IE6 and NS7.1
report row misalignment and overlapping on header and footer. It's driving me
nuts, but I want to migrate from tables to all CSS to reduce filesize.


This is tabular data. A table is the correct element to use for this. A
properly marked-up table would probably take less space and be easier to
style - see http://billericaychoral.org.uk/past for an example.

Are you trying to reduce file size as stored on disk, or bandwidth? If
the latter, and you have any control over your server, you could try
setting it up to gzip the output, which is not currently done. This
would reduce the transmitted size of the file you supply to just 35% of
original.

Of course, getting rid of that irritating and quite low quality 40KB
animated flag would help!

--
Mark.
Jul 20 '05 #2
Roamer wrote:
Can someone please help with table positioning on this page
http://rmhh.co.uk/occup/Test3.html

It parses fine for me and nearly all my users,


The W3C checker disagrees

http://validator.w3.org/check?uri=ht...p%2FTest3.html

HTML 4.01 Strict is probably a better doctype to aim for as well, unless
you really need anything from Transitional.

I'd take a closer look at how you're marking this up, too. At the
moment, the word and its definition aren't logically linked to one
another, which is why you're getting alignment problems - there's no way
for the browser to know that a definition should be kept alongside a
particular word. Maybe a definition list would be more appropriate here?
http://www.w3schools.com/tags/tag_dl.asp

P
Jul 20 '05 #3
Thanks to Mark & Phil for your replies.
I'll work on it and gzip the output of
all my other pages, This one was a test
to see if I could better the download
time for the many dial-ups who use my
Genealogy site.

Your advice much appreciated

R

Jul 20 '05 #4

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

Similar topics

2
by: Stephen Weatherly | last post by:
Could anyone please help me with a problem I am having with my table widths??? If I have 2 images within a td tag, but using CSS relative positioning I position one over the top of the second (I...
4
by: Jane Withnolastname | last post by:
I am trying to re-work an old site by replacing the html with css. On the main page, I have a logo image which I needed centred on the initial screen. I found the solution here:...
20
by: Tyler Carver | last post by:
I would like to do something that seems so basic with two div's but I don't think it can be done. Tables can do it in a snap. I was convinced that css was the way to go for layout but without...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
7
by: ALI-R | last post by:
Hi All, I have two user controls (header and footer) ,,which I've placed in an HTML Table in a page.I set the **align="center"** in the table and the table still is on the left side of the page...
2
by: Joey | last post by:
Hello all, I have been designing a site where the main content is enclosed in one table, and that table needs to be centered (the centering is done by using another container such as a div or...
5
by: Howard | last post by:
I have seen a lot of examples of 2 & 3 Collumn layout schemes. But I have not yet found any examples for positioning images and centering them by the browser. I notice that there are CSS...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
7
by: Allie | last post by:
Here's an example of what I'm trying to do: <table> <tr style="text-align:left; font-size:10pt; font-weight:bold"> <!-- I want this word to align to the left --> ' ||CRPT|| ' <!-- I want this...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...

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.