|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Mac Safari - incomplete CSS loading |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|