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
1 vote
1 answer
158 views

Toggling between hidden divs instead of two links

For each entity in my site I have a 'joint' section (~30%), and a sub-section (~70%) which has two different options, meaning I only display ONE of them at a time. Currently I have two different links ...
Noam's user avatar
  • 2,008
1 vote
1 answer
752 views

Preloading web fonts with visibility: hidden; bad for SEO? [duplicate]

I've started using a method to preload the webfonts via hiding them; whilst it works great, I'm not sure if "hiding text" will be viewed as bad for SEO? All I do is something like this: CSS; ....
Brett's user avatar
  • 193
3 votes
1 answer
203 views

Predefined code styles or css library

Is there a (free of charge) predefined CSS library for C# code formatting available? I want to display my C# <code> blocks in a web page similar to the way it is displayed in visual studio or ...
P.Brian.Mackey's user avatar
1 vote
1 answer
650 views

HTML Template Designs - Alternatives to Theme Forest

I'm looking to build a new corporate website using a ready made HTML theme so that I can focus on the business logic rather than on the presentation. Any recommendations for websites similar and ...
Jonny's user avatar
  • 113
-1 votes
1 answer
860 views

aligning 3 divs [closed]

I'm good at some things but html/css layout isn't one of them. I need to lay out a page with two divs on the left, div1 (height 30%, width 30%) on top and div2 (height 7% and width 30%) below div1. ...
RoyHB's user avatar
  • 103
2 votes
0 answers
69 views

Design scrollable table structure [closed]

I'm currently looking for a way to design a table structure with HTML and JS which should be Horizontally Scrollable (It has to be possible to dynamically add new columns) Tolerant to changing sizes (...
schlingel's user avatar
  • 159
1 vote
2 answers
531 views

Google Cache CSS and HTML files are out-of-sync

I am monitoring the cached version of the main page of one of my sites. I have noticed something strange. Obviously, the cached pages is displayed with the latest CSS file. Yet, the page content is ...
Jérôme Verstrynge's user avatar
4 votes
2 answers
3k views

Responsive design best practice: Duplicate html elements for media querying and SEO impact?

I have a page with, in order of html appearance, a figure tag, headgroup tag, and an article tag. In order to make a page's design responsive using media queries, I need a different order for ...
Armel Larcier's user avatar
4 votes
3 answers
260 views

Can CSS button code be copyrighted?

I used this website which allows you to customize the color, width, height, and other stuff which is generated afterwards and then you can copy the code. I checked the website and didn't see any FAQ/...
SwagCodes Alertz's user avatar
2 votes
1 answer
143 views

Need a study about average latency due to HTTP request and server processing time when downloading images that are a part of DOM

I'm writing a thesis about css sprites and need to know the of the average HTTP request overhead when establishing a connection to download an image file that is a part of DOM. We conducted a study ...
JohnnyM's user avatar
  • 171
0 votes
1 answer
1k views

Fixing Google Chrome text antialias for .ttf fonts

I have found a topic which presents a solution on how to get antialising working in Google Chrome - Windows, but they use .svg format. I have a .ttf format and I import all of my fonts like this at ...
71GA's user avatar
  • 71
6 votes
1 answer
180 views

buttons (text or images)

I would like to know if I should create CSS buttons or image buttons for my site. What is better? Problem is that the text is formatted with Helvetica Neue ( I like that font very much) and I can't ...
drpelz's user avatar
  • 163
3 votes
2 answers
376 views

Implementing inline editing for a web order form without using Javascript

As the title states, I'm trying to find a good solution to implement inline editing for a web order form with just HTML/CSS. The only mediocre solution I have right now is this -> http://jsfiddle.net/...
Steven Chen's user avatar
1 vote
1 answer
102 views

Animation of a browser loading page elements?

Some time ago, I recall finding a visual explanation of the order web browsers load specific page elements, and how they stack and fit together. I was recently getting back into some web development ...
Meepinator's user avatar
2 votes
1 answer
44 views

Apply CSS to a particular page element in Firefox

Is there a Firefox extension that will let me simply select a visible element on a page, get a CSS selector referring specifically to that element (as the Firefox Web Developer extension already does),...
themirror's user avatar
  • 349
0 votes
1 answer
2k 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 ...
Ant Swift's user avatar
  • 109
2 votes
2 answers
885 views

Use of rare fonts on the web

I have just been peeking at the source code of a web page. I notice that there is a CSS rule that defines what seems to be a rare font for some nice-looking subheadings. Html (Source file) <h2&...
JW01's user avatar
  • 123
-1 votes
1 answer
4k views

How to retrieve an image from MySQL database and display the image as background on body? [closed]

How do I retrieve an image from MySQL database (I know how to display image by retrieving from database but here i want to display differently) i.e. display the image as background on body and image ...
user1938039's user avatar
1 vote
1 answer
545 views

Custom per domain CSS in Internet Explorer

We have an old web app, which would be much more usable if it could be visually tweaked a bit. Being in a corporate environment - IE (always using the latest version) is all I can use. Also app in ...
Damiqib's user avatar
  • 111
4 votes
1 answer
4k views

CSS framework that support Internet Explorer 6, 8 out of the box

I am developing a new web application that must support Internet Explorer 6 and 8 (it's a strict requirements). I planned to use a CSS framework (like Twitter Bootstrap). However, it did not support ...
user avatar
9 votes
3 answers
7k views

Directory structure for a website (js/css/img folders)

For years I've been using the following directory structure for my websites: <root> ->js ->jquery.js ->tooltip.js ->someplugin.js ->css ->styles.css -&...
nightcoder's user avatar
1 vote
2 answers
126 views

How to hide a piece of code from a wordpress web page?

I installed a plugin called Sociable on my Wordpress website. It displays social media share icons below each blog post, but on my website it's also showing up in the footer. Like here http://amsa.mn/%...
Harry M's user avatar
  • 151
0 votes
1 answer
879 views

Is it possible to design website using tablets? And Which tablets support XAMPP? [closed]

I am trying to ditch my laptop for a tablet, and be able to practice PHP, HTML, CSS on the fly. But, I don't know which tablet to buy that can support even basic apps like Notepad++ and XAMPP.
samayo's user avatar
  • 119
1 vote
1 answer
164 views

Is there a general rule of thumb for which browsers to optimize your site for? [duplicate]

Possible Duplicate: At what visitor share do you stop supporting a given browser? I have a site (recently relaunched it with a new design) that I have put off optimizing for ie7 for far too long. ...
Christian's user avatar
0 votes
1 answer
255 views

Weird CSS-behaviour [closed]

<!DOCTYPE html> <html> <head> <title>PakHet</title> <link rel="stylesheet" type="text/css" href="css/basis.css" ...
WMRKameleon's user avatar
-4 votes
1 answer
143 views

I want to be a freelance web designer. What other up to date technologies/skills would you add to this list? [closed]

Technologies I need to know: HTML, HTML5, CSS, CSS3, jQuery, CSSLESS, ASP.NET, SQL, WordPress, PHP Skills needed: media querys/responsive design, browser compatability, graphic design, user interface ...
user19781's user avatar
0 votes
1 answer
24 views

Newer constructs are recommended [closed]

The World Wide Web consortium now regards the tag as outdated. Newer constructs are recommended.What's new?
khushbu's user avatar
5 votes
1 answer
306 views

Why is email HTML stuck in the 90's? [closed]

(disclaimer - I've already tried asking this on StackOverflow, but apparently it was off topic. If the same is true here please let me know and I'll close/delete this question.) I've spent about a ...
Sean's user avatar
  • 169
1 vote
2 answers
79 views

protecting css selectors on large website

I have content that appears within a corporate website inside an iframe. Several departments contribute their own CSS files to manage the overall UI and design. My problem is that they may use ...
Tim's user avatar
  • 123
3 votes
3 answers
2k views

How can I slice parallelogram shapes to HTML/CSS?

I have to slice website design to HTML/CSS. Main navigation menu looks like below: I am beginner webdeveloper and I don't know how to slice this design into compatible and cross-browser code. How ...
Hyde's user avatar
  • 33
1 vote
2 answers
226 views

Tab navigation and double content

I have a website in which i use tabs to navigate between pages. For example, page a displays A as an active tab and B and C background tabs. If the visitor gets to the website via page B, i also would ...
riseagainst's user avatar
  • 2,222
2 votes
2 answers
118 views

How and where to place - css, html and images in email to make it a HTML email? [closed]

How and where to place - css, html and images in email to make it a HTML email? I have seen many advertising emails in my inbox and I am curious to know how does the email body display the HTML.
jitendra789's user avatar
5 votes
1 answer
957 views

How to overcome politics of the net (Google translate code refuses to work from a specific region)

According to the FAQ's I am not sure if my question is a ok to ask or will be closed or should I post it in the meta or even I would blame some one for downvoting it. However it is one that has been ...
Jawad's user avatar
  • 123
2 votes
0 answers
34 views

How to overcome politics of the net (Google translate code refuses to work from a specific region) [duplicate]

Possible Duplicate: How to overcome politics of the net (Google translate code refuses to work from a specific region) I have this Web Site. It uses the Google Translate API (Can't post the link, ...
Jawad's user avatar
  • 123
1 vote
3 answers
41 views

Separating portion of website to its own server

So my job is to take the homepage (or maybe I should say "homesite" because it encompasses a few interrelated pages) and drag this onto its own Apache server. The problem I'm having right now is being ...
user avatar
8 votes
1 answer
2k views

Unknown CSS font-family oddity with IE7-10 on Windows Vista, 7, 8

I am seeing the following "oddity" with IE7-10 on Windows Vista, 7, 8: When declaring font-family: serif; I am seeing an old bitmapped serif font that I can't identify (see screenshot below) instead ...
Jeff's user avatar
  • 534
3 votes
1 answer
876 views

Reduce HTTP Requests method for js and css

Is these way can Reduce HTTP Requests? multiple javascript files with & symbol <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.5.2/build/yahoo-dom-event/yahoo-dom-event....
Giberno's user avatar
  • 202
7 votes
2 answers
5k views

Convert Microsoft Word documents (.doc/x) into HTML files [closed]

Does anybody knows of a good application to get it done quickly and efficiently ? I bought Word Cleaner but the results are merely sufficient and I need to go over all the generated html files to ...
danie7LT's user avatar
  • 442
3 votes
0 answers
220 views

CSS rounded corners around image [closed]

I have tried several ways to get rounded corners around images without success. The best I got was using the image as background and applying the round corners style to the div as in this picture. ...
snippetsofcode's user avatar
0 votes
1 answer
1k views

SVG images grow and create scrollbars when on the server

Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine. I upload the same file to the server and look at the page online and the SVG images have grown by ...
Kenmore's user avatar
  • 123
4 votes
2 answers
8k views

If I override <STRONG> in CSS, does it retain any style elements?

If I override the HTML tag <STRONG> in CSS by specifying a different font weight and size, does it retain any other style settings or properties? strong { font-weight:700; font-size: ...
Digital Lightcraft's user avatar
5 votes
4 answers
211 views

Does CSS 'em' sizing still matter? [closed]

As I know, em-sizing was used by websmasters to create well-scaling sites, when changing font size in browser. But in modern times, I see that scaling a page scales all elements, even px-sized, so ...
Piotr Müller's user avatar
-2 votes
3 answers
614 views

If something can be achieved using CSS or JavaScript, which will render faster? [closed]

I have two working solutions for hover navigation that I've built. One solution uses JS, one use CSS. My question is, assuming a browser is JS-enabled, which solution will work faster? I'll most ...
Dan's user avatar
  • 143
1 vote
1 answer
733 views

CSS Sprites: Are they worth the trouble?

I can't help but wonder whether CSS sprites are very much over-used. First of all, if I stick all my images in a single file it makes an aweful lot of empty space. I know, that shouldn't make an ...
dogglebones's user avatar
3 votes
2 answers
474 views

How is fluid theme's impact on rendering performance?

I am new to responsive design and now re-making a template to make it more responsive. This involves redefining many fixed width and fonts as context-dependent percentage (% or em) instead of pixels ...
alfish's user avatar
  • 558
21 votes
6 answers
13k views

Do CSS class names have any effect on SEO?

I have seen some of our competitors using keyword-rich CSS class names. As an example, if I were in the pet grooming business, I would name my #menu as: #menu.pet.grooming.moreKeywords.etc { ... } ...
Jon Edwards's user avatar
2 votes
2 answers
180 views

How to show only disqus thread-votes and nothing else

I want to show just the thread vote portion of the whole Disqus commenting system. How would I go about doing it? Here is an example of what I am asking for: Could I possibly iframed the rating ...
bran's user avatar
  • 121
4 votes
2 answers
4k views

Why is <strong> in Safari significantly bolder than other browsers?

I am just about to go live with a new website - and during cross browser testing i noticed that the bold fonts in safari are FAR bolder (horribly chunky) in Safari than in the other big 4. The font I'...
Digital Lightcraft's user avatar
1 vote
1 answer
179 views

Tool to identify Internet Explorer rendering differences with css

I develop website using chrome and mac os as development environment. Since my audience is pretty specific I don't feel the necessity for too much backward compatibility with IE8 and less. However ...
Bakaburg's user avatar
  • 217
0 votes
1 answer
111 views

CSS just for most basic HTML [closed]

I've read that my note system Wikidpad, which exports to very simple HTML, can use CSS (http://wikidpad.sourceforge.net/help/HtmlCss.html) The elements in the output are not more than basic headings, ...
Gere's user avatar
  • 109

1
6 7
8
9 10
15