css (16,739)


html - Percentage width child element in absolutely positioned parent on Internet Explorer 7

html - Percentage width child element in absolutely positioned parent on Internet Explorer 7

I have an absolutely positioned div containing several children, one of which is a relatively positioned div.When I use a percentage-based width on the child div,it collapses to '0' width on Internet…


javascript - How to detect which one of the defined font was used in a web page?

Suppose I have the following CSS rule in my page: body{font-family: Calibri, Trebuchet MS, Helvetica, sans-serif;}How can I detect which one of the defined fonts was used in the user's browser? Edit f…


html - How to word-break on a dash?

Given a relatively simple CSS: div{width: 150px;}<div> 12333-2333-233-23339392-332332323</div> Expand snippet How do I make it so that the string stays constrained to the width of 150,and simply wraps…


html - How do I make a checkbox toggle from clicking on the text label as well?

Checkboxes in HTML forms don't have implicit labels with them. Adding an explicit label(some text) next to it doesn't toggle the checkbox. How do I make a checkbox toggle from clicking on the text la…


ajax - What is Progressive Enhancement?

Jeff mentioned the concept of 'Progressive Enhancement' when talking about using JQuery to write stackoverflow. After a quick Google, I found a couple of high-level discussions about it. Can anyone r…


html - How do you disable browser Autocomplete on web form field/input tag?

How do you disable autocomplete in the major browsers for a specific input(or form field)?…


What sites offer free, quality web site design templates?

Let's aggregate a list of free quality web site design templates. There are a million of these sites out there, but most are repetitive and boring. I'll start with freeCSStemplates.org I also think…


javascript - Wrapping lists into columns

I'm using ColdFusion to populate a template that includes HTML unordered lists(<ul> s). Most of these aren't that long, but a few have ridiculously long lengths and could really stand to be in 2-3 col…



Setting a div's height in HTML with CSS

I am trying to lay out a table-like page with two columns. I want the rightmost column to dock to the right of the page, and this column should have a distinct background color. The content in the…


HTML Comments Markup

I am currently in the process of creating my own blog and I have got to marking up the comments, but what is the best way to mark it up? The information I need to present is: Persons Name Gravatar Ic…




html not how javascript working div jquery text image bootstrap