The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Bolding A Special Character Reverses it's Direction?, Can't get an ASCII arrow to point to the right
cm_spd
post Aug 23 2016, 02:18 PM
Post #1





Group: Members
Posts: 3
Joined: 23-August 16
Member No.: 24,693



I have what I believe is a simple issue, but I can't figure it out as I am a novice, at best, with html.
I'm trying to edit a css file created by another individual where they used a ASCII special character that looks kind of like this: >>

All I wanted to do was make it bold, but for some reason when I add the font weight it reverses the direction of the arrows. The character does correctly display as bold, but now the arrows are in this direction: <<

As far as I can tell the code for arrows pointing to the right is 00BB and pointing to the left is 00AB. I don't understand why the font weight alters anything and I did try switching "BB" to "AB" and they point to the left regardless.

Their original code:
a.viewbutton:before {
content: "\00BB ";
color: red;
}

My code:
a.viewbutton:before {
content: "\00BB ";
color: red;
font-weight: bold;
}
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 23 2016, 03:00 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



I don't see that in my browsers. Which one are you using?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cm_spd
post Aug 24 2016, 02:51 PM
Post #3





Group: Members
Posts: 3
Joined: 23-August 16
Member No.: 24,693



I checked it on chrome and internet explorer
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 24 2016, 03:18 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Sure it doesn't really say 00AB?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cm_spd
post Aug 26 2016, 07:13 AM
Post #5





Group: Members
Posts: 3
Joined: 23-August 16
Member No.: 24,693



haha, yes. I tried switching it to AB just to see if it would bizarrely reverse it back and it didn't change. Cleared the browser cache a few times, switched it back, etc.

no clue.. and not skilled enough to figure out anything else to try.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 26 2016, 11:11 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Is it possible to link to the page so we can see everything you have there? Because there's something in it that makes this happen.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 26 2016, 03:45 PM
Post #7


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



QUOTE(cm_spd @ Aug 26 2016, 02:13 PM) *

Cleared the browser cache a few times, switched it back, etc.

Sometimes external stylesheets are cached, even though you reload the HTML page. Use an embedded stylesheet, or add a querystring to the external CSS file's URL, like "foo.css?blah".

Also make sure you haven't uploaded the new file with a different file name or to a different directory.

QUOTE
no clue.. and not skilled enough to figure out anything else to try.

Have you tried both versions on the same page, at the same time, like this:

CODE
a.viewbutton1:before {
content: "\00BB ";
color: red;
}

a.viewbutton2:before {
content: "\00BB ";
color: red;
font-weight: bold;
}

? If so, please link to it!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 01:03 PM