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 April 21st, 2004, 04:59 PM
nassoit nassoit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 nassoit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 37 sec
Reputation Power: 0
Question Mac Safari - incomplete CSS loading

This problem only occurs with Mac Safari.

The stylesheet linked to my html doc loads only "some" of my styles. Some styles within the stylesheet are fine, while others are skipped completely (they don't even display when I view the stylesheet by itself in the browser)! So, it's not that the styles are displaying incorrectly. The styles have been removed from the stylesheet entirely!URL

See for yourself. Load stylesheet into MSIE and then into Safari (I'm using 1.2.1), then compare the two.

The html page is here: html page

Any ideas?

Reply With Quote
  #2  
Old April 21st, 2004, 05:17 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,685 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: 4 Weeks 6 h 6 m 4 sec
Reputation Power: 594
can you post a screenshot of the problem?

and btw,
you got some errors in your css

Code:
li {
	margin-left: -20px;
	padding-left: -20px;
}


quote from w3:
Unlike margin properties, values for padding values cannot be negative. Like margin properties, percentage values for padding properties refer to the width of the generated box's containing block.
http://www.w3.org/TR/CSS2/box.html#padding-properties

Reply With Quote
  #3  
Old April 22nd, 2004, 12:08 PM
nassoit nassoit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 nassoit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 37 sec
Reputation Power: 0
I will post a screenshot when I get back to my mac (at home), but I don't think it will help solve the problem. Comparing the stylesheet when viewed with Safari and MSIE shows the problem quite clearly.

As for the invalid css markup... I've corrected that and will check it when I get home.

thanks,
peter

Reply With Quote
  #4  
Old April 22nd, 2004, 05:24 PM
nassoit nassoit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 nassoit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 37 sec
Reputation Power: 0
Cool

Found the problem. After looking at the stylesheet displayed by safari VERy closely, I realized that it was an older version of the requested stylesheet. Same file name and many of the same styles within the sheet. This prompted me to empty Safari's cache, causing it to look to the server for the file. Viola!

Weird!

Thanks for the response Akh.

peter

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Mac Safari - incomplete CSS loading


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 4 hosted by Hostway
Stay green...Green IT