Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problems with CSS lists/browser inconcistencies
Old 08-16-2010, 08:15 AM Problems with CSS menu lists/browser inconcistencies
bjornh's Avatar
Novice Talker

Posts: 13
Location: Norway
Trades: 0
Hey,

I've been trying to figure this out for a long time but I'm just not getting anywhere. So I thought I'd try asking for help.

I'm working on a fansite for a game called Diablo 2. I wanted to completely redesign and spent days and weeks learning a lot of things (or trying to learn!) and doing some very tedious copy/pasting. All along the way I tested in Chrome, Opera, IE and Firefox. Some compromises had to be made but that's ok.

While I was working I noticed one error in particular (I know now that there are more; Chrome is the only browser atm which seems to be displaying the contents correctly) - that in IE (no surprise there..) one of the CSS menus isn't displaying the lists right.

A perfect example would be if you opened up the homepage in both IE and another browser (Chrome if you have) - you'll see in the lower right section of the document that in IE, the CSS menus aren't displaying properly, while in Chrome (or whatever other browser you're using) it seems to be ok (another issue I guess is that I use jquery 'show' animation which seems to not be running smoothly in all browsers but that's an easy fix and another matter all together).

I use includes for my documents, and since you won't be able to see that I do by looking at source code from within your browser, here's the file for the css menu in question:

nav_buttons_right.htm

I've been trying to validate it via the validator.w3.org service but I'm not getting any smarter. It's giving me errors and I've manually went through every single tag to see if they close correctly. As far as I can see, they do but I might have missed something.

Maybe it's just that this is more XHTML (the nav_buttons_right.htm file is included into HTML 4.01 Transitional files) and that different browsers just don't know what to do about it? I don't know, I'm pretty stuck.

I don't mean to ask anyone to spend a lot of time helping me out but if some trained eye immediately spots the error, I'd greatly appreciate some feedback. Thanks for listening.
__________________

Please login or register to view this content. Registration is FREE

Last edited by bjornh; 08-16-2010 at 08:30 AM..
bjornh is offline
Reply With Quote
View Public Profile Visit bjornh's homepage!
 
 
Register now for full access!
Old 08-16-2010, 08:47 AM Re: Problems with CSS lists/browser inconcistencies
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
You are using HTML4.01 DOCTYPE but you forgot to add alt tag to every image.

It is all explained in the report of validator.

Good luck
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
CSM is offline
Reply With Quote
View Public Profile Visit CSM's homepage!
 
Old 08-16-2010, 09:48 AM Re: Problems with CSS lists/browser inconcistencies
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
you forgot to add alt tag to every image
It's not a TAG it's an ATTRIBUTE

You've got some errors in your nested lists. I suggest you focus your efforts there first.

You really do need to dump the tables for layout, join the 21st century of web building
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-16-2010, 10:03 AM Re: Problems with CSS lists/browser inconcistencies
bjornh's Avatar
Novice Talker

Posts: 13
Location: Norway
Trades: 0
I've added alt attributes to as many images as I could find and will continue correcting this. I'm glad I have a search and replace program (does anyone know of a better one btw?).

As for tables, I'd like to stay away from them but a huge problem is that a lot of the data (not so much the page design) is built with tables. That would take an enormous amount of editing to correct and I hope I can get away with it for now. Just want things to work. For future projects I'll stay away from it if I can.

I'd love to go html5/css3 all the way but that's not going to happen any time soon :/

Edit: Yes! Got the list through validation!
__________________

Please login or register to view this content. Registration is FREE

Last edited by bjornh; 08-16-2010 at 02:32 PM..
bjornh is offline
Reply With Quote
View Public Profile Visit bjornh's homepage!
 
Reply     « Reply to Problems with CSS lists/browser inconcistencies
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.51929 seconds with 12 queries