@ font-face无法在Firefox 3.6.14中工作 - WOFF或TTF
@font-face {
font-family: "A-B";
src: url("fonts/AlexandriaFLF-Bold.woff") format("woff"),
url("fonts/AlexandriaFLF-Bold.ttf") format("truetype"),
url("fonts/AlexandriaFLF-Bold.svg#webfontm3eq21Q4") format("svg");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'A-BI';
src: url("fonts/AlexandriaFLF-BoldItalic.woff") format("woff"),
url("fonts/AlexandriaFLF-BoldItalic.ttf") format("truetype"),
url("fonts/AlexandriaFLF-Bold.svg#webfontszsn4DPI") format("svg");
font-weight: normal;
font-style: normal;
}
Run Code Online (Sandbox Code Playgroud)
任何人都可以开导我吗?
我想在这个foreach中迭代一个数字,比如'item_name_'.$ i ...但我无法解决该怎么做?你能帮我个忙吗?
$cart = $this->cart->contents();
foreach ($cart as $item){
$this->paypal_lib->add_field('item_name_1', $item['name']);
$this->paypal_lib->add_field('amount_1', $item['subtotal']);
$this->paypal_lib->add_field('item_number_1', $item['id']);
$this->paypal_lib->add_field('quantity_1', '1');
}
Run Code Online (Sandbox Code Playgroud)