Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 7th, 2004, 09:41 PM
rushloversea rushloversea is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 rushloversea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Help! IE to anything else... CSS

HELP! IE works great, anything else fails miserably!

OK, I don't know if this will work, but I've spent countless hours reading forums, researching and assides lacking sleep, I have not been sucessful identifying the problems in a website I am trying to get going in CSS to work in anything other than IE. Can someone help? Link of site is www.dresch.org/web/cascademailing/default.asp
and the supporting css files are
(main: www.dresch.org/web/cascademailing/assets/css/cmv2Home.css and
(sub: www.dresch.org/web/cascademailing/assets/css/cmv2CreditCards.css



Looks perfect in IE but doesn't even display in Mozilla or firefox. HELP????

Last edited by rushloversea : August 7th, 2004 at 09:42 PM. Reason: More detail

Reply With Quote
  #2  
Old August 8th, 2004, 05:42 AM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
First, I haven't downloaded and testet my proposal so I can't guarantee that i will help you, but...

You have a tiny error in cmv2Home.css so it doesn't validate, but I don't think that is the main problem.

Your problem I think is that you are using z-index together with float some places. Z-index can only be used on elements that have been positioned (eg position:absolute;)!
http://www.w3schools.com/css/pr_pos_z-index.asp

Another possibility could be that you are using div.all{height:100%;}
I don't see why you have used this since your design isn' built for allways fill the screen 100% in the height, but if you wan't to do that, take a look here:
http://www.bzabza.com/css/1/

You are also using height:auto; many places, could also be a reason.

Another quick way to make your design could be this:
http://www.ssi-developer.net/main/templates/

And finally, it's normally not a good idea to use two CSS-files, easer to control what is in one file than two.

Hope this helps.
__________________
Strictly CSS | Poker Cognac XO

Reply With Quote
  #3  
Old August 8th, 2004, 08:23 AM
rushloversea rushloversea is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 rushloversea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Same issues, cleaner code

Thanks for your feed back. The main page will validate as XHTML now and the CSS will as well.

The templates look great and will use those for the next site I'm doing (@ the same time of course), but with the special overlay this one has, was wanting to try to get it to work right.

Adjusted the absolute position z-index issues as well and it still is the same.

One of the sites I used for trying to identify the problem said that OPERA had some issues with the container not being completely defined, so added the extra height: auto stuff for that. Removed them and looks just fine IE still, so will leave them out and try to get opera after I get the mozilla/firefox issues resolved. Thanks so much for getting back. (STILL up and trying to get this resolved.)

I used two files cause another site talked about using the Cascading portion style sheets to care stuff over as you have it working right. So the smaller Credit card css file only contains the W3C icon CSS and the Credit card stuff.

Any other feed back or areas to study/play/peruse next? This is my first forray into CSS and tho I've been studying forever it seems, any leads you can give are greatly appreciated.

Thank you thank you thank you for all,

Best

D

Reply With Quote
  #4  
Old August 8th, 2004, 09:48 AM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Ok, I have taken a closer look, it's not easy to point out what's the main reason for your problem. I have experimented a little bit with your code, but it doesn't work as intented, it will be much work for me to do this so I won't fix it for you.

But what I see is this:
You are mixing uppercase and lowercase on your names for the div's for example. In your HTML-file you are using <div id="list-Menu"> but in your CSS you are using list-menu. Remember, they are case-sensitive. Another thing, don't use hyphens - , this can also cause the trouble. Use listmenu, don't list-menu.

And, your menu will not be shown properly in Opera and Mozilla, use list's for making menus. You will find many good examples here:
http://css.maxdesign.com.au/listamatic/

Also, your logoMain.gif is 1152x446 pixels, don't just scale it down in your source-code, use a image-program to scale it down correctly.

Reply With Quote
  #5  
Old August 8th, 2004, 07:51 PM
rushloversea rushloversea is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 rushloversea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Changed - still no work in mozilla

Thanks for more observations. All have been enacted except for the image size and changing A to LI for the menu. I'll enact that soon. However, I still have no luck with getting anything else to display in mozilla or opera, as u suggested.


Thanks for the cleaner code help and if anyone or anything to help make this cross-platform compatible would be appreciated.

Bests and again thanks,

rls

Reply With Quote
  #6  
Old August 9th, 2004, 06:56 AM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Ok, you are using negative values on the z-index. Change them to positive values and you will start to see your design. But you still have some work to do.

And also remember, you will get a horizontal scrollbar because you have set the width to 100%, but are using left: 4px; as an example. This means 100% + 4 pixels.

Last edited by EiSa : August 9th, 2004 at 06:59 AM.

Reply With Quote
  #7  
Old August 9th, 2004, 02:08 PM
rushloversea rushloversea is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 rushloversea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Wooohooo

OMG, it's displaying something! Is there a rule or information out there where mozilla and firefox don't support negative z-index values? Changed the 100% value to 99% and it basically does what I was hoping for. Learned my lesson this time and will use those templetes forward like.

Couple other stupid questions: Since the background image isn't displayed in either M or F, do they not support those attributes or is it something else?

Does the order of the values defeined in the CSS sheet change the layout?

Thanks again with all your help and I will be changing to the li format.

Bests,

Reply With Quote
  #8  
Old August 9th, 2004, 03:27 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
No, there isn't a rule that Mozilla and Firefox don't support negative z-index values, they do support it, they support more CSS-code than IE. But something in your CSS-code is making this happen, I can't point exactly on what.

Background-images are supported well in Mozilla and Firefox, again it's something that I can't put my finger on what exactly is causing this.

The order of the values do matters sometimes. An example here: http://www.w3schools.com/css/css_pseudo_classes.asp

And one tip to make your CSS-code smaller:

color:#ccc; it's the same as color:#cccccc; etc.

This:
background-color: #336666;
background-image: url(/assets/pics/red2.jpg);
background-repeat: no-repeat;
background-position: bottom;

can be written like this:
background: #336666 url(/assets/pics/red2.jpg) no-repeat bottom;

Reply With Quote
  #9  
Old August 9th, 2004, 05:04 PM
rushloversea rushloversea is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 rushloversea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wink

Performed those changes as well. Thanks again. The background pictures seem to be working, but they don't seem to be anchoring to the fixed attribute of each of those elements. Ideas?

Thanks for the sortage of code nominclature. New 2 me as well. Looking for a site that list those, any suggestions? The W3school didn't contain that.

Bests, and again I bow to you,

Rush's biggest fan

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Help! IE to anything else... CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT