Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS problem



From what I can remember, there are certain browsers that don't like the quotation marks around the image url and I think Mac IE was one of them. Try

background-image: url(images/search-box.gif);

instead and see how that goes.

Christiaan

On 27/06/2004, at 1:43 PM, Mark Wheeler wrote:

Hi all,

Here's one I don't understand. The following code does exactly what I want it to in Safari, displays a graphic, but in IE (Mac - haven't tested it in IE PC yet.), the right and bottom sides of the graphic are missing -- chopped off for some reason. Does any one have any ideas. I have to admit, I'm a little new at CSS. I'm starting a site and am toying with the idea of doing it all in CSS. Thanks, again, for you help.

Mark

-------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Test Page</title>
<style type="text/css" media="screen"><!--
#layer1 {
color: #00599c;
font-size: 10px;
font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
background-image: url("images/search-box.gif");
visibility: visible;
padding: 10px 15px;
position: absolute;
top: 150px;
left: 150px;
width: 235px;
height: 186px
}
--></style>
</head>
<body bgcolor="#ffffff">
<div id="layer1">
layer 1
</div>
</body>
</html>
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.


References: 
 >CSS problem (From: Mark Wheeler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.