CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

learn more… | top users | synonyms (4)

0
votes
0answers
12 views

Why do CSS and HTML have such different syntax? [on hold]

Is there anything that CSS is used for other than HTML/XML/XHTML that makes is so that the syntax is so different. For example in HTML comments are: but in CSS they are: ...
3
votes
2answers
26 views

What units to use in responsive design?

So I am really at loss which units to adopt when developing responsive layouts. Some say use viewport units. Other people say use rem. Other say use media queries and pixel ratio. So what unit is the ...
3
votes
2answers
70 views

Can randomly named CSS classes hurt rankings?

My website uses random words for CSS classes. For example: gruig. Now I'm little scared that this might somehow lower our Google rankings. Will it?
0
votes
0answers
11 views

CSS property 'white-space: nowrap' changes iOS font-size [on hold]

When declaring white-space: nowrap in CSS, I see iOS shrinks the font-size. Is there a simple fix to prevent this?
0
votes
0answers
9 views

Webpage cost price [on hold]

So guys, i'm new in webpage development, and I'm thinking to start my own business making these things, but I have no idea how much I should charge for it, what I do is: Design a custom webpage or ...
-1
votes
0answers
11 views

My contact form wont send me mails [on hold]

My problem is that my contact form wont send me mails, and i dont know what to do?!
0
votes
1answer
784 views

Chrome has recently started chopping the bottom of some titles, anyone know why? [closed]

The title is the entirety really. Chrome has started to chop the bottom off my titles (not noticed in on any paragraph text). I've tried the usual, incognito mode to disable and extensions, delete my ...
0
votes
0answers
11 views

Extract CSS and JS off a site [closed]

I have an old one page site that I want to use. The problem is that I don't have the code on my computer and lost access to the server. I want to know if there is an easier way to get the old pages ...
0
votes
0answers
3 views

Cant resize navigation on top despite all tries [migrated]

Could anyone help me out here? I wanted to use a navigation frame on the top and load sites on the main frame below. Everything works! But I cant get it to scale properly if I minimize/resize the ...
3
votes
1answer
65 views

SEO and the use of ellipsis CSS property

I have a Q&A service and in every question details page, there is a section named "related questions". Every question in there has the title and the initial lines of the answer. We are limiting ...
1
vote
3answers
241 views

Googlebot couldn't get all resources for this page

When I fetch and render it is showing partial. It looks fine. The same way Google sees it is the same way visitors see it. The reason for this is that I've added BuySellaAd codes in a widget onto my ...
3
votes
2answers
6k views

Best and safest SEO way to hide h1 tags

I want to use images that I created in PS for page titles. Because they will be images they will not be picked up by Google, etc. What is the best practice for hiding the <h1>? I was planning on ...
1
vote
1answer
35 views

Hide text ONLY for screen readers

The WCAG says it can be done by aria-hidden tag, but I've read it's not working at many screen readers. Can't get how display:none can help to hide some text only for screen readers (=visible to ...
0
votes
2answers
28 views

Which web font supports all languages?

I have a site which has fonts of all languages but most of the fonts don't support most of the languages other than English. For example, check this URL: ...
1
vote
0answers
8 views

ASP.NET multilingual through cookie/URL - Google sees one version

Our website is multilingual and works through cookies/URL www.amlik.com/ar/ www.amlik.com/en/ The problem we are facing is Google sees only the arabic (default version of our site) even when ...
1
vote
1answer
22 views

First I'm told to avoid table for layout and now using floats is bad for mobile?

I ran my mobile home page through the website validator at: https://validator.w3.org/ and it complains that: The CSS style sheet contains rules referencing the position, display or float ...
1
vote
1answer
66 views

Does changing strong element CSS styling affect SEO?

<strong> HTML elements have default black and bold CSS styling. I want my strong elements to have light blue background, have blue as font color and underline strokes. But does changing the ...
0
votes
1answer
15 views

How to define the background color of this side menu? [closed]

I've added a side menu successfully but when i want to change the color of it it doesn't work. The mid of the menu is still another grey and i dont know what to do. Tried to add ...
2
votes
2answers
27 views

What consumes less resources on the client side, an animation with gif or CSS?

What is better for the client side, an animated gif or the same animation done as a sequence of images with CSS ?
0
votes
1answer
25 views

How to calculate in CSS? [closed]

I want to make CSS like this Width : 80%; Height : (width-30%); but I do not know, in order to measure height: width-30%. I've been using calc() but still can not
1
vote
2answers
62 views

Images and styles won't load when HTML is opened through the file system rather than through localhost webserver

I'm trying to translate a tutorial of a software. The tutorial is all in HTML, with CSS and some javascript. I'm noob in web development, so I'm a little lost. The problem is: I found the source-code ...
3
votes
5answers
163 views

designing web UI

I'm pretty comfortable with the backend side of web development (say, using java spring mvc, or grails), but I really don't know where to start when it comes to client side UI (as in designing pages ...
1
vote
0answers
20 views

Apply css to an image page [closed]

If someone were to go to the location of an image is there a way I can apply css to the page - put the image in the centre and change background colour, the main 2. Would this be done though ...
6
votes
1answer
117 views

Do loading screens positioned above site content harm SEO?

I use a white div covering all screen before the page loads on a website. Will this hurt my Google Search position? It's not like I'm hiding links on purpose, and I've seen loading screens on many ...
1
vote
4answers
140 views

For SEO of the company name, should we use a logo with alt text or a company name div replaced in CSS with an image?

Which of these alternatives would be the less negative to Google search engine? <h1> <a href="#" title="Company Name"> <img src="img/logo.png" alt="Logo" title="Company ...
1
vote
2answers
50 views

How to deny direct access to font files used in CSS?

I have a website that displays texts with unique, copyrighted fonts. I use a CSS file with "font-face" elements (see the example below) and I store the font files in a folder called "type". I would ...
3
votes
1answer
88 views

How does the Media Query apply to smartphone resolutions?

With the launch of new iPhone 6 Plus with a resolution of 1920x1080 px, it got me thinking how is this resolution different from the screen widths we UI developers define in our CSS in media-query ...
10
votes
4answers
7k views

iPad and iPhone browser rotating images on site?

I am experiencing an odd occurance on a site I'm building right now where images are displayed 90 degrees different from how they are supposed to, but while maintaining the normal dimensions of the ...
0
votes
0answers
41 views

If I used CSS to size an image, would google understand the new size?

Say I have this html code (replace x and y with actual numbers): <html> <head> <style> IMG {width: 100%;height: auto; max-width:xpx; max-height:ypx;} </style> ...
2
votes
1answer
65 views

Tradeoffs around using a query string vs embedding version number in the CSS/JS files [duplicate]

I was reading articles and forum posts about using version numbers in CSS/JS files. http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/ ...
13
votes
8answers
31k views

Font displays differently in Firefox vs. Chrome

It seems that my menu bar is displayed with a different font stretch in Firefox than it is in Chrome. See the following: Here is the CSS applied to this element: font-variant: small-caps; ...
1
vote
2answers
411 views

How do I Add Expires headers for CSS file with ?ver=4.1

I'm optimizing my website with Gtmetrix and in Add Expires headers section it shows the below error- There are 49 static components without a far-future expiration date. ...
1
vote
1answer
60 views

Mobile Google Chrome Not Resizing Responsive Website

I am new to designing responsive websites which are done in pure PHP and CSS, and I am not using any CMS like wordpress. I am using @media screen and (max-width:....) for the responsive design only ...
5
votes
2answers
4k views

Clearing cache with CloudFlare?

Is it possible to clear or avoid CloudFlare cache while doing development? I'm developing a site that has caching on several levels - WordPress supercache, the caching done by the browser, and ...
0
votes
2answers
49 views

Ä Umlaut-dots too close to the letter in Firefox

In Mac-FF 41 (and 40) the Umlaut-dos of the letter Ä are rendered too close to the rest of the letter, as it shows in the picture below. In other Browsers however (Chrome, Safari) the type renders ...
4
votes
4answers
916 views

CSS3 Validation: Is it worth it?

I'm currently building a project, and I'm writing the site using HTML5 and CSS3. I have validated the HTML and it passed first time (very pleased as it was my first time coding HTML5!). And then I ...
8
votes
1answer
89 views

Is there any good reason for two CSS files to @import each other?

I'm working on some critical style revisions for a client's WordPress site that was designed by another team. The CSS seems to be a tangled mess. One of the idiosyncrasies I've found is that the ...
0
votes
0answers
70 views

Does image dimensions outside image tag also slow page loading?

I am using height and width for images in css before img tag (css in same page header) so I think there is no need to set dimensions in img tag. But when I checked speed in different online tools, ...
2
votes
3answers
7k views

How to show a preview thumbnail on Facebook of a imageless website?

I have recently designed a website with no img tags, only one big fat CSS sprite with everything in it. Though, when I try to publish that website on Facebook, it won't show a preview thumbnail — ...
0
votes
1answer
48 views

Do I really need to support older browsers?

When an automatic update hits Windows, it updates all software to the latest, stable version. When you update Linux, it does the same. Why should I worry about writing code for older browsers when ...
3
votes
2answers
179 views

Images as hyperlinks and SEO implications

I manage several websites, one of which is an e-commerce site with a lot of images. At the top of some product category pages, there are image links to specific products (think image banners). I am ...
0
votes
1answer
29 views

My site breaks on specific resolutions

It is all started here : How Google decided how websites will look to my visitors? Google told me that my site looks bad for my visitors and "Barnettt" answered me that it is happening in specific ...
0
votes
1answer
44 views

What technologies do i need to learn to make a blog? [closed]

I am making my first website which will be my personal blog. My main purpose to make this is to learn website development. I know a fair amount of HTML, CSS and JavaScript. I understand these are all ...
2
votes
1answer
66 views

How Google decided how websites will look to my visitors?

I have a small WordPress website, Google shows me a print screen of how the visitors of my site see it : And as you can see in the image on the right, it seems like all the thumbnails gone and the ...
0
votes
1answer
49 views

Can I add Microdata on generated content from CSS?

If I generate content with CSS can I still apply Microdata to it in the HTML? Will Schema or RDFa accept an alt or title tag as a value? h1:after,h2:after,h3:after,h4:after,h5:after,h6:after ...
2
votes
1answer
63 views

CSS overflow bug on Mobile [closed]

I'm using the Gridless CSS Framework's html/body tags as wrappers; which works great! I'm un-role'n my site; the role main attribute would span across the page on desktop/mobile. But the new heading ...
0
votes
1answer
83 views

Managing Web Templates using CMS such as Orchard [closed]

I want to build a new web site for a construction company. And i found many online web templates that can satisfy my Interface requirements such as these web templates:- ...
1
vote
1answer
76 views

Google says my website has render blocking css while it doesn't

Google says the mobile version of my website has render blocking css while my website has only one css file that is placed before the closing body tag. I even test putting the css after closing html ...
1
vote
2answers
135 views

website Font Embedding, which way would be the best for cross browser capability?

Sometimes clients of mine request a specific font to be used in their website. I try and embed it using CSS @font face, but It is not very cross browser friendly. Sometimes I use Google fonts but they ...
0
votes
1answer
54 views

hide text between normal text without bad effect on search engine [duplicate]

I need put some hidden text between my normal text. I do it like this: <p> some text <span class="hide"> hidden text </span> some text </p> .hide{display:none} But I ...