tagged [css]

What does the CSS rule "clear: both" do?

What does the CSS rule "clear: both" do? What does the following CSS rule do: And why do we need to use it?

12 Aug at 13:52

Select elements by attribute in CSS

Select elements by attribute in CSS Is it possible to select elements in CSS by their HTML5 data attributes (for example, `data-role`)?

How to draw circle in html page?

How to draw circle in html page? How do you draw a circle using HTML5 and CSS3? Is it also possible to put text inside?

26 Jan at 12:42

Which characters are valid in CSS class names/selectors?

Which characters are valid in CSS class names/selectors? What characters/symbols are allowed within the class selectors? I know that the following characters are , but what characters are ? ``` ~ ! @ ...

31 Dec at 01:25

How can I make a CSS table fit the screen width?

How can I make a CSS table fit the screen width? Currently the table is too wide and causes the browser to add a horizontal scroll bar.

14 Jun at 18:45

CSS '>' selector; what is it?

CSS '>' selector; what is it? I've seen the "greater than" (`>`) used in CSS code a few times, but I can't work out what it does. What does it do?

2 Feb at 13:36

CSS selectors ul li a {...} vs ul > li > a {...}

CSS selectors ul li a {...} vs ul > li > a {...} 1. What is the difference between ul > li > a {...} and ul li a {...} in CSS? 2. Which one is more efficient and why?

27 Jun at 14:59

CSS selector for disabled input type="submit"

CSS selector for disabled input type="submit" Is there a CSS selector for disabled `input type="submit"` or `"button"`? Should I just use `input[type="submit"][disabled]`? Does that work in IE6?

20 May at 02:23

Repeat table headers in print mode

Repeat table headers in print mode Is it possible in CSS using a property inside an @page to say that table headers (th) should be repeated on every page if the table spreads over multiple pages?

14 Sep at 17:34

What does the "+" (plus sign) CSS selector mean?

What does the "+" (plus sign) CSS selector mean? For example: I don't know what the `+` means. What's the difference between this and just defining a style for `p` without `+ p`?

28 Nov at 17:25