CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 27th, 2002, 01:22 AM
Chevalric Chevalric is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Utrecht, The Netherlands
Posts: 6 Chevalric User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chevalric
Valid XHTML & CSS not working in NS6/Opera6

Hi,

I made a page using XHTML and CSS and validated both with the W3C validators. When I view the page in IE6, it works fine, but if I view it in NS6.2.2 or Opera 6.01 then the layout is all screwed up.
Is the validator missing something or is it the browsers' fault (I thought that NS6 was completely standards compliant?). I can't figure it out, so if someone can tell me what I did wrong, please do.

You can find the page in question at http://maggie.theadventurersguild.net

Reply With Quote
  #2  
Old March 27th, 2002, 05:05 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,622 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 2 h 17 m 15 sec
Reputation Power: 548
as i just have ie5.0 i can verify the difference.
but it looked pretty ok in mozilla 0.9.8,
bit small font.

Reply With Quote
  #3  
Old September 22nd, 2003, 11:31 AM
m_e_brown's Avatar
m_e_brown m_e_brown is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: cambs, uk
Posts: 32 m_e_brown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 20 sec
Reputation Power: 5
it is probably a width thing, ie6 actually MIS-interprets the css rules and displays the boxes how you think they should be displayed - BUT THAT IS WRONG!!!!!!!!!

So if you are relying on float to keep to divs next to each other and you think the width is correct it may not be and the width is actually over 100% and terefore pushing the 2nd box down a line.

Tables and IE6 interpretation of css Boxes state that the
cellpadding/padding are part of a width declaration so a box with a width of 100px and 5px padding(left and rigth) will have 90px of free space inside.

HOWEVER, the actual css specification [which ns7 and op7 (and earlier versions also) correctly interpret] states that padding is outside this width

ie if you declare the width: 50% with 5px pading, 2px border and 3px margin (all left and right) your total box width will be constructed as follows


left margin 3px
left border 2px
left padding 5px
width = 50%
right padding 5px
right border 2px
right margin 3px

with the result that the space occupied by that box is 50% of screenwidth PLUS 20px
__________________
If my lpis are mvnoig I'm pbrabloy tknalig siht.

Reply With Quote
  #4  
Old September 22nd, 2003, 04:56 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,622 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 2 h 17 m 15 sec
Reputation Power: 548
and the need for restoring this one and a half year old thread was?

Reply With Quote
  #5  
Old September 22nd, 2003, 05:06 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
lol, but surely you're still struggling with it. Don't tell me the last 18 months have gone totally to waste

christo

Reply With Quote
  #6  
Old September 23rd, 2003, 06:51 AM
m_e_brown's Avatar
m_e_brown m_e_brown is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: cambs, uk
Posts: 32 m_e_brown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 20 sec
Reputation Power: 5
well bl****y hell, how on earth did I manage that? sorry about that, I think I was probably searching for something similar and stumbled across this without looking at the post date.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Valid XHTML & CSS not working in NS6/Opera6


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway