Problem: Designer of a WP blog has set italic to only lower case. Even when the word is on the beginning of a sentece, if in italic, it will be lower case. Upper Case. upper case. Anything: india, john...in lower case. I'm a writer to this blog and I have access to HTML editor. Can I override the "italic only in lower case rule" somehow?
Inline CSS styling will override everything except a particular user's own stylesheet. So if the external (or even internal) CSS sheet says everything which is italic is also lowercase (probably "text-transform") then you could put in your html... Are you using <i>? Bleh. But I'll assume you are, as you weren't clear what exactly triggers this lowercase. <p><i style="text-transform: capitalize;">First</i><i>second word etc.</i>other stuff in the </p> Code (markup): That "inline" styling will override the WP CSS. Capitalize will set the first letter of all words affected to capital. So, you'd only want to do it with your first word, otherwise everything in your <i> Will Be Capitalized Which You Don't Want.
It also works with <em>. So I edited the whole article manually. Now, if I want to tell admin of the blog to change the original code, where he should look? In stylesheet css file? How would the code look?
The code which restricts all italic words to lower-case only. Above advice works in HTML, but it needs to be done for each word separately.
No, you have to only use above method. You cant do it automatically. To make automatic transformation you need to write code....
Uh, they'd need to look in the CSS file. Though with blogs and templates, there's likely more than one CSS sheet, unfortunately. I also don't know which element they're targetting, is it <i> or <em>? If they're willing to change it, fine, but otherwise you'll have to do what I said above to make your content override their CSS. Sounds like a pain in the ass. Good luck.
Providence and backlinkpal: I don't know, what the code is, it's me who asks for the code. I'm only a writer to the blog, where the designer has set "all italic words to be only in lower case". I have no access to any file, only to HTML editor. As Stomme poes suggested above, I was able to solve this in the HTML, but I don't know (and also current admin of the blog doesn't), where has the designer put the code which works for entire blog. I was able to capitalize italics one by one in this article about Staphylococcus aureus.
Well, so that you know for future reference... you go to the page in question (I clicked on your link). In your browser you usually go to View and the Page Source (the words are a little different from browser to browser). You can also get to this with right click. There you'll see the HTML. Near the top, in the <head> section, you'll see a bunch of tags called <link>. I was not surprised to see like 15 of them on the page, but luckily for you there seemed to only be one css sheet (nice). <link rel="stylesheet" href="http://www.healthhype.com/wp-content/themes/healthblog-CT/style.css" type="text/css" media="screen" /> They don't always have a full path like this one, but you just copy that URL and past it in another tab and you'll see the external CSS. You can also look at the HTML and see if they have any CSS between <style> tags...that's called internal CSS. CSS that's sitting inside an HTML tag like <table style="background-color: black;" is called inline CSS (what you had to do).