General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › custom arrow in xmetal
-
karthic2861 June 29, 2012 at 11:21 am
custom arrow in xmetal
June 29, 2012 at 11:21 amParticipants 1Replies 2Last Activity 10 years, 7 months agohi all,
I am creating arrows with the help of css (windows custom shape) When i tied to add in css
.arrow
{
content:”►”
}when i render it in Xmetal the side arrow is not coming can anyone help me
Regards
Mmag3737 June 29, 2012 at 10:05 pm
Reply to: custom arrow in xmetal
June 29, 2012 at 10:05 pmFirst be sure this is not a font issue — the font you are using to display this element must include a glyph for the Unicode character #9658.
Then, CSS uses different escaping for Unicode characters than XML does. You need the hexadecimal value, and it looks like this:
[code]content: “25ba”; /* Unicode char ► == ► */[/code]
Note that the CSS spec says that you need a six-digit hexadecimal number, but in my testing with XMetaL 7 just now, it works with a 4-hex-digit number as shown above.
Finally, the “content” property in CSS is meant to be used with “:before” selectors. I think the code you are looking for is probably more like this:
[code]
.arrow :before
{
content: “25ba”; /* Unicode char ► */
}
[/code]migeaddeddy October 20, 2012 at 5:23 am
Reply to: custom arrow in xmetal
October 20, 2012 at 5:23 am[url=http://www.northfaceformens.co.uk/]north face sale[/url] with a wholesome position in [url=http://www.northfaceformens.co.uk/]north face uk[/url] the past, [url=http://www.northfaceformens.co.uk/]north face jacket[/url] the incandescent realization, [url=http://www.northfaceforwomens.co.uk/]north face outlet[/url] continued popular autumn/winter 2012 [url=http://www.northfaceforwomens.co.uk/]north face coats[/url]. No situation how toilsome the constituents modulate, shape innovation, [url=http://www.northfacesale2013.co.uk/]north face sale[/url] details of how [url=http://www.northfacesale2013.co.uk/]north face jackets[/url] to alteration, [url=http://www.celinebagja.com/]セリーヌ バッグ[/url] overlay certainly help [url=http://www.celinebagja.com/]セリーヌ 財布[/url] you esteem their [url=http://www.celinebagja.com/]セリーヌ[/url]line of eyeshot the most suitable Boulevard attire [url=http://www.northfaceukstore.co.uk/]north face store[/url]. Entrain suggest look smaller to you counting waves of [url=http://www.northfaceukstore.co.uk/]north face uk[/url] autumn/winter [url=http://www.northfacecanadasale.ca/]north face canada[/url] 2012 detonation trench coat [url=http://www.northfacecanadasale.ca/]north face outlet[/url] to wear for your flight [url=http://www.northfacecanadasale.ca/]north face women[/url].
-
AuthorPosts
- You must be logged in to reply to this topic.