473,385 Members | 1,908 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,385 software developers and data experts.

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 2259
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.net>...
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.net>...
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.net>...
Mark Tranchant <ma**@tranchant.plus.com> wrote in message news:<41***********************@ptn-nntp-reader04.plus.net>...
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
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...
3
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...
5
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...
1
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>...
3
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
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...
2
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...
2
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:...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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,...

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.