[css-d] Postion : relative + absolute
Hi list, I'm developing a web site ( you can check it out at http://work.grillo.tk/vilarigno/home.html ), and I'm pretty rusted with css ( almost 8 month without coding ), and I need a little help I have an element, the badge that says faça seu pre cadastro, that I need to be over some other elements, so I thought about declaring it with position:absolute. But I need it to be at a certain position from other element ( I remember seeing something like this in the web before, I think ). I need this so when the user with low resolution, scroll the page, the badge will be on the same position where it started. Is this the best approach to do this ? Can someone spare a tip on how to achieve this effect ? TIA Grillo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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] Postion : relative + absolute
Actually, after futher playing with it, I found out that my problem is that I've centered the page layout, and the badge doesn't move to the middle according to the layout as the browser resolution gets bigger. Is there a workaround this ? TIA again Grillo On 5/9/06, Marcelo Wolfgang [EMAIL PROTECTED] wrote: Hi list, I'm developing a web site ( you can check it out at http://work.grillo.tk/vilarigno/home.html ), and I'm pretty rusted with css ( almost 8 month without coding ), and I need a little help I have an element, the badge that says faça seu pre cadastro, that I need to be over some other elements, so I thought about declaring it with position:absolute. But I need it to be at a certain position from other element ( I remember seeing something like this in the web before, I think ). I need this so when the user with low resolution, scroll the page, the badge will be on the same position where it started. Is this the best approach to do this ? Can someone spare a tip on how to achieve this effect ? TIA Grillo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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] Postion : relative + absolute
Thanks Scott, your sugestiond did the trick; and I think I understood the concept here too. And KJ's thanks for spotting that, doesn't made any difference, but it was wrong Thanks all who helped. Grillo On 5/9/06, Marcelo Wolfgang [EMAIL PROTECTED] wrote: Hi list, I'm developing a web site ( you can check it out at http://work.grillo.tk/vilarigno/home.html ), and I'm pretty rusted with css ( almost 8 month without coding ), and I need a little help I have an element, the badge that says faça seu pre cadastro, that I need to be over some other elements, so I thought about declaring it with position:absolute. But I need it to be at a certain position from other element ( I remember seeing something like this in the web before, I think ). I need this so when the user with low resolution, scroll the page, the badge will be on the same position where it started. Is this the best approach to do this ? Can someone spare a tip on how to achieve this effect ? TIA Grillo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/