Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font size too big in Opera

Tags:

css

opera

I have a text item on a web page that appears too large in opera browsers. Is there a way to edit text size and other aspects of the css for only opera?

like image 876
Soatl Avatar asked Apr 26 '11 16:04

Soatl


3 Answers

check out this link (scroll down to the part about Opera) Here

(I never knew this but...) apparently you can use:

@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {

.operaSpecificStuff { }

}
like image 138
Thomas Shields Avatar answered Nov 20 '22 07:11

Thomas Shields


Opera has a bug in font size defined by em or %. Just reset the font size like this:

body { font-size: 16px;}
like image 30
Ori Shmolovsky Avatar answered Nov 20 '22 07:11

Ori Shmolovsky


Opera doesn't allow for font-sizes smaller than 10px – which results in having bigger fonts on small texts in Opera only. This is intended by design as this setting can be changed by the user only.

See the following thread: http://forums.devshed.com/css-help-116/force-opera-to-use-font-size-less-than-10px-or-763589.html

like image 3
feeela Avatar answered Nov 20 '22 07:11

feeela