New answers tagged

1

In the case of desktop browsers the scrollbar isnt included in the viewport width, in mobile devices it is as the mobile device scrollbar isnt always there, only visible as a partially transparent interface. The viewport size is based on the area that the web page can actually be displayed in.


0

Here is a working example code from my own CSS. @media screen and (max-width: 750px) { .cont-left{ width: 85%; } } You will notice the addition of the term screen.


1

Does putting inline CSS on a heading element such as and affect SEO? No, but it might slow down the page a notch since you're expecting the web browser to apply a style on-the-fly. If your clients support javascript, consider styling the tag with it so that most of the page loads very quickly and the style comes on after the bare bones of the page ...


2

Recent SEO tests show that Google doesn't pay much attention to tags anymore. Using <h1> tags is not really important at all anymore. Google does give more weight to text that is large bold, above the fold, and centered. IE, text that looks like a heading. Styling your h1 tags such that they don't look like headings is going to be ...



Top 50 recent answers are included