|
Using top-level selectors I'm unclear as to how best to use what I'm terming the top-level CSS selectors, by which I mean selectors like *, html and body. I'm coming at this from trying to understand how best to set font sizes but I seem to have strayed into a broader question. Some CSS guides seem to suggest that a * declaration is good... 24 Apr 2008 19:03
Lack of end tag messes up form styling - a known bug? My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that some forms were odd-looking, I noticed that indeed, fairly often the background is not applied and there is empty sp... 17 Apr 2008 13:20
Relative width in CSS Hi, In Yahoo YUI Grid CSS, It specified the relative width of a container (e.g. 750px) by, e.g. width : 57.6293em; /* 750 div 13 */ *width : 56.25em; /* 750 div 13.3333 for IE */ 1. Is this the standard way to define the width if we are using relative width? 2. Should we also define the relative padding... 11 Apr 2008 16:42
CSS hack for IE8? On 8 mar, 12:58, "Jonathan N. Little" <lws4...(a)central.net> wrote: A pain ain't it! As as MS keeps dragging behind like a uncooperative 2-year-old this is a web designer's reality. Recent reports I've read IE8 is that it will probably fall short again opposed to first blush... Johnathan, I think it wou... 9 Apr 2008 21:13
Vertically aligning form elements? What would be the correct way to align checkboxes and their labels, in your opinion? For example .... <td> <input type="checkbox" class="cbox" name="thisCheck" /> <label for="thisCheck">Check this if you want a copy</label><br/> </td> .... I am having a hard time with this. Firefox seems to ignore... 11 Apr 2008 04:30
Can a div's width expand to fit content's width? Hi I've created a banner with a drop-shadow using a div - there's a mock- up at http://tinyurl.com/6n7czu . The only problem is that the way I've done it, I have to specify the width of the div - if I don't, it renders with a width of 100%. Is there any way of making the width fit the text it encloses (plus padd... 12 Apr 2008 16:41
IE 7 -- extraneous bottom scrollbar.... here at work we build lots of sites, and recently we have found that in IE 7 an extraneous scrollbar appears at the bottom.. I was just wondering if there's anything in general that might affect this and how it could be fixed.. I know this is not strictly a css question, but well, just wondering if anybody ... 8 Apr 2008 10:48
Padding of 0px disables margin Hi, when I have two nested divs, the inner one with a margin-bottom and the outer one with a padding-bottom, the margin of the inner div is ignored when I set the padding of the outer div to 0. Look at this example: http://kundenweb.creations.de/usenet/css/powerfulpadding.htm Since this is valid in IE and F... 8 Apr 2008 00:10
Firefox doesn't handle float:right in UL correctly Hi I got this question from a user. It stumped me, and I'm hoping for some enlightenment from the community now. It is about centering images in a <ul>, and right margin in subsequent <li>s after a float. Firefox doesn't render the site as expected, while both Opera and IE does. CSS and XHTML do validate. Pl... 7 Apr 2008 19:24
popup image link requires right-click in IE I have a page with a:hover popups containing links -- some text, some images. http://www.cs.northwestern.edu/~riesbeck/popups/ The text links work fine. Roll over a building, click the popup that appears, and off you go. But in IE 7 (and 6 I'm told), clicking the popup image that appears for the small brown... 6 Apr 2008 13:38 |