Questions tagged [css]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Processing iframes reliably when webserver can only handle one request at a time

I'm trying to serve HTML from a web server made in MS-DOS that is capable of processing one web request at a time. I made some HTML in which two iframes must be loaded. I use iframes because ...
0
votes
0answers
4 views

Fixed menu doesn’t work when put as include with iframe [on hold]

I have a menu that I included in webpage with an iframe. The menu works perfectly when it’s not an include but when loaded through an iframe, the fixed part of the menu doesn’t work. Can anybody help ...
1
vote
0answers
8 views

How to fix Mobile Usability Issues (page resources are not loaded) in Google Search Console

Our website is responsive but it is showing the below mobile usability issues at Google search console. 1. Content wider than screen 2. Clickable elements too close together 3. Text too small to read ...
0
votes
0answers
5 views

Center an h2 with respect to parent container [migrated]

I would like to center an h2 with respect to its parent container (the rounded rectangle) but would also like the image (purple square) to vertically fill in the div as pictured below. The problem is ...
-1
votes
1answer
23 views

How do I keep a raw HTML version of my website alongside one with CSS styles and classes applied [closed]

I am in the process of making a simple website with informational content and I am interested in keeping a raw html version of my website (that is without any divs or other things that are used to ...
1
vote
0answers
20 views

Selecting a forms “select” option based on referring URL [closed]

I have a seemingly simple question that I can’t find an answer for. Scenario: I am developing a ”single-page” website based on a HTML5 UP! template that shows/hides content after clicking a button ...
0
votes
1answer
51 views

MediaWiki destroys CSS aesthetics for <code> tag

In MediaWiki:Common.css I gave these essential directives: code { display: block; } then I created an article with this content: <code> <x> <y> <z></z> ...
0
votes
2answers
47 views

Is it bad for SEO to use CSS to hide the H1 tag for mobile visitors?

I have a slider which is hidden by 'display:none' when viewed on mobile phones. This slider contains our H1 tag. Is this bad practise? The H1 tag itself is not hidden, but the div containing the ...
0
votes
1answer
61 views

Have you ever worked with a vertical viewport as webmasters? Or only with horizontal one?

Have you ever worked with a vertical viewport as webmasters? Or only with horizontal one? All CSS literature I ever read is on (horizontal) viewport; as in @media screen and (min-width: 959px). To me ...
0
votes
0answers
7 views

What is the mobile media query for “Gmail App on iPhone 8 or X”

I am trying to finish this email in mailchimp. Everything works fine except for the "Gmail App on iPhone 8 or X". Question: What is a working mobile media query for "Gmail App on iPhone 8 or X?" It ...
0
votes
1answer
47 views

MediaWiki: How to delete the about page?

in a MediaWiki project I don't need the automatically created About webpage because in this case the homepage already covers the about details of the project. I can delete any webpage but for some ...
0
votes
0answers
13 views

What lengths do I need to go to avoid display:none [duplicate]

So after almost a decade, I'm totally revamping my company website, largely to make it mobile friendly. The responsiveness I've added works great, except for the header, for which I use text so Google ...
0
votes
1answer
50 views

Trying to determine why same font on two sites renders differently

Issue Two web sites have the same font, set up with the same typography. Yet they render differently. Background I need to replicate the typography from site #1 ("Sample Site") to site #2 ("Client ...
1
vote
1answer
47 views

Custom font not loading

I am looking to use the old "phone book" font for a project I'm working on currently, I have the fonts and was able to set up a stylesheet for them: http://interlinked.cf/css/bellgothic.css @font-...
0
votes
2answers
29 views

Is it possible to download all website Elements from a CSS Stylesheet? [closed]

I have just been asked to look at a website and see if there are any ways to improve its Page Load speed. I have identified that there are a lot of duplicate CSS Entries, across a lot of separate CSS ...
0
votes
0answers
17 views

Mobile usability issues reported by Google at Search Console [duplicate]

Our website is responsive but it is showing the below mobile usability issues at Google search console. Content wider than scree Clickable elements too close together When tested using mobile ...
3
votes
0answers
37 views

How to make a site built with google.sites read right to left for Arabic language?

I have google.sites in Arabic, and I'd like to make it right to left so that combination of Arabic-English can be displayed correctly on each line. This can be achieved by adding direction="rtl"‍‍ to ...
0
votes
1answer
116 views

Is “overflow hidden + javascript scrolling control” affect SEO

I have an html page with a css overflow:hidden affected to body My <content> is at top:100% positioned in absolute. When I scroll, a javascript code change the <content> top position to ...
1
vote
1answer
30 views

SEO impact of usage of many spacers/formatters/… class in HTML instead of in css static file

We're working on redesigning our full website, we have a critical impact on our business from SEO. We are trying to use a lot of formatters, spacers, etc classes from SASS like suggested by bootstrap. ...
2
votes
1answer
76 views

Loading multiple pictures as sprites?

I've read it's a good idea to combine images as sprites (and use background positioning) to have less dns lookups and therefore speed up your site. But it seems all the images are loading ...
2
votes
0answers
73 views

Mobile-Friendly errors from JS/CSS folders in Google Search Console [closed]

Google Search Console is warning me about Mobile Friendly errors. But all the errors are coming from the assets folder where I keep my CSS and JS files. Can anyone can help explain these errors?
1
vote
3answers
619 views

JavaScript and CSS cached and not updating not updating from WAMP server even though “view source” shows most recent file

I have a WAMP server with PHP 7.2.10. When I change a file, for example .css, the changes is not visible in browser. When I "view source" via my browser (Ctrl+U) I get the updated latest version of ...
1
vote
2answers
59 views

Does having a <span> tag around a portion of a word hurt SEO?

If I do <h1>H<span style="font-size: 12px;">ello</span> W<span style="font-size: 12px;">orld</span></h1> Will search engines read it as "Hello World"? Will this ...
1
vote
1answer
92 views

GTmetrix complains of un-optimized images in responsive design

The website GTmetrix is giving me low score on "Optimize images" for the following reason: On my main page I have 4 columns with images. Each column takes 25% of the screen resolution so on my ...
1
vote
0answers
19 views

Using web-fonts on Wordpress.org site [closed]

I am trying to use a font I found from the internet on my website, however after many attempts it just doesn't work and the words go back to the standart "Times New Roman" font. I have successfully ...
5
votes
1answer
3k views

Google Mobile Usability says “Content wider than screen” even though I can't reproduce that locally and X overflow is set to hidden

Unable to fix error Google Mobile Usability > Content wider than screen in Google Search Console. I have try chrome mobile layout emulator from DevTools, set width to 320px but no horizontal scroll ...
3
votes
1answer
139 views

How to hide HTML tags from SEO spiders

I understand and know how hiding things from your website works and how the search engine spiders will still be able to ¨see¨ this hidden element and penalize your website for it. Thing is, I did not ...
0
votes
2answers
62 views

Will random text and links hidden by CSS around our content to prevent it from being crawled and parsed prevent Google from indexing those pages?

I have a Q/A website which is lunched for about 3 months. I don't know why the single pages will not be indexed in the google. For example when I search for جهت مستفیض شدن از ماه محرم, I will see the ...
1
vote
0answers
33 views

Google Search Console fetch and render says CSS, fonts and images are “Temporarily unreachable” [duplicate]

I have requested that Google index (Fetch and render in Search Console) my website on 4th August 2018 but still it didn't get indexed and it is stating that some scripts, style sheets, fonts and ...
1
vote
2answers
74 views

SEO impact of changing versions (and names) of external CSS

A website of mine uses a WordPress plugin for CSS minification. The plugin regenerates the CSS file on every update to the style-sheet. When it does, the plugin also changes the version and hence name ...
3
votes
1answer
39 views

Problem with .htaccess for files having similar kind of names

I have a file with name lang.php and another file in the same folder with same lang_inst.php. The .htaccess am using is: RewriteEngine On Options -Indexes RewriteCond %{REQUEST_FILENAME} !-d ...
3
votes
0answers
51 views

What is the name for a paginated scrolling effect with distinct stopping points in the scroll?

For example: http://deppo.tkdemos.com/portfolio/grid-references-in-the-latest-issue/ What is the name of the scrolling effect used on the link above? Where when you scroll or arrow down the page ...
1
vote
0answers
23 views

fonts.googleapis.com called before every heading - is this normal? [closed]

I'm seeing this behaviour in one of the websites I manage: <link href="//fonts.googleapis.com/css?family=Abril%20Fatface:regular" rel="stylesheet" property="stylesheet" type="text/css" media="all"...
3
votes
1answer
53 views

Using mySql database data directly into generating articles for my website? (newbie, needs to know where to start))

Hi all I am fairly new to web development, I've made a couple of my own sites over the years with simple html tables and free webhosts. This time, I have decided to try to host my own site using WAMP ...
1
vote
0answers
306 views

How to remove form autofocus on a Twitter Bootstrap form

I'm using Bootstrap on a site. Bootstrap is loading via a cdn. I can't edit the code directly. How can I remove the form auto focus? When I visit the page it automatically jumps down to the bottom of ...
1
vote
1answer
25 views

Why is the Chrome Developer Tools interface cropping my page? [closed]

This doesn't seem to be a common problem as I haven't found anything related. Chrome(Chromium in my case) DevTools seems to be behaving strange for me. It is cropping the right side of my page. ...
1
vote
0answers
16 views

Weird response from website buttons [closed]

I'm building a website using html, css and JavaScript. I'm having issues with the buttons on my page, where I have to press them twice to activate them, after that they work fine. It appears that this ...
0
votes
1answer
21 views

How would a client edit the website? [closed]

I am wanting to start creating websites for clients but am wondering on somethings. This one I do not know how to put into Google to get the results I want so I am asking here. I do HTML/CSS site ...
1
vote
1answer
24 views

Getting the same site to show with a different domain extension in Google

We have one site: sitea.co.uk We also own the domain: sitea.com (redirects to sitea.co.uk) We want US visitors to see sitea.com both in the browser and in Google when searching for our company ...
0
votes
1answer
17 views

CSS Selector Best Practice [closed]

When writing CSS, is there any reason to prefer shorter, more elegant selectors over longer, more comprehensible ones? I'm looking for technical, not personnel, reasons – processor hits and whatnot. ...
1
vote
0answers
149 views

How can I make my socket.id/nodejs server serve CSS files with the correct mime-type?

I'm using socket.io and https://socket.io/get-started/chat/ to produce a very basic chat server on a remote desktop running Debian. When I access the server's "main" page on port 3000, it fails to ...
2
votes
1answer
73 views

Will having a poor print page format hurt SEO?

I have searched to try and find out if there is any connection between the "print page" and SEO rankings and Google's indexing of the site. To me, it seems like the websites which have messy layouts ...
0
votes
1answer
599 views

Will this hidden element be count as SEO Spamming? [closed]

As you know, search engine robots sometimes count invisible elements as SEO spam. I have a website that i want to improve SEO performance. I'm planning to make homapage as like below. Will this be ...
1
vote
1answer
27 views

Explain me some CSS [closed]

Newbie to CSS. I don't get why :before and :after are used. Can I get some easy explanation,please?
0
votes
2answers
333 views

Responsive web design causes social media buttons to overlap the logo on smaller screens [closed]

I haven't developed a website in quite some time, and am currently working on one for a friend's small company. I put together a simple design, and have been able to get the content itself to be ...
1
vote
0answers
43 views

What is it called when an HTML block floats while scrolling down the content until something else takes its place?

Recently updated my blog and was looking for the improvements they have added. I noticed a floating section of text that stayed there until a part of description ended. (Similar to the timestamp on ...
2
votes
3answers
48 views

Page-specific skins in MediaWiki?

Is there a way to force a particular skin to be applied while displaying specific MediaWiki articles? In my wiki many articles will have a "flip" version with alternative content (think "good" and "...
3
votes
1answer
355 views

Does Google care about cached versions of site having Stylesheet and JavaScript files?

I would like to know if having Stylesheets and JavaScript files available for old, cached versions of a site benefits SEO in any way. Currently I'm adding a hash of the file contents to the file name, ...
2
votes
2answers
747 views

Is using the <pre> tag for ordinary text in a page likely to impact SEO?

When coding pages by hand, I sometimes want to skip having to write all those <p> tags and use: <pre> <h2>Heading written as usual is no problem within a pre</h2> <i&...
11
votes
2answers
5k views

Should company name in logo be an image or text?

I'm putting a logo (comprising of an image and company name) on my website. I'm not sure whether to save the company name text as part of an image file, or to have it as actual text in the html and ...