Re: [css-d] Combining class and id in style sheet bug IE6

2006-05-14 Thread Els
[EMAIL PROTECTED] wrote: > Thanks. Here's the page in question: > > http://help.hyperarts2.com/bruning/properties/portfolio.html Ahem ;-) You have duplicate IDs. Change one of the IDs in something else and your problem will be solved :-) -- Els http://locusmeus.com/ http://locusoptimus.com

Re: [css-d] box model problems

2006-05-14 Thread Gunlaug Sørtun
skye estes wrote: > hi guys; i'm converting a site from tables to css positioning, and > i'm having trouble in internet explorer (surprise, surprise). this is > windows ie, by the way. the header, body, and footer all have the > same width settings, but the header is squeezing itself out to the

[css-d] box model problems

2006-05-14 Thread skye estes
hi guys; i'm converting a site from tables to css positioning, and i'm having trouble in internet explorer (surprise, surprise). this is windows ie, by the way. the header, body, and footer all have the same width settings, but the header is squeezing itself out to the right. also, the height setti

Re: [css-d] Combining class and id in style sheet bug IE6

2006-05-14 Thread francky
Tim Ware wrote: >I have a div class called "content3" > >I have created an ID called "portfolio" > >In the style sheet, I have > >.content3 { > rules... > } > >and for a different page: > >.content3#portfolio { > rules... > } > >IE 6 ignore all the rules in .content3#portfo

Re: [css-d] Combining class and id in style sheet bug IE6

2006-05-14 Thread Els
Els wrote: > Tim Ware wrote: > >> .content3#portfolio { >> rules... >> } >> >> IE 6 ignore all the rules in .content3#portfolio > > Try > #portfolio.content3 { > rules... > } Please ignore that - I was mistaken. The styles should work the way you are using it. Do you have a url showing the proble

Re: [css-d] Combining class and id in style sheet bug IE6

2006-05-14 Thread Els
Tim Ware wrote: > .content3#portfolio { > rules... > } > > IE 6 ignore all the rules in .content3#portfolio [snip] > What am I missing? IE's "special needs" ;-) Try #portfolio.content3 { rules... } -- Els http://locusmeus.com/ http://locusoptimus.com/ __

[css-d] Combining class and id in style sheet bug IE6

2006-05-14 Thread Tim Ware
I have a div class called "content3" I have created an ID called "portfolio" In the style sheet, I have .content3 { rules... } and for a different page: .content3#portfolio { rules... } IE 6 ignore all the rules in .content3#portfolio If I create an entire new

Re: [css-d] Why the height of containing block is zero?

2006-05-14 Thread ray
Thanks for all of your help. It's works now. On 5/14/06, Niklas Kanthak <[EMAIL PROTECTED]> wrote: > > > Thank your advice. I modified my code to: > > > > ... > > > > > > Hello ray, > > that's because you've inserted a new div which clears the flow but still > has float: right; due to the def

Re: [css-d] Making a mess, navigation and footer weirdnes s.

2006-05-14 Thread Mark Fellowes
I certainly have some reading ahead of me. I think the point where theory and practice fall apart is when one actually starts to work within the general layout and implement design elements. So the layout tutorials have been a good starting point for me but much more to go. Mark -Origi

Re: [css-d] Making a mess, navigation and footer weirdness.

2006-05-14 Thread Gunlaug Sørtun
Mark Fellowes wrote: > I think this clears up a misconception for me. Like "absolute" I was > considering floats to also be out of the document flow. Seems that > was wrong thinking. Yes, but you're only partly wrong :-) Absolute positioned elements don't take up any space in the flow, so oth

Re: [css-d] Making a mess, navigation and footer weirdnes s.

2006-05-14 Thread Mark Fellowes
I think this clears up a misconception for me. Like "absolute" I was considering floats to also be out of the document flow. Seems that was wrong thinking. Mark -Original Message- From: [EMAIL PROTECTED] Sent: Sunday, May 14, 2006 1:38 AM -07:00 To: Mark Fellowes [EMAIL PROTECTED]

Re: [css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ian Piper
On 14 May 2006, at 11:27 am, Ingo Chao wrote: > I thought you were asking for a general example. Your page did > already show the img at the right place in IE, I thought. Yes, you are right - that img is OK following earlier help. I was just trying out your recent suggestion using this page s

Re: [css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ingo Chao
Ian Piper wrote: > On 14 May 2006, at 10:12 am, Ingo Chao wrote: >>> If anyone could point me at a general example of how to position >>> graphics over other elements I'd be grateful. >> One option: Define a containing block via position:relative on any >> box. >> apply position:absolute to the

Re: [css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ian Piper
On 14 May 2006, at 10:12 am, Ingo Chao wrote: >> http://www.tellura.co.uk/soundsteps/ >> Also, I have noticed that in IE the padding at the bottom of the >> graphic is about twice the 3px it should be. Is this another IE bug? > > display:block on this img should solve it. It did - thanks. I have

Re: [css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ingo Chao
Ian Piper wrote: > http://www.tellura.co.uk/soundsteps/ > Also, I have noticed that in IE the padding at the bottom of the > graphic is about twice the 3px it should be. Is this another IE bug? display:block on this img should solve it. (IE constructs a baseline in an otherwise empty div, and

Re: [css-d] 2 columns with borders plus a footer that sticks to the bottom of the viewport

2006-05-14 Thread Erik Visser
Erik Visser wrote: > > The only thing it does not yet do is: > both columns stretching down to the bottom of the viewport even if they > each only have a few lines of text > you can see this the best when you zoom-out quite a bit > > before fixing this short coming i like your opinions > ok, th

Re: [css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ian Piper
On 14 May 2006, at 8:59 am, Ian Piper wrote: > it is fine in FF (Mac and PC) and Safari, but in IE 6 on Windows the > graphic has slid about 50px to the right. Oddly, it has pushed some > of the text aside but overlayed other text. Can anyone tell me what I > have done wrong here? > I just realis

[css-d] Positioning a graphic to overlay text

2006-05-14 Thread Ian Piper
Further to my recent posting, I have developed my code to try to get the graphic to overlay both of the main columns. I thought that if I put the div containing the graphic outside of the two columns and floating it as before it might work. And so it does, except for IE :-( If you look at h