David Hucklesby wrote:
> On Thu, 30 Oct 2008 10:11:36 -0400, Majestic wrote:
>   
>> I have a simple question when you slice a image up, photoshop spits out a 
>> html file
>> with each image slice in <table> format.  Is this the best method to use by 
>> just
>> cutting and pasting the code from the HTML created and pasting it within a 
>> <div> or is
>> their a more effective and better way to place a sliced image within a <div> 
>> ?
>>     
>
> Yes. Use CSS to add the images as backgrounds.
>
> You may like to consider using a little less slicing, too:
>
>  <http://www.alistapart.com/articles/sprites/>
>  
> <http://css-tricks.com/css-sprites-what-they-are-why-theyre-cool-and-how-to-use-them/>
>   
You can also generate them automatically from a bunch of images - 
including the CSS: http://spritegen.website-performance.org/

:)

/Chris

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to