Page 2 of 3

Re: Phonetic description

PostPosted: Fri Feb 17, 2012 11:38 am
by Bruno
Hello Novikov,

... thanks for that .css. It works fine.
By the way where I can find that dictionary you posted this screenshot.

Bruno

Re: Phonetic description

PostPosted: Fri Feb 17, 2012 1:30 pm
by Novikov
This is a screenshot of the Oxford Advanced Learner's Dictionary 8th ed, but I cannot post links here, because it's against the forum rules.

You can find it on the internet, but, as far as I know using torrents in Germany is dangerous.

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 4:43 pm
by Bruno
Hi Novikov,

... there is one thing though.
I would like to suppress the font style italic with my .css. How can I do that?

Bruno

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 5:17 pm
by Novikov
Hi, Bruno. This code will do it:

Code: Select all
YOUR_ELEMENT_OR_ID_OR_CLASS {
    font-style: normal;
}


Try it and let me know if it works or not.

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 5:26 pm
by Bruno
Hi Novikov,

... no, it won't work.

Bruno :(

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 5:33 pm
by Novikov
Okay, show me where the problem is. What element does not want to become non-italic?

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 5:48 pm
by Bruno
Hello Novikov,

... if I write:

body {
font-family: "Arial Unicode MS";
font-style: italic;
}

... then the whole dictionary is in italic.

But I want the whole dictionary non-italic and ...

body {
font-family: "Arial Unicode MS";
font-style: normal;
}

... won't work.

Bruno

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 6:22 pm
by Novikov
Oh, of course that is not going to work, because this applies non-italic only to the BODY. The nested elements redefine this style.

First of all, remove the "font-style: italic" declaration from the BODY's style. Then we'll have to find which elements are in italic. We gonna need some screenshots.

But do you really need to remove italic? I think it's there for a reason :-) What problem does it cause?

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 7:43 pm
by Bruno
Hi Novikov,

... thanks for your interest to help me.

You are right, there is a reason. It's not that sharp. Maybe because the resolution (1024 x 768) is too low, but I can't make it higher. It's an old Notebook ... letters in normal style are more readable.

Bruno

Re: Phonetic description

PostPosted: Mon Feb 20, 2012 8:09 pm
by Novikov
Try this code:

Code: Select all
body * {
    font-style: normal !important;
}


This should force all elements to non-italic.

And try the Calibri font (gonna need some font-size adjustments). Maybe you'll like it.

And you always can increase the font using "Ctrl +" and decrease it using "Ctrl -"