tagged [css]

Is there a CSS selector by class prefix?

Is there a CSS selector by class prefix? I want to apply a CSS rule to any element whose one of the classes matches specified prefix. E.g. I want a rule that will apply to div that has class that star...

22 Jun at 01:9

Set line spacing

Set line spacing How can I set line spacing with CSS, like we can set it in MS Word?

5 Feb at 16:41

How to align entire html body to the center?

How to align entire html body to the center? How do I align entire html body to the center ?

4 Oct at 04:25

How can we draw a vertical line in the webpage?

How can we draw a vertical line in the webpage? For horizontal it is ``. but for vertical line?

22 Sep at 21:0

How to customize <input type="file">?

How to customize ? Is it possible to change the appearance of ``?

10 May at 11:56

Html: Difference between cell spacing and cell padding

Html: Difference between cell spacing and cell padding What is the difference between cell spacing and cell padding?

23 Nov at 04:51

Using Javascript in CSS

Using Javascript in CSS Is it possible to use Javascript inside CSS? If it is, can you give a simple example?

20 May at 17:56

Support for "border-radius" in IE

Support for "border-radius" in IE Does anyone know if/when Internet Explorer will support the "border-radius" CSS attribute?

17 Jul at 05:31

How to wrap text using CSS?

How to wrap text using CSS? How do I get text like this to wrap in CSS?

16 Oct at 16:37

How do I center content in a div using CSS?

How do I center content in a div using CSS? How do I center content in a div both horizontally and vertically?

28 Jul at 08:40

Outline radius?

Outline radius? Is there any way of getting rounded corners on the outline of a `div` element, similar to `border-radius`?

25 Sep at 17:27

Is background-color:none valid CSS?

Is background-color:none valid CSS? Can anyone tell me if the following CSS is valid?

20 Apr at 18:8

How can I make a float top with CSS?

How can I make a float top with CSS? I know that CSS only supports left and right values for the float property, but is there a technique to implement a floating top? I will try to explain. I have the...

9 May at 16:25

How to make a div with no content have a width?

How to make a div with no content have a width? I am trying to add a width to a `div`, but I seem to be running into a problem because it has no content. Here is the CSS and HTML I have so far, but it...

20 Jun at 09:12

How to make a <div> always full screen?

How to make a always full screen? No matter how its content is like. Is it possible to do this?

15 Nov at 02:5

Is CSS Turing complete?

Is CSS Turing complete? CSS isn't, insofar as I know, Turing complete. But my knowledge of CSS is very limited. - -

16 Jul at 19:24

Should I use pt or px?

Should I use pt or px? What is the difference between `pt` and `px` in CSS? Which one should I use and why?

26 Jan at 09:26

Check element CSS display with JavaScript

Check element CSS display with JavaScript Is it possible to check if an element's CSS `display == block` or `none` using JavaScript?

19 Nov at 13:0

What's the difference between align-content and align-items?

What's the difference between align-content and align-items? What is the difference between `align-items` and `align-content`?

11 Aug at 09:7

Maintaining the final state at end of a CSS animation

Maintaining the final state at end of a CSS animation I'm running an animation on some elements that are set to `opacity: 0;` in the CSS. The animation class is applied onClick, and, using keyframes, ...

30 Jan at 19:54

Can I use a :before or :after pseudo-element on an input field?

Can I use a :before or :after pseudo-element on an input field? I am trying to use the `:after` CSS pseudo-element on an `input` field, but it does not work. If I use it with a `span`, it works OK. Th...

14 Nov at 04:16

Stretch and scale CSS background

Stretch and scale CSS background Is there a way to get a background in CSS to stretch or scale to fill its container?

30 Sep at 15:8

Hiding the scroll bar on an HTML page

Hiding the scroll bar on an HTML page Can CSS be used to hide the scroll bar? How would you do this?

13 Jul at 13:16

CSS: create white glow around image

CSS: create white glow around image How can I create a white glow as the border of an unknown size image?

3 May at 14:57

Styling text input caret

Styling text input caret I want to style the caret of a focused ``. Specifically, the color and thickness.

19 Sep at 19:4