Re: [css-d] Different ways of doing the same thing

2007-05-25 Thread Craig Cook
#pageWrapper { width:760px; position:absolute; left:50%; margin-left:-380px; } Where I would have just done: #pageWrapper { width:760px; margin: 0 auto 0 auto; } Without seeing the rest of the page or style sheet, my first guess would be they were attempting to

Re: [css-d] span / crashing IE7

2007-04-30 Thread Craig Cook
On 4/30/07, Glen Lipka [EMAIL PROTECTED] wrote: It still shouldn't crash the browser. I thought it was valid. The span element isn't empty, so it requires a closing tag. The trailing slash only closes empty/replaced elements. Agreed that an improperly closed span alone shouldn't cause a

Re: [css-d] font size

2007-02-16 Thread Craig Cook
On 2/16/07, jeffrey morin [EMAIL PROTECTED] wrote: i remember reading somewhere that you can control font size easier if you set 1em = 65%? i don't recall exactly what the number was and i can't find where i read it. i want to say it was andy budd but does anyone know what i am talking about

Re: [css-d] font size

2007-02-16 Thread Craig Cook
On 2/16/07, I foolishly wrote: 1.4em = 13px That should obviously be 1.4em = 14px, or 1.3em = 13px. Either way. The 3 and 4 keys are very close together, you know :) -- Craig, www.focalcurve.com __ css-discuss [EMAIL

Re: [css-d] font size

2007-02-16 Thread Craig Cook
On 2/16/07, Rob Stevenson [EMAIL PROTECTED] wrote: I've heard this before, and I witness the results daily since this idea seems to have caught on widely with eCommerce template people. But why is it important that you get a nice round number of pixels? Who cares? And why would you want the

Re: [css-d] font size

2007-02-16 Thread Craig Cook
On 2/16/07, Willie Wilson [EMAIL PROTECTED] wrote: Wouldn't font-size: 10px; do the same thing? Indeed it would, but then the text wouldn't resize in IE5 and 6. Using percentages and ems across the board keeps it scalable in those versions, if that's important to you :) It's 62.5% of what,

Re: [css-d] Strange css rules

2006-08-29 Thread Craig Cook
*padding:1px; This is the lonestar hack which sends declarations only to IE5 (in both Windows and MacOS 9, it seems). http://www.media451.com/experiments/css/hacks/ie_star.html _width:140px; This is the underscore hack which sends declarations to IE5 and IE6 in Windows (fixed in IE7).

Re: [css-d] Does a hidden element load?

2006-06-08 Thread Craig Cook
Does an element hidden with css load? Yes. That may be a perhaps. If hiding means visibility: hidden I believe you are correct. But if Christy means display: none then I do know some browsers do not download the image. I don't recall which browsers, though. Sorry. If element refers to

Re: [css-d] No Images

2006-05-16 Thread Craig Cook
On 5/16/06, Miriam Battersby [EMAIL PROTECTED] wrote: Why are my images not showing up and why is the H1 so BIG? Image URLs need to be relative to the location of the style sheet, not the web page. Add ../ in all your background image URLs to link up one level: url(../images/filename.png), or if

Re: [css-d] Applying A Border To tr

2006-03-22 Thread Craig Cook
On 3/22/06, Michael Warkentin [EMAIL PROTECTED] wrote: Is there a specific reason why a border can't be applied to tr elements? It seems kind of counter-intuitive. Because tr doesn't really exist as a rendered element, it merely serves to group tds and ths into a row. A tr cannot directly

Re: [css-d] Bullet Shenanigans in IE

2005-12-01 Thread Craig Cook
On 12/1/05, Eric Porter [EMAIL PROTECTED] wrote: I have a very curious issue happening. I think it's a browser error but I wonder if anyone can think of a way to prevent it. I've seen this before and blogged it a long time ago at

Re: [css-d] removing IE border on linked images

2005-11-14 Thread Craig Cook
On 11/14/05, bill [EMAIL PROTECTED] wrote: Anyone know how direct IE to remove the (default ?) border it places around images that serve as links? i.e. a href=dang.htmlimg src=images/about-hnav.jpg alt=hey, hey, hey //a a img { border: none; } Translated, that means any img element which is

Re: [css-d] What's this hack for?

2005-09-27 Thread Craig Cook
/* \*/ * html #tlc, * html #trc {height: 1%;} /* */ It's actually three hacks combined with the ultimate purpose of delivering a minimal height exclusively to IE/Win. /* \*/ = commented backslash hack hides rules from IE/Mac, which doesn't recognize the end of the comment because of a bug

Re: [css-d] Table Styling

2005-09-25 Thread Craig Cook
On 9/25/05, Jeff Chastain [EMAIL PROTECTED] wrote: table ... class=tabTable . tr td class=tabFootCelltotals/td td class=tabFootCellnbsp;/td td class=tabFootCell24,655/td td class=tabFootCell16,503/td td class=tabFootCell226,232/td [snip]

Re: [css-d] Padding and divs, basic question

2005-09-20 Thread Craig Cook
On 9/20/05, Scott Haneda [EMAIL PROTECTED] wrote: If I have a div that is set to 120px wide, and I want to drop some text into it, and have that text a few pixels in from the border of the div, is there some way to do it without messing with the 120px side of things: .foo { width: 120px;

Re: [css-d] possible to declare multiple backgrounds on divs in C SS?

2005-09-07 Thread Craig Cook
On 9/7/05, Pringle, Ron [EMAIL PROTECTED] wrote: Is this possible to do? Short answer: no. Longer answer: It's part of CSS3, so someday in the future it'll be possible. The only browser that supports multiple backgrounds at present is Safari, see http://webkit.opendarwin.org/blog/?p=15.

Re: [css-d] Slight OT - Structuring CSS files - are there anystandards?

2005-08-09 Thread Craig Cook
On 8/9/05, Christian Heilmann [EMAIL PROTECTED] wrote: I will introduce it as a best practice for my developers here, you can do the same at your place, if more and more companies can see the benefit of it, we may be able to collate an overall standard and make it much easier for developers to

Re: [css-d] preloading with css

2005-08-08 Thread Craig Cook
On 8/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: but I noticed when I hit refresh and rollover the butttons before they are loaded I get a white box. Is there anyway to preload the images with css?? Try Pixy's fast rollovers, http://wellstyled.com/css-nopreload-rollovers.html The gist:

Re: [css-d] full height tables - what's the best way?

2005-08-02 Thread Craig Cook
On 8/1/05, CJ Larson [EMAIL PROTECTED] wrote: I'm using an xhtml doctype on my pages and am not able to have table height be 100%. When I change the doctype to an html traditional with no url, though, the table displays correctly at the full page height. You're observing the correct behavior

Re: [css-d] CMS question

2005-06-15 Thread Craig Cook
Anyways, I had a quick question to pose to people: Has anyone had any experience with an open source content management system and implemented standards compliant code along with it? Looking for comments/suggestions/rants/raves... /* Insert obligatory WordPress plug here */ WordPress -

Re: [css-d] Link border

2005-06-13 Thread Craig Cook
On 6/13/05, Brian Jones [EMAIL PROTECTED] wrote: The thing is...I don't want the line to display under the image #sidebar a img { border-bottom: none; } Negates the border on images within links. -- Craig, www.focalcurve.com

Re: [css-d] Problem with z-index, I think

2005-06-06 Thread Craig Cook
Is this something that isn't possible with css? Or have I just messed up somewhere? Most browsers render plug-in content above everything else, regardless of stacking order. I have yet to find a way to make HTML layer over top of Flash. So there's nothing wrong with your CSS or markup, it's

Re: [css-d] problem with extra space/margin/padding

2005-06-04 Thread Craig Cook
Bah, I should learn to proofread better before I hit send... On 6/3/05, Craig Cook [EMAIL PROTECTED] wrote: On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote: THANKS! If I use global 0 margins, won't that blow out my centering of the shell div since I'm centering it with margin

Re: [css-d] problem with extra space/margin/padding

2005-06-03 Thread Craig Cook
On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote: http://www.5finger.com/columns.html If you look at this page, you'll see the dark gray (div id=shell), which is the basic container for the columns within, has extra space below the masthead and footer. The masthead/footer should butt right

Re: [css-d] problem with extra space/margin/padding

2005-06-03 Thread Craig Cook
On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote: THANKS! If I use global 0 margins, won't that blow out my centering of the shell div since I'm centering it with margin-left:auto; margin-right:auto; Yes it will, so you'll have to re-declare any margins or padding on any element that

Re: [css-d] problem with extra space/margin/padding

2005-06-03 Thread Craig Cook
By the way, I first learned of this global zeroing trick from Richard Rutter, who has some general info on it at http://www.clagnut.com/blog/1287/ as well as links to more. Worth a read. -- Craig, www.focalcurve.com __