473,803 Members | 3,857 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

unordered list centering with IE6 for Win

The subject says it all my friends. I have searched google to death
about centering problems and for some reason no one seems to have the
error I have. For the past few days I have been working on a website
for a non-profit club and I and they were happy with the design and
layout.
I did not discover a problem with what I had until I was testing all
browsers for compatibility. The following page
http://www.umsis.miami.edu/~jarchie/page/index.html will render just
the way I want it in Mozilla, which seems to be always the case. When
I checked it in IE6 for Win I noticed the problem.
The menu bar seems to hug the right side edge of the <td> it had been
placed in. I want it to be centered. Now, I have tried every trick I
know of for centering... placeing the unordered list with a div tag,
and then even placing that within another div tag, but it seems that
the same results comes through. I'd appreciate any feedback, links,
FAQs, or smoke signals on the issue.

Regards,

JT Archie
Jul 20 '05 #1
4 2271
Justin Archie wrote:
I'd appreciate any feedback, links,
FAQs, or smoke signals on the issue.


Don't use tables for layout, and fix the HTML errors. Then ask again.

http://validator.w3.org/check?verbos...age/index.html

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #2
The only reason I used table initially was because I had done this
using pure CSS for the layout, but it was causing even more problems,
and I needed a faster way to do this.

Mark Tranchant <ma**@tranchant .plus.com> wrote in message news:<41******* *************** *@ptn-nntp-reader04.plus.n et>...
Justin Archie wrote:
I'd appreciate any feedback, links,
FAQs, or smoke signals on the issue.


Don't use tables for layout, and fix the HTML errors. Then ask again.

http://validator.w3.org/check?verbos...age/index.html

Jul 20 '05 #3
> Mark Tranchant <ma**@tranchant .plus.com> wrote in message news:<41******* *************** *@ptn-nntp-reader04.plus.n et>...
Justin Archie wrote:

I'd appreciate any feedback, links,
FAQs, or smoke signals on the issue.
Don't use tables for layout, and fix the HTML errors. Then ask again.

http://validator.w3.org/check?verbos...age/index.html


Justin Archie top-posted: The only reason I used table initially was because I had done this
using pure CSS for the layout, but it was causing even more problems,
and I needed a faster way to do this.


That shouldn't be hard to do in CSS. Have another go, and pop back again.

If you must used fixed-with table layout, why not do it properly and
centre the menu bar using two thin spacer columns either side?

My point about validation still holds, though. The errors shown appear
fairly trivial, but getting rid of them is equally trivial.

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #4
I ahve fixed it. The final result can be seen at
http://www.flcoastwaterpolo.com . I know the layout looks 1996ish, but
it needed to be quick and simple for the people I made it for.

The CSS that I finally did do on the site makes sense to me, but then
I also have a bit of trouble of understanding why it is the the only
form of header, left column, right column, and footer that seemed to
work correctly. I tried ever header, 2 column, and footer CSS design I
could find on the www to fit the CSS. I even used
http://www.csscreator.com layout generator. Nothing seemed to hold its
form.

My final result came to having the two columns -- having the menu
float to the left and then set the content colum in (by margin-left)
the width of the menu. Can anyone explain to me why this works and
nothing else did?

Regards

Mark Tranchant <ma**@tranchant .plus.com> wrote in message news:<41******* *************** *@ptn-nntp-reader04.plus.n et>...
Mark Tranchant <ma**@tranchant .plus.com> wrote in message news:<41******* *************** *@ptn-nntp-reader04.plus.n et>...
Justin Archie wrote:
I'd appreciate any feedback, links,
FAQs, or smoke signals on the issue.

Don't use tables for layout, and fix the HTML errors. Then ask again.

http://validator.w3.org/check?verbos...age/index.html


Justin Archie top-posted:
> The only reason I used table initially was because I had done this
> using pure CSS for the layout, but it was causing even more problems,
> and I needed a faster way to do this.


That shouldn't be hard to do in CSS. Have another go, and pop back again.

If you must used fixed-with table layout, why not do it properly and
centre the menu bar using two thin spacer columns either side?

My point about validation still holds, though. The errors shown appear
fairly trivial, but getting rid of them is equally trivial.

Jul 20 '05 #5

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

Similar topics

9
7242
by: Pierre Jelenc | last post by:
Is there a way to center (horizontally) a UL list of unknown width? I can put it in a DIV that's centered with "margin-left: auto; margin-right: auto;" but I then have to specify a width; otherwise the auto values get set to 0 and there is no centering. The list is generated dynamically, and there is no way to tell in advance how long each item is going to be. Alternatively, is there a good formula to determine with a reasonable...
3
6122
by: yawnmoth | last post by:
I'm trying to center list elements in a webpage I'm working on, and setting margin-left to auto for ol (or ul) seems to prevent the number (or bullet) from displaying in IE6 (strict mode) and Opera7 (it works fine in Firefox). Any ideas as to why and what I might do to fix it? I've set up a little demonstration of the problem here: http://www.frostjedi.com/terra/dev/test.html It's set up to render in quirks mode to demonstrate that it...
5
2314
by: ibiza | last post by:
Hi all, I have a question which I have no ideal of the answer...I am currently working on a web application and at some time, I have a string representing a short text. This could be a simple example : "This is my list :\n\r-list item 1\n\r-list item 2\n\r-list item 3\n\r\n\rThis was a great list." Let's say this outputs like that :
1
1086
by: simplico | last post by:
I'm creating an unordered list that fits in a defined width on the left side of the page. It works fine in FF but IE is another story. Here is a watered-down version of the code: <html> <head> <title>Untitled</title> <style type="text/css"> * {margin: 0px; padding: 0px; border: 0px; border: 1px solid
3
3499
by: User | last post by:
Hi, Is it possible to transform Ordered/Unordered list into navigation dropdown menus? Is this effect achieved by CSS? or via Javascript? PLease advise Thanks.
2
1504
by: akapsycho | last post by:
I'm struggling slowly through this CSS but I'm getting it bit by bit. I've looked around and can't seem to find any solution that centers the list items in my unordered list. It's a 100% width ul and can be found at http://www.antiriddle.com/test. Any ideas?
2
2178
by: torweb | last post by:
I'm using an image for an unordered list, which works fine. The problem is, the image is also appearing in my numbered "ordered list." Here is my code for the unordered list:...and thanks in advance: ul { font-family: Arial; font-size: 12px; color: #424E51; font-style: normal line-height: 17px; font-weight: normal; font-variant: normal;
2
2225
by: asc4john | last post by:
When including an unordered list in an unordered list: Should it be included as a "list" item as in: <ul><liitem</ li><ul.... </ul<liitem</li</ul> or included in the LI element as in: <ul><liitem</li<li<ul... </ul></li></ul>? or does it matter?
0
9564
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
10546
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
7603
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
6841
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
5498
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
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
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
3796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
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.