473,594 Members | 2,885 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4667
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
7744
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 am placing a transparent gif over the top of a normal gif) then the width of my table is large enough to accommodate both images side by side My browsers (both IE ad Firefox) do not appear take into account the relative positioning of my...
4
2696
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: http://www.wpdfd.com/editorial/wpd0103.htm#toptip (the second example) The problem is, under the image is a large table. But using the above positioning, now the table starts at the top of the page and runs underneath the image.
20
3040
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 being able to do even the easiest things, I don't see how. Here is the table way to do the layout (I want this to work in compliance mode in all modern browsers.): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"...
87
9550
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: absolute;top:68px; left:563px; width:640px;height:480px;"> <IMG src="ReportImageBox_12.54.52.png" width=640 height=480></IMG>
7
4165
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 .How can I get the whole page(Table and its user controls) aligned in the center of my page? Thanks for your time in advance. Ali
2
1558
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 table). In the future we might change things so that all content is left-aligned. Okay, now obviously I do not want to "hardcode" all of the master
5
2402
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 properties for Left and Right, but not for Centering. So my question is How does one center an image to the Browser window? I was thinking about converting a page for my friends catering. It's a table center in the
2
16405
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 to overlap correctly. You can see it on this page: www.creativekaysjewelry.com The images overlap exactly how I wanted and in the right position
7
15677
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 link to align to the right --> <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A> </tr>
0
7880
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
8255
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
8010
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,...
1
5739
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
5413
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
3868
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
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1217
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.