1 reply [Last post]
Spawn10
Spawn10's picture
User offline. Last seen 1 year 6 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-05-26
Posts: 6
Points: 11

I am trying to create a css file which will accommodate for two different images (same image but different resolutions). How do i accomplish this? Here is a sample code of how am getting the 1024 image done. Any pointers will be appreciated.
Thanks

#home{
	list-style-image: url("chrome://project/content/images/toolbar/1024 wide/banner_new_normal.png");	
	-moz-image-region: rect(0px, 445px, 79px, 326px);
}

Tony
Tony's picture
User offline. Last seen 11 hours 34 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2003-03-12
Posts: 3705
Points: 1115

Look into @media queries

Your question may have already been answered, search and read before you ask.