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

learn more… | top users | synonyms

-3
votes
0answers
13 views

can I make the responsive menu bar without using ul and li tag in Html/Css [on hold]

Can I make the responsive menu bar without using <ul> and <li> tag in Html/Css? I have searched many time but not get any answer.
0
votes
0answers
4 views

How can I make this custom dual nav responsive and fixed at the same time? [migrated]

I have a client that want's two custom nav menus stacked on top of one another and under a slider with their logo in the center. They also want the menus to be fixed upon scroll. I have executed this ...
-6
votes
0answers
47 views

What is the meaning of “delimited”? [on hold]

context: http://www.sitepoint.com/web-foundations/attribute-selector-css-selector/ Description, Second Paragraph, First Line Attribute selectors are delimited by square brackets What does ...
3
votes
0answers
71 views

Why does the order of the link elements in <head> matter? [migrated]

From Code Academy's Make a Website: CSS Styling: <head> <link href="font.css" rel="stylesheet"> <link href="main.css" rel="stylesheet"> </head> ...
-2
votes
0answers
14 views

How to activate Code completion for Javafx CSS Tags? [closed]

I deactivated the Code suggestions and completion for Javafx specific CSS Tags like - fx-background-color accidentally in intellij idea. Anybody knows how to activate it again? Thanks
0
votes
0answers
29 views

Get element constraint [migrated]

I've been working recently with very nested HTML elements. Sometimes, an element's size is constrained by a parent element several levels up, or more. Finding the constraint can be tough. An example ...
1
vote
2answers
209 views

CSS Preprocessing (SASS or LESS) vs CSS Postprocessing

So I stumbled across some frameworks for doing CSS post processing such as pleeease.io and I was wondering what are some main benefits or use cases for using CSS post processing? I feel you can ...
-2
votes
0answers
24 views

AngularJS SPA Visual Studio Template - Gap between header and content [migrated]

I am attempting to use the AngularJS SPA Visual Studio Template for a website found here: https://visualstudiogallery.msdn.microsoft.com/5af151b2-9ed2-4809-bfe8-27566bfe7d83 However, I am having a ...
1
vote
1answer
99 views

For HTML report generation, should CSS be put into stylesheet or written into the html file?

I'm writing a report generator for an automation tool. Right now I have a report template html file which is read by the generator and the results are filled in by the tool to be written to another ...
-5
votes
1answer
103 views

Why isn't HTML/CSS/HTML5 considered a programming language? [duplicate]

I was just curious as to why programmers don't consider Web development as programming.. I know C and C++, Python etc. are tones harder then what I do (HTML etc.) but why do programmers laugh at it? ...
-1
votes
1answer
96 views

HTML and CSS required for .NET Development [closed]

On a job application, part of the job description is "...needs to know HTML and CSS as some .NET is required...". What does this mean? I thought HTML is a programming language, CSS is a way to ...
0
votes
2answers
149 views

What are the tecnhical reasons for email HTML, CSS, Javascript limitations and their persistance [closed]

If you've ever made a custom email you'll know that there are significant limitations in you need to be aware of. The most obvious limitations being: No support for Javascript in emails No support ...
0
votes
2answers
109 views

Changing CSS classes when different strings are displayed in a text element with jQuery [closed]

I'm just wondering if this method would be possible using jQuery HTML and PHP. Basically I have a filtering system were products are listed, some have different attribute values such as Hatchback for ...
2
votes
1answer
105 views

Uniform variable naming across HTML, CSS and JS

I'm sorry if this is opinion based, but how do you guys make sure that HTML, CSS and JS have uniform variable naming? I use vim, but I don't know if IDEs are smart enough to do this on their own. In ...
0
votes
1answer
66 views

With a highly bespoke responsive website, will it be most effecient to customise bootstrap / use something else (pure-io?) / roll my own rules [closed]

I've got a few non trivial responsive website builds coming up. They are not platforms or apps, but large marketing / brochure websites where eye for detail is important. I've used bootstrap ...
2
votes
1answer
89 views

Is this approach to CSS correct?

Reading SASS basic features on their website, I stumbled upon the @extend feature. The example they give is the following: .message { border: 1px solid #ccc; padding: 10px; color: #333; ...
3
votes
1answer
460 views

Why are there so many CSS properties which are essentially the same?

This answer really made me wonder. I've written CSS before and (usually) I don't really bother to support browsers other than recent firefox and chrome, but in researching I've noticed that, for the ...
0
votes
1answer
86 views

Loading dynamic css based on user

I want to provide different UI theme based on user who logged in. For that I have came up with following 2 options: create separate files for all themes duplicating all the common css. This way I ...
0
votes
0answers
47 views

Handling stylesheet from a real programming language

Lately I've been playing with CSS (and other web technologies). I'm a non-web programmer, and probably this is influencing way too much my approach. I found CSS syntax very limited, thus gave a shot ...
0
votes
1answer
98 views

Should ALL divs float left?

I'm designing within an application that I inherited. I have done a lot of work to "consolidate" the CSS which was extremely overworked through much copying and pasting without a lot of strategy ...
1
vote
1answer
107 views

Best way to let users/visitors alter the website design

What I am trying to do is give the users/visitors the option to alter the whole website based on their taste. So they can move for example the sticky bar from top to bottom, alter background colors, ...
2
votes
2answers
161 views

How to be Agile when new work keeps affecting completed work?

The project I'm working on is to re-skin an existing website. The functionality will stay the same, it's just the styles that are changing. In other words, I'm not modifying the HTML, only the CSS ...
0
votes
1answer
178 views

Website File and Folder Structure

I am having a problem learning how proper website structure should be. And by that I mean how to code the pages and how folder structure should be. Currently I am navigating around my website using ...
1
vote
1answer
217 views

For web apps (vs web pages) why not put scripts and css inline? [duplicate]

I understand that for normal websites you'd want to share scripts and css and therefore liking to them means that each page shares them from the cache. But this question is not about "normal multipage ...
1
vote
2answers
201 views

What license is HTML released under?

All products seem to be released with a license, I'm curious to know how one would go about finding out the license of technologies like HTML, CSS and JavaScript?
0
votes
1answer
86 views

Can I scrape a website for font stylings?

I am trying to scrape websites for valuable text for example the title of an article, the author's name, and other distinguished text. I cannot always guarantee that this sort of text will have ...
1
vote
1answer
125 views

Should I be using OOCSS in a CSS theme?

I have heard of OOCSS some time ago, but never really looked into it. Today I did so, and I thought of the implications of applying OOCSS to a simple CSS theme. One problem I thought of is that, by ...
-3
votes
1answer
173 views

How to restrict user submitted CSS within <div> [closed]

We are having rich text editor in which we can insert html. if any input contains <style> tag then the css is applied to entire window. is it possible to restrict that CSS to be applied within ...
26
votes
6answers
2k views

Tight Coupling Between Javascript, HTML, and CSS: A More Modern Approach?

It's very common to see Javascript bound to certain selectors to find elements, store data, and listen for events. It's also common to see these same selectors used for styling. jQuery (and its ...
0
votes
0answers
105 views

Best practices in creating JavaScript styling API's: Balancing CSS and JavaScript

I have written a number of components for Durandal--DatePicker Widget, Tabs Widget, Radio Widget, etc. I'm having a little conceptual difficulty in how best to balance a styling API with CSS. For ...
0
votes
1answer
199 views

Twitter Bootstap: Backwards compatibility? [closed]

I work for a university Digital Services team. Our university's main website uses the Ektron CMS (I have my own thoughts about this, but that's irrelevant). Because we maintain a university website, ...
1
vote
3answers
567 views

What is the real difference between a minified and uncompressed file? What are the benefits of each?

I often see something like "uncompressed for development / minified for production" when reading blogs or downloading frameworks. What is the real difference between the two, and if minified is "good ...
0
votes
0answers
60 views

Including front end designers in enterprise web development

We are developing a web application using Java EE. The stack is heavy, the deployment is complex and now we want to include a purely CSS designer in the team. We want to include this designer without ...
2
votes
3answers
469 views

Reasons for moving from pure JavaScript to a JavaScript library

Being aware of the direct benefits of libraries having things wrapped in a package, making daily work easier, my question is leaning more towards the fact that many features not implemented in ...
0
votes
3answers
342 views

What process should I follow to implement (code) a web site in HTML5/CSS?

The title question is unfortunately pretty vague (or at least may be asking differently than what I intend)... but let me elaborate. I know basic HTML5 and CSS. I don't need to learn the tags and how ...
0
votes
1answer
127 views

MVC Widget optimization when accessing CSS and Resources

So we're trying to re-imagine our web solution in an MVC fashion. Going from an old webforms based solution to working with ASP.NET MVC with a bootstrap main menu and adding functionality in the forms ...
2
votes
1answer
76 views

Sass File Formating - what problems might are there with the following rules?

For a while now I have been considering the formatting of sass files to maximise their usability by other coders and I think that this would be perfect place to get some feedback on the rules I try to ...
18
votes
2answers
576 views

CSS for Visually Impaired people?

So while I was learning HTML I encountered CSS. It's interesting because with CSS you can make a webpage cool or more beautiful. But since it's more about colors, designs, styles etc., I can't know ...
0
votes
3answers
794 views

Will it be a wrong idea to have <style> in <body>?

In below code i placed internal style sheet with in body tag, instead of having in head. For Single-Page-Application I am considering to do this for styles that is only applicable to that page alone, ...
5
votes
4answers
267 views

Naming CSS classes and IDs

I'm quite a CSS beginner. I've read some introductory books but now I came across a sort of question that isn't answered in any of them: Let's say I have a basic HTML-based website with a standalone ...
0
votes
1answer
206 views

Is a development environment required for small projects? [closed]

I won a bid on Elance and was had a request to fix some css and html issues with a WordPress site. How do I make changes to the document without working on the live site? Do you set up a development ...
0
votes
1answer
2k views

Switching between mobile webapp version using Ionic Framework and Desktop web app version?

I own a web application that make use of Twitter Bootstrap 3. This eases the design of the mobile version since it brings some responsive features. However, I would like a really native-mobile aspect ...
37
votes
6answers
2k views

Why not embed styles/scripts in HTML instead of linking?

We concatenate CSS and JavaScript files to reduce the number of HTTP requests, which improves performance. The result is HTML like this: <link rel="stylesheet" ...
5
votes
1answer
953 views

OOCSS / BEM / SMACSS architecture

I've been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles. I'm really trying to understand what the best ...
-1
votes
1answer
59 views

How to manage styles on a group of websites

Up until now the styles were handled by a single CSS file (for each site). I'm customizing it like this: opened the site in Firefox opened inspector/style editor changed CSS values around until I ...
1
vote
3answers
315 views

Why are <section>, <header> and <footer> tags not used much when I see sites that are in HTML 5? [closed]

I've noticed that even when a websites front end is coded in HTML 5 as evidenced by the <!DOCTYPE html>, people rarely seem to use the new HTML 5 <section>, <header> and ...
3
votes
2answers
713 views

Semantic CSS class names [closed]

I always read articles that suggest to not use presentational CSS class names. Currently I'm working on a small website project. The footer on this website looks like this: Although it's pretty ...
1
vote
3answers
868 views

CSS structure for creating responsive websites

I'm a back-end engineer who works on a small team so occasionally needs to do some front-end. I like to develop a good workflow and project structure before I start anything, so I'm wondering about ...
1
vote
2answers
201 views

Is it correct to say that CSS is AOP? [closed]

With selectors being a counterpart to pointcuts, and rules pretty much doing the same as advices do, - can we say that cascading style sheets are adhering to aspect-oriented paradigm ? And a corollary ...
1
vote
3answers
232 views

History of vendor css prefix

When and how did this process of prefixing css with vendor specific prefix begin. Which browser/org start this and why was this started. I searched the web but found no details on this.