Questions tagged [css-reset]

CSS reset is a technique that allows you to make chosen elements display in (roughly) the same way by default in different browsers. Came to exist since different browsers rendered basic HTML elements with their own styling, which - obviously - differed. Ties with css-cross-browser, but is more specific.

CSS reset is a technique that allows you to make chosen elements be displayed in (roughly) the same way by default in different browsers. CSS reset came to exist since different browsers rendered basic HTML elements with their own styling, which - obviously - differed. Ties with css-cross-browser, but is more specific.

Common implementations:

99 questions
0
votes
0 answers

Do i have to use a reset css with bootstrap 3?

This question has never been asked before in here, though i didn't find a relevant answer for it on google too. Reset CSS files are used widely with so many Frameworks, but bootstrap does not come with one, so do I have to add it??
El Don
  • 902
  • 7
  • 14
0
votes
1 answer

unable to reset safari user agent stylesheet whit custom css

I cope with strange safari user agent stylesheet. Safari adds: display: block; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; which I can not overwrite even whit !important attribute…
0
votes
0 answers

including reset css: @import or not?

Most popular reset CSS pages suggest using @import to include their css, e.g. https://code.google.com/p/reset5/ or http://www.cssreset.com/scripts/yahoo-css-reset-yui-3/ to name the top google hits. However, in Best way to include CSS? Why use…
user1111929
  • 6,050
  • 9
  • 43
  • 73
0
votes
2 answers

Integrating Normalize.css with the rails asset pipeline

I followed the super simple direction on how to install the normalize-rails css reset gem outlined here https://github.com/markmcconachie/normalize-rails but I keep getting error stating that "couldn't find file 'normalize-rails'" when I included…
jobes
  • 3
  • 1
  • 2
0
votes
2 answers

After applying Reset CSS , and other tags lost their default style

I found that I should be using Reset CSS file for making websites, but after I include it, all the and tags lose their style. is not longer italic and is no longer constant font. I fixed it by adding em { font-style: italic;…
bodacydo
  • 75,521
  • 93
  • 229
  • 319
0
votes
3 answers

Why exactly do some websites have a reset CSS section at the beginning of their CSS file?

Why exactly do some websites have a reset CSS section at the beginning of their CSS file? I keep reading that it helps cross browser compatibility, but what exactly does that mean? Just curious, thanks!
evanslove
  • 61
  • 1
  • 2
0
votes
1 answer

Chrome browser rendering differently when compared to safari

This is my code[Very simple code but not able to crack it].Am very much new to these things.As I always used fixed width and I didn't get any issue.But my real question is why there is huge difference in width occupied by different…
TryingToLearn
  • 365
  • 2
  • 4
  • 15
0
votes
0 answers

Boilerplate's and Compass's CSS resets are duplicates or should i keep them both?

I'm using Boilerplate and Compass on the same project. Boilerplate have normalizer.css and main.css. and Comapass have screen/print/ie.css. Is it a good idea to have both the css resets of both libraries or are they just duplicates? (Compass's files…
0
votes
1 answer

Why is bootstrap css using box-sizing: border-box?

I'm using only the bootstrap dropdown component but its css shrinked many of my existent layout elements and the page looks now a like damaged. After a closer look I found out what's causing this: *, *:before, *:after { -webkit-box-sizing:…
Hexodus
  • 12,361
  • 6
  • 53
  • 72
0
votes
2 answers

Nav and lists in a reset style-sheet

Is this reset style-sheet correct? The problem I am having is with the oi and ul. As you can see, below where there is ol li, ul li { margin: 5px 0 0 40px; } I only want to apply it for Lists within the page, it worked, however It applys…
user2756554
0
votes
1 answer

responsive fonts, margins, paddings

I have this basic css style. What am i trying to do is to make the text responsive(fonts), i know i have to use ems / rems to do that ( i choose rems with a fallback to px not sure if it's right but you can see in the code how i did, the px i'm not…
Bogdan
  • 693
  • 7
  • 26
0
votes
2 answers

Resetting a jQuery function?

I have jQuery animating a div with an embedded YouTube video in it. I have it set so that when you close the video, the div hides and the movie stops. However, if I want to get the movie back I can't. I was wondering if there was a callback that…
Greg
  • 567
  • 2
  • 14
  • 31
0
votes
1 answer

How can I define a new reset?

By including @import "compass/reset"; in my .scss file, I can have Compass automatically include a simple HTML5 reset. I'd like to use a different reset, so how can I add my own reset to Compass, or change the default one?
KatieK
  • 13,586
  • 17
  • 76
  • 90
0
votes
4 answers

HTML centered DIV

I am trying to center a div. This is my code: title
Niklas
  • 23,674
  • 33
  • 131
  • 170
0
votes
3 answers

How to reset an input type CSS

I have set a global CSS to text type inputs. Eg: input[type=text] { padding:10px; width:100px; //and many more } Now, I am using a plugin colorpicker on a particular div. This plugin draws some input elements for color hex inputs, and sets its own…
Pulkit Mittal
  • 5,916
  • 5
  • 21
  • 28