Formatting issues WordPress 3.1.2
-
The and _formatting tags format the text in the WYSIWYG editor but not in the browser (I've tried in Firefox and Internet Explorer. It doesn't help if I add non depreciate Html _and Is this a theme Issue? Is there a way to fix it? Does anyone know why and are added instead of and ?__
-
Semantically the and markups are more meaningfull than the and tags, thats the reason for their adoption (its a convention by the W3C)
__If you have access to the .css file of your site you can try adding those two following rules:
em{font-style:italic}
strong{font-weight:bold}
Let me know if that worked out
PS.: If you dont have access to the css files through FTP you can do it by going on Wordpress Admin > Appearence > Editor, On the files on the right look for the Stylesheet (style.css), there you can edit it.****
-
Thank you for you response.
I've looked at the Style sheet via the Visual editor. For 'em' and 'strong' I have:
strong {
font-weight: bold;
color: #000;
}
cite,
em,
i {
font-style: italic;
border: none;
}Which is identical to the default style sheet I have loaded in my test WP account which does display 'i' and 'b' in the browser. The above code is within a company theme - style sheet. I can't see anything wrong!
I'm going to ask the developer for a copy of the theme to put on my dummy site.
Will let you know how I get on.
Thanks again
-
Hello again
A voice from the past. I've finally managed to install the company WordPress Theme and have a play with the style sheet(s) -
The ‘style.css’ and the ‘editor-style.css’ have the correct code. But the bold and italics, although displayed in the editor, disappear in the browser. It doesn’t matter what browser I use.
Any ideas?
Thanks Catherine