Cascading Style Sheets (CSS) is a language for specifying the layout and presentation in general of XML documents (in particular HTML).

learn more… | top users | synonyms

1
vote
1answer
173 views

Is there a name for CSS code smell that can be seen in class names like “float” or “white”?

I noticed some code in our projects using CSS class names such as red, black or float. I want to provide some information for people so they know to avoid it. Is there a common name for that code ...
0
votes
4answers
231 views

To use custom CSS/HTML template or write code from scratch for a web application back end

I just developed the front end of a unique application for which I coded all the HTML, CSS, jQuery, and JavaScript. Now I want to start developing the back-end or admin panel. What's the best option ...
2
votes
2answers
202 views

Client side web development, general question

I'm a novice web developer, mostly worked with ASP.NET. On the server side, everything is very well documented and whenever there is an error, you get an explanatory error message. But on the client ...
-3
votes
0answers
41 views

Integrating Infusionsoft with wordpress [closed]

I have a user management system that populates the wordpress user but it is not currently speaking to infusionsoft as well. A plugin will not work because it is in the backend coding and not on the ...
4
votes
1answer
144 views

Where did the html/css 'float' concept come from?

Pretty straightforward, was wondering what the inspiration or precedent for the CSS 'float' concept. I'm not familiar with any other graphic APIs or other layout DSLs that use this concept, but it's ...
1
vote
0answers
100 views

How to be very good at converting design to css [closed]

I've been working for so long in the web area, but mostly back-end. I can convert an algorithm into source code, but when facing task of converting a design/layout into css, it took me a very long ...
0
votes
0answers
12 views

How to make an <input> element visible when another element is selected? (specific to Safari in iOS) [migrated]

I have been developing a website for the last month which is now complete except for one small but important detail. I have an element which, when hovered or clicked, makes an text box appear to ...
-3
votes
0answers
61 views

Why isn't the letter-spacing property being applied? [migrated]

<span style="font-size:20px;" "font-color: rgb (52, 52, 52,);" "letter-spacing:-50px;"> Syst&eacute;my pre k&uacute;renie <span style="color: rgb(0, 162, 228);">│</span> ...
0
votes
1answer
101 views

Mobile-first implementation or desktop-first? [closed]

When working with CSS media queries, I am unsure of whether I should program in a mobile-first style, or a desktop-first style. For example, let's say I'm given a design that consists of a set of ...
-3
votes
1answer
156 views

best way to learn HTML and CSS [closed]

I want to learn HTML and CSS in Nowruz holidays, what way do you suggest? according to that I know about HTML a bit, is possible to learn HTML5 directly without full knowledge about HTML4? thanks!
-1
votes
1answer
68 views

Better performance on web with big PNGs [closed]

I'm currently developing a web that is all made from images (an HTML version of a Flash web). The client provided me with a big PSD which I had to export each layer as a PNG to keep transparencies. ...
-2
votes
4answers
239 views

Is there anything like a CSS Fiddle? [closed]

I'm trying to create the CSS design for a new web application. Usually what I do is write the code in Notepad++, then ALT+TAB to Firefox and refresh the page to see my changes. The problem is that ...
2
votes
4answers
304 views

Why Have People Started Deeming it Necessary to Separate JS hooks from CSS hooks in HTML?

Edit: Point of clarificatioon, IDs and classes as separate hooks is just one form of the applied idea in question which is to never use the same hooks for CSS as you do in JS. I've also seen people ...
1
vote
1answer
131 views

Why do we program each file separately and place them in separate folders and how do all these file come together?

I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
1
vote
4answers
136 views

Suggestions for CSS frameworks? [closed]

So I've started developing web sites and have learned HTML and CSS fundamentals. However, I often run in to WTF-moments concerning layout; what looks good in one browser may look strange in another ...
-3
votes
3answers
289 views

how easy is html/css? [closed]

many people say that html/css is something easy, it looks easy at first sight but when i worked on some projects i noticed that : same value works differently depending on other properties and on ...
-1
votes
2answers
413 views

What are some interview questions I can expect for a technical evaluation? [closed]

I am 20 years old and I've been doing some web development work for about 2 years or so. I have an interview for a Junior Web Developer position and the company knows that but I'll still be going ...
0
votes
0answers
56 views

annoying “yo-yo”effect on sidebar [closed]

my sidebar at http://ntm.at/r0sa is doing annoying yoyo-effects, you can see it especially when you click on "projects"... has anyone an idea or firebug and can help me how to make the sidebar slower ...
5
votes
1answer
182 views

Copyright notice in CSS or XML files

I'm currently working on an open-source project. Currently, we put our copyright notice at the top of every Java source file. I was wondering whether it was advisable or common practice to put ...
5
votes
3answers
130 views

CSS Classes for semantics vs. styles in general cases

The W3C spec on the class attribute says There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the ...
7
votes
1answer
362 views

Why doesn't CSS natively support variables and hierarchy?

I am new to UI development, but I feel very uncomfortable with how CSS works. My use case is that I wanted to apply some specific styles inside a particular div on a page. CSS attempt: div.class1 ...
6
votes
3answers
2k views

Are there any advantages of sass over less?

I'm trying to do research on these css preprocessors. Are there any advantages of using sass over less as a css preprocessor? Factors that i'm looking for include community size, software project ...
23
votes
8answers
5k views

Should I write HTML or CSS first?

There are a lot of analogies for HTML/CSS development; which can be a bit confuse for a beginner. HTML = foundations/house CSS = walls/blueprint/wallpaper Is there any best practice here? ...
2
votes
0answers
98 views

Switching CSS to use asset pipeline in Rails?

I have a lot of legacy CSS files from what was a Rails 2.x app that got upgraded to Rails 3.2.8, and I want to switch over to using the Rails asset pipeline for stylesheets. The issue is, the CSS ...
7
votes
4answers
280 views

css - use universal '*' selector vs. html or body selector?

Applying styles to the body tag will be applied to the whole page, so body { font-family: Verdana } will be applied to the whole page. This could also be done with * {font-family: Verdana} ...
1
vote
1answer
142 views

'Windows' in a browser using html/css/js [closed]

I'm about to make a html/css/js/jquery page and I want it to contain collapsible, movable boxes/divs. Each box will typically contain a table or a graph and the idea is that the user should be able to ...
1
vote
3answers
217 views

CSS vs codebehind, if I have to do part of the style in codebehind, should I do all of it there?

I'm working with ASP.Net and trying to style an ImageButton. I tried to do this via CSS only to discover that for some reason, .Net writes out an inline style setting the border width to 0 ...
2
votes
1answer
181 views

What is the most performant CSS property for transitioning an element?

I'm wondering whether there is a performance difference between using different CSS properties to translate an element. Some properties fit different situations differently. You can translate an ...
5
votes
2answers
225 views

Using table-styled divs instead of tables

I was referred here from stackoverflow as my question was apparently too broad. I'm working on a template, and I know using CSS is preferred over HTML tables for positioning... But, is it acceptable ...
1
vote
5answers
140 views

CSS naming guildlines with elements with multiple classes

Its seems like there are 2 ways someone can handle naming classes for elements that are designed to have multiple classes. One way would be: <span class="btn btn-success"></span> This ...
4
votes
1answer
162 views

Why is CSS3 doing animations?

Like what the title says, why are there animations in CSS3? With basis from the "rule" of separation of concerns, HTML is the content, CSS is the style, and JavaScript is the interactive component. ...
5
votes
1answer
277 views

What is the proper way to create a cross-fade effect?

When creating an image slider, using a cross fade is one of more popular effects. Various sliders use differing techniques to create such an effect. Major techniques I've found so far are: Method 1: ...
11
votes
7answers
1k views

ASP.NET Webforms developers and web designers: how to interact?

I'm an ASP.NET Webforms developer, and I face some problems when I deal with designers. Designers always complain about the asp.net server controls. They'd rather just have an html file and create ...
1
vote
2answers
242 views

What is the impact of CSS Validation Failure?

I am developing a asp.net website. When I used the CSS property "word-wrap", VIsual Studio 2010 is showing a warning: Validation (CSS 2.1) 'word-wrap' is not a known CSS property name. When I tested ...
4
votes
3answers
233 views

Multiple style sheets best practice

I currently am working on a project which has one large style sheet for about 20 pages. The style sheet contains some styles which are specific for certain pages. I'd like to break the style sheet up ...
2
votes
2answers
1k views

Less vs Stylus vs Sass [closed]

I'd like to start using a CSS pre-processor to cut down development time. Which one of these is the fastest from this perspective?
4
votes
1answer
126 views

Which CSS attributes should be in HTML and which in BODY? [closed]

I have the following: html { overflow-y: scroll; } body { font-family: Georgia, "Times New Roman", serif; font-size: 1.125em; line-height: 1.5em; margin: 0 auto; max-width: 41em; } Which ...
5
votes
3answers
2k views

front end development test - html/css/jquery/javascript

We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as: How does a for loop start? What is ...
6
votes
3answers
246 views

Where can I learn about browser-specific quirks?

I am a professional iOS, Java and C# programmer. Now I want to build a website. The problem is I have already started building it and I am finding IE is not rendering it correctly. It is rendering ...
2
votes
2answers
119 views

Can display issues affect SEO?

Can website display issues on certain platforms affect a website's search rankings and potentially hinder any SEO efforts?
1
vote
3answers
386 views

Next step after creating mock-up screens

I have created some mockup screens for my app in HTML/CSS. I have 4 screens in total. They contain no client-side coding i.e. Javascript or jQuery. The screens themselves are quite bland at the ...
1
vote
2answers
1k views

Is it better to use multiple html pages or just change content on the same page using JavaScript?

Is it better to use multiple html pages and link them together with href or just change content on the same page using JavaScript? I am thinking of how to layout a page and I don't have a lot of ...
0
votes
1answer
142 views

Css design skills

I have seen this article: CSS3 Loading elements at HTML5 and CSS3 Tutorials pages. How did someone made this calculations? what angle, how much space, how much rotation to give? If I do it with ...
3
votes
3answers
331 views

Using “Context-based” CSS Class Names

This morning I found a note on my desk with some tips from a higher up developer who had been looking over some HTML/CSS I had put together. One of his suggestions was for me to "stay away from ...
-2
votes
1answer
293 views

visibility:hidden Vs visibility:collapse

In CSS, what is the difference between visibility:hidden and visibility:collapse They are given to be separate in W3Schools, but I see no difference in their output. I have tried it in Google Crome. ...
0
votes
1answer
168 views

Why Browsers do not resolve simple known issues? [closed]

Why Browsers do not resolve simple known issues such as: (in the context of CSS) Do NOT start a class name with a number! This is only supported in Internet Explorer and Do NOT start an ID name ...
8
votes
5answers
688 views

Best practices for web page styling with CSS?

I have a website to design. I have information on how the page should look and interact. The problem is I'm not good in front-end design, and have put many many hours to get the hang of the stuff. ...
0
votes
6answers
316 views

Should i expect real world questions from interviewing agency ? [closed]

I started coding almost a year ago. By "coding" I mean HTML(5), CSS(3), and only few times I implemented some AJAX and JavaScript. I am interviewing for a position that expects me to know HTML, CSS, ...
0
votes
3answers
275 views

Is a client side developer usually expected to do design work also, or know designing and CSS as well?

If I'm applying for a client side developer job, am I usually expected to know designing as well? Such as CSS? I have knowledge of JavaScript, JQuery, Ajax and HTML5 basics, and HTML DOM. Is this ...
3
votes
6answers
807 views

Why don't browsers support haml and sass?

The time needed to download a website would be significantly reduced, and parsing would be also easier I think. Why are not these languages imposed as a standard? Obviously they are better than raw ...

1 2 3