New answers tagged

1

If you carefully observe most of responsive design css, you will find % as prime unit for width,height,margin etc. For font-size, em is widely accepted. Additionally media queries is also important.


1

To optimize for mobile, you need to have a viewport configured in the meta tag. This is what I use: <meta name="viewport" content="width=device-width,initial-scale=1"> That way I'll have pixel units match CSS units when I specify units in pixels in CSS even for mobile. The only units I use most often for maximum compatibility are: px - The raw ...


3

No search engine cares one whit about your class names and such things are given no SEO consideration in any way, shape or form. They serve no purpose as far as content goes. They mean nothing to the end user.


2

Google says nothing about that. So it's ok. But, you should minify your css because it's good practice to optimize your CSS code to make your website faster by decreasing the file size.


0

Is there any font that supports all the languages? Unicode is the unified table of characters. Some first characters are latin literals (font subsets: latin and latin extended), then come other language literals and non-language signs, like pictograms. Each language has its own table segment. How many languages supports a font is depending from how ...


1

Is there any technique or best practice or whatever I can use to hide some text only for screen readers? I can give an answer for the "whatever" part of your question. Create an image and add text in it using your image manipulation program. Then for the most secretive approach, use CSS to define your image as a background of a DIV element. Here's ...


2

Most fonts support most human languages. The problem with that page is that the text is encoded using UTF-8 but the page claims it is encoded using windows-1252. Browsers are therefore following the wrong rules to work out what characters the 1s and 0s that make up the underlying HTML source mean. When I override the encoding in my browser preferences ...



Top 50 recent answers are included