Re: [css-d] problem: background image won't size with content

2009-09-22 Thread Erik Vorhes
On Tue, Sep 22, 2009 at 8:54 AM, bill walton wrote: > The panel in the middle behind the signup form is actually two images: > an 11px-wide one on the left that gets repeated, and an 11px one on the > right that finishes the image off.  The visual intent is shading on the > bottom and right edges

Re: [css-d] HTML column additional header using CSS

2009-09-17 Thread Erik Vorhes
On Thu, Sep 17, 2009 at 11:49 AM, Patrick Evans wrote: > Nope sorry.  :-( > > On 9/17/09, David Laakso wrote: >> Patrick Evans wrote: >>> I have been trying to get a div position above a header.  The table >>> has a fixed layout so the column widths I hope are not changing and >>> I'm using the f

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-10 Thread Erik Vorhes
On Sat, Aug 8, 2009 at 5:04 AM, Alan Gresley wrote: >> 4. If the IE stuff breaks any other browsers, put the culprits back in >> a conditional comment. > > I must say that is a unusual and strange step. > Really? If I have a site that renders properly in everything except, say, IE7, but the techni

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-07 Thread Erik Vorhes
my workflow. I also have some philosophical issues with the "hack" approach, but nothing I've written is explicitly intended to convince you not to use CSS hacks. (Though I think it's easier not to use them.) Erik Vorhes (*not* Eric Meyer, if that would ever be an issue!) __

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Erik Vorhes
> Chris Blake wrote: >> >> >> >> In the head? I have that reset.css and one style sheet attached. i >> thought that it was OK to put the conditional comment in the normal >> style sheet. I could have made a separate style sheet for IE only, but >> it is just this one hack so seemed a bit unnecessar

Re: [css-d] width:100%; not rendering 100%

2009-07-17 Thread Erik Vorhes
On Fri, Jul 17, 2009 at 1:32 PM, bill walton wrote: > > I've got a page with two divs, one over the other, both set to 100% > width.  The one on the top is positioned absolute at 0,0.  The one under > it is a nav bar using the sliding window tabs and it's positioned > float:left.  The one on the to

Re: [css-d] css validation help

2009-07-17 Thread Erik Vorhes
On Fri, Jul 17, 2009 at 1:29 AM, Alan Gresley wrote: > > The best way is to only hack IE7 or lower since all modern browsers > (including IE8) should render a page the same way. I would not recommend > hacking your HTML with IE Conditional comments since they are not in one > location and thus not

Re: [css-d] Site check please

2009-07-16 Thread Erik Vorhes
On Thu, Jul 16, 2009 at 2:57 PM, Lorraine Barte Nepomuceno wrote: > > So far, I've tested this layout in Mac Firefox & Safari, and Windows Firefox > & IE8. I'd love any feedback you might have- especially viewed in other > browsers and resolutions. > > http://www.splashscreen.com/sample/sample.html

Re: [css-d] css validation help

2009-07-16 Thread Erik Vorhes
On Thu, Jul 16, 2009 at 1:42 PM, Vincent Pollard wrote: > > 1)      The third line here validates in CSS3 but not in CSS2.1 - > > a) does that matter? > Not really, since you're doing it intentionally, and you'd run into that issue with anything that's valid in CSS3 but not in CSS2.1. > > I didn'

Re: [css-d] A simple question - h1 before p

2009-07-08 Thread Erik Vorhes
On Wed, Jul 8, 2009 at 3:20 PM, MEM wrote: > > All h1 that are followed by a p will have a padding-bottom of X. > > Is this possible? No, but you could apply the reverse: h1 + p { padding-top: 3em; } So instead of "any h1 that precedes a p" you're styling "any p that immediately follows an h1."

Re: [css-d] Problem with background image in Safari 3

2009-06-23 Thread Erik Vorhes
On Tue, Jun 23, 2009 at 2:21 PM, Ramiro E. Ruiz Castillo wrote: > I have a problem with safari 3, I have a background image to repeat in the > body and when I resize the browser window the background images moves, not > like firefox, safari 4 or google chrome. > > This is an example: http://mirdum.

Re: [css-d] overriding normal key combinations in IE8

2009-06-11 Thread Erik Vorhes
On Thu, Jun 11, 2009 at 1:16 AM, Noel Taylor wrote: > > So I thought it would be fun to try to write an event handler that would > allow me > to produce those letters in the textarea in question by typing ctrl-a, > ctrl-e, etc. > > Of course, browsers already have their own functionality assigned t

Re: [css-d] html 5 and styling

2009-06-10 Thread Erik Vorhes
On Wed, Jun 10, 2009 at 9:47 AM, David Dorward wrote: > 2009/6/10 David Hucklesby : >> Interesting. That's similar to Thierry's suggestion for enabling styling >> of ABBR in IE 5/6 - > > It is the same. Using DOM to generate an element of an unknown type in > IE registers it in a way that makes tha

Re: [css-d] html 5 and styling

2009-06-09 Thread Erik Vorhes
On Tue, Jun 9, 2009 at 12:59 PM, Nancy Johnson wrote: > However, because of the javascript it worked fine in IE6 and 7. Also, you should probably put that JavaScript in a conditional comment, so only IE sees it. Firefox 3, Safari, and Opera don't have a problem, it seems, with "nonstandard" HTML 4

Re: [css-d] html 5 and styling

2009-06-09 Thread Erik Vorhes
On Tue, Jun 9, 2009 at 12:59 PM, Nancy Johnson wrote: > I was playing around with html 5.0.  This is my first time and I > couldn't get the following to style correctly in Firefox 2 or 3 > However, because of the javascript it worked fine in IE6 and 7.   What > am I doing wrong? >  I couldn't get t

Re: [css-d] Taming table widths

2009-05-30 Thread Erik Vorhes
On Sat, May 30, 2009 at 9:08 AM, Delos Woodruff wrote: > I've got a site that is built using tables for layout and I'd like to > eliminate the small horizontal scroll that shows up. I am assuming it > has something to do with the margins/padding in all the nested tables > but I would expect the pr

Re: [css-d] Font syntax question

2009-05-28 Thread Erik Vorhes
On Thu, May 28, 2009 at 4:02 PM, Kym Costanzo wrote: > > font: normal 1.2em/1.3em Verdana, serif; > > I don't know what the slash between the two values means. I'm new to ems, > but learning. The number + unit before the slash is font-size. The number after the slash is line-height. Oh, and

Re: [css-d] Hover using button in IE6

2009-05-28 Thread Erik Vorhes
On Thu, May 28, 2009 at 8:24 AM, Nancy Johnson wrote: > I am styling some buttons for an internal application that uses IE6 only. > I would like to switch out the button on hover, because IE6 doesn't > support hover I am wondering there is a work around to make IE6 work > with hover, preferably CS

Re: [css-d] list Within list problem

2009-05-28 Thread Erik Vorhes
On Thu, May 28, 2009 at 7:59 AM, Reese wrote: > Also, you have: > > > A personal pension... >         >                Flexibility... >                ... >         > In the end, your... > > Again, w/out the text: > > >   >     >   ... > > You should have: > > >   >     >  ... No, his HTML i

Re: [css-d] How to display a line BELOW the div?

2009-05-25 Thread Erik Vorhes
On Mon, May 25, 2009 at 9:04 PM, Anna G wrote: > Thank you David and Mark. > > The only problem is that the image has to stay INSIDE the box1. This is due > to the CMS we are using :( > > Is there any way to get the box2 to display below the image, by keeping the > image inside box1? You'll want

Re: [css-d] PNG alpha transparancy

2009-05-15 Thread Erik Vorhes
On Fri, May 15, 2009 at 5:12 AM, Gunther Van Butsele wrote: > > A young webdesigner colleague of mine insists on using PNG's with alpha > transparancy in his designs, mostly because he uses a lot of gradients > and he wants them to flow seamlessly into the other backgrounds. > > What do you guys t

Re: [css-d] positioning images on a background graphic

2009-05-14 Thread Erik Vorhes
> > re: > > > Anthony, the original poster, has followed your advice as of this writing. > He has included display:inline; on the li. Follow the above url and note > your suggestion does not fix IE/6. Nor

Re: [css-d] positioning images on a background graphic

2009-05-14 Thread Erik Vorhes
On Thu, May 14, 2009 at 2:51 PM, David Laakso wrote: > > There is no "bug" that I am aware of. > Actually, the following CSS does trigger the IE 6 doubled-margin float bug: > li > { > float: left; > margin: 0 0.15em; > } For details on this phenomenon, see

Re: [css-d] positioning images on a background graphic

2009-05-14 Thread Erik Vorhes
On Thu, May 14, 2009 at 1:36 PM, Anthony L wrote: > > Can anyone tell me which IE bug I am missing ? > It's the dreaded double-margin float bug, I bet. Add display: inline; to your styles and you should be good to go. Erik _