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 attempt

Re: [css-d] 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 f

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 wh

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

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 PRO

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 ab

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). ht

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 "

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), o

Re: [css-d] Applying A Border To

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 elements? > It seems kind of counter-intuitive. Because doesn't really "exist" as a rendered element, it merely serves to group s and s into a row. A cannot directly contain an

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 http://geek.focalcurve.com/archive/2004/02/the-ie6-randomly-

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. src="images/about-hnav.jpg" alt="hey, hey, hey" /> a img { border: none; } Translated, that means any element which is a descendent of a

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

2005-09-26 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

Re: [css-d] Table Styling

2005-09-25 Thread Craig Cook
On 9/25/05, Jeff Chastain <[EMAIL PROTECTED]> wrote: > > . > > totals >   > 24,655 > 16,503 > 226,232 [snip] > > What I would like to do is simply set the text alignment where the first > cell is left justified and the last three cells are righ

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:

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] Printing background images

2005-08-09 Thread Craig Cook
On 8/9/05, artcoder <[EMAIL PROTECTED]> wrote: > My page at > http://learn.webmarksonline.com/css/code/code32/coollines.htm > looks fine on the monitor. But if an user prints my page from IE, > the tiled background image of my diagonal textures does not show up. > What is the best way to get backg

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 develope

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 gi

Re: [css-d] widths - ie 6, 5.5, 5.0

2005-08-08 Thread Craig Cook
On 8/8/05, Denise Hartmann <[EMAIL PROTECTED]> wrote: > I hope this has not been covered over an over, but I want to know about the > width discrepancy I am encountering in different versions of IE. Why is 600px > wide more narrow in 5.0 than it is in 6.0? It has indeed been covered, but a refre

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 beh

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 - w

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] img w/id padding

2005-06-08 Thread Craig Cook
On 6/8/05, Gerry Creighton <[EMAIL PROTECTED]> wrote: > is it possible to adjust padding to two different images within a td > as shown below? > > td.img#imageone {padding: 4px;} > td.img#imagtwo {padding: 0px 4px 0px 2px;} Your selectors are a bit malformed. Remove the dot and add a space like s

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-03 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 she

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 __ css-discus

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 eleme

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 but

Re: [css-d] Help with text/image replacement

2005-06-01 Thread Craig Cook
On 6/1/05, Matthew Velic <[EMAIL PROTECTED]> wrote: [snip] > #intro span { > text-indent: -5000; > } > > #intro h1, h2 { > left-indent: -5000px; > } These two invalid rules are your problem. The negative indent on your span is missing a unit (I believe IE assumes pixels when a unit is absen