Re: [css-d] absolutely positioned box with relative content and absolute background imgs

2006-11-13 Thread Adam
Hi Tee,

no I have to work around it.

The problem is using the rounded corners on a div absolutely positioned 
and without a fixed width or height. Unfortunately there is a 
dynamically generated div with data from a database, so I don't know 
before hand how much height or width I need and I have to leave it auto.

I think it's just impossible to do without some major dojo-style hacks.

Thanks
Adam

ps nice site


Tee G. Peng wrote:
 Hi Adam, have you get your probelm  fix yet?
 
 I did a site a while back with rounded corner, you can take a look and 
 see if it helps.
 
 The site:
 www.sapotek.com
 
 and the style that control the rounded corner. It has a problem in IE 6, 
 and I used conditional comments - see the iecrap.css file.
 
 /* corner images - decor only
 -*/
 #content #corner-left {
 background:  transparent url(../common_images/corner-left.gif) 
 no-repeat 0 0;
 height: 13px;
 width: 35em;
 position: absolute;
 left: 220px;
 top: 50px;
 }
 #content #corner-left  h6{   
 background:url(../common_images/corner-right.gif) no-repeat top right;
 }
 
 #content #corner-btm {
 background:  url(../common_images/corner-btm-ltr.gif) repeat-x left 
 bottom;
 height: 9px;
 width: 35em;
 }
 #content #corner-btm h6{
 height: 9px;
 background:url(../common_images/corner-btm-rgt.gif) no-repeat right 
 bottom;
 }
 
 
 regards,
 
 tee
 

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] absolutely positioned box with relative content and absolute background imgs

2006-11-08 Thread Adam Hardy
Adam on 06/11/06 16:57, wrote:
 http://www.gargantus.com/sylvie/questions.html

I posted this a couple of days ago but I think with all the negative talk about 
being able to position things centrally in IE, it got ignored, so I'm posting 
this issue again with the difference that I don't actually want to centrally 
position it, it is just positioned more or less in mid-page, but with absolute 
co-ordinates.

However in IE the background images just don't work out. In FF it looks great 
though.

Can anyone tell me how to kick IE in the right place to make it work?


Thanks
Adam

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/