PDA

View Full Version : سوال: ضمیمه کردن فونت



css-man
دوشنبه 12 فروردین 1392, 14:07 عصر
دوستان این کدهای من چه مشکلی داره که اجرا نمیشه؟؟؟


@font-face
{
font-family:'titr';
src:url('fonts/BTitrBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('fonts/BTitrBold.ttf') format('truetype') /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
url('fonts/BTitrBold.eot?#') format('eot'); /* IE6–8 */
}
@font-face
{

font-family:nazanin;
src: url('fonts/BNazanin.eot?#') format('eot'), /* IE6–8 */
url('fonts/BNazanin.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('fonts/BNazanin.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}








دوستان حل شد ادرس دهی اشتباه بود

mehbod.rayaneh
دوشنبه 12 فروردین 1392, 15:15 عصر
فک کنم ترتیب داره!!!
اینجوری :

font-family: 'titr';
src: url('../font/titr.eot?#') format('eot'), /* IE6–8 */
url('../font/titr.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('../font/titr.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
font-weight: normal;
font-style: normal

برای دومی هم ' ' نذاشتید!!!