Old 16-03-2004, 10:51   #1 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,893
Image replacement ..

Or, MILFING as its better known

What method do you use ?

Ta.
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Old 16-03-2004, 11:04   #2 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
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.
  Reply With Quote
Old 16-03-2004, 11:30   #3 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,638
bleat bleat

Do what works. I put up a bulletproof example in that other thread.
  Reply With Quote
Old 16-03-2004, 12:00   #4 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,186
i was going to add that it was probably me being a fuckwit.
  Reply With Quote
Old 16-03-2004, 12:01   #5 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,893
which thread ? couldnt find it
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Old 16-03-2004, 12:41   #6 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
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);
}
  Reply With Quote
Old 16-03-2004, 12:43   #7 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,638
Never read up on FIR, FIL, LIR or whatever but this stems from all that (it's been edited over time) ...and milfing was born.
  Reply With Quote
Old 16-03-2004, 16:48   #8 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,893
cheers m8
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8