| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#2 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,186
|
i use the one with the gratuitous span. because i found it was the only one that worked all round. i know the old woman is going to start bleating on about how you don't have to do it and that her method works better but i just couldn't get it to work across the board without the span. |
|
|
|
#6 (permalink) |
|
Dr. Lucien Sanchez
Join Date: Mar 2003
Location: UK
Posts: 5,638
|
This works in everything we've tested it in (mac + pc). Subsitute the values and away you go: #whatever { font: something sensible; padding-top: height of image px; width: width of image px; background: url(img/image.gif) no-repeat; margin: 0; overflow: hidden; /* win IE5 hack */ height: height of image; voice-family: "\"}\""; voice-family:inherit; height: 0; /* mac IE5 hack */ clip: rect(0, width of image px, height of image px, 0); } |
|
![]() |