Linked Questions

401 votes
1 answer
521k views

I have a problem. I have found the HTML code for the downwards arrow, ↓ (↓) Cool. Now I need to use it in CSS like so: nav a:hover {content:"&darr";} That obviously won't work ...
davecave's user avatar
  • 4,838
194 votes
2 answers
118k views

Possible Duplicate: Adding HTML entities using CSS content #sitenavmenu-content-menu li:before { content:"|  "; } I want to add a | and two spaces before each list item. ...
NibblyPig's user avatar
  • 53.3k
32 votes
4 answers
44k views

I would like to use HTML entities in CSS, but it shows me the • instead. .down:before{ content:"• "; color:#f00; } Also, why does the above code not work in IE? it does not ...
clamp's user avatar
  • 34.2k
6 votes
1 answer
14k views

I would like to add arrows to my sortable table on this page What I tried is adding this code to the css: table th.headerSortUp:after { content: " ↑"; } table th.headerSortDown:after { ...
rubo77's user avatar
  • 21.3k
6 votes
4 answers
4k views

Using the css content property, I am trying to make put an HTML entity after an element. Here is my HTML: <table id="tic" cellpadding="0" cellspacing="0" border="5" bordercolor="black" ...
Progo's user avatar
  • 3,488
8 votes
1 answer
4k views

Possible Duplicate: Adding HTML entities using CSS content I have the following setup CSS: .header:before { content: "&laquo;"; } .header:after { content: "&raquo;"; } HTML: &...
Naftuli Kay's user avatar
  • 92.6k
2 votes
2 answers
6k views

I want to put a circle/dot ::before an element &#8226 • nothing I am doing is visible! .line ::before{ content:'&#8226'; } and .line ::before{ content:'•'; } (I see ...
Ben Muircroft's user avatar
0 votes
1 answer
1k views

I'm trying to add a "Black right-pointing pointer" html entity into my css :after content but to no avail. I know you need to use a unicode value but I can't find one that works for this. This is the ...
Dean Elliott's user avatar
0 votes
4 answers
1k views

Im trying to use hex value for bullet in CSS as mentioned here Can you use HTML entities in the CSS “content” property? Note that I don't want to use <li> element just to show bullet <table&...
LP13's user avatar
  • 34.8k
6 votes
2 answers
136 views

I have tried this but it didn't work: .stackoverflow::before { font-family: 'FontAwesome'; content: "\f16c "; } <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-...
James Vu's user avatar
  • 2,471
2 votes
1 answer
271 views

I am using SASS/Compass to create a breadcrumb with the Compass mixin "@include delimited-list();" I have a variable called $breadcrumb-separator: " > "; so that I can change the character out in ...
aruffo3's user avatar
  • 55
0 votes
2 answers
43 views

I have a slideshow in my website and I wanted to use the cool looking content built-in with CSS. I am pretty sure my code is right, but for some reason, the arrows show up as boxes. I don't know what ...
user avatar
1 vote
0 answers
24 views

I'm a beginner in HTML and CSS. I'm trying to insert a copyright symbol (c) into an image on my website. I tried using a decimal code, &#169;, in the following code, but it is displayed as it is. ...
Ogiad's user avatar
  • 183
701 votes
15 answers
696k views

I want to use CSS text-overflow in a table cell, such that if the text is too long to fit on one line, it will clip with an ellipsis instead of wrapping to multiple lines. Is this possible? I tried ...
daGUY's user avatar
  • 29k
347 votes
7 answers
252k views

I want to add a blank space after some content, however the content: " "; doesn't seem to work. This is my code: h2:after { content: " "; } ... which doesn't work, however this does: h2:after { ...
bradley.ayers's user avatar

15 30 50 per page