Maria Falconer wrote:
> Hi all
> I¹m trying to position a table on a page but when I use a tag like this
> #two {
> position: absolute;
> top: 12%;
> left: 30%;
> }
>
> which I have used to position objects before it changes the size of the
> table making it much narrower.
> Can anyone explain what is happening here please
> http://homepage.mac.com/lenarran/LabhaoiseSite/labhaoise_index1.htm
>   

Maria,

I edited the CSS on your page to absolutely position the table, and I 
didn't see it get any narrower. Can you please provide a before and 
after page for us to compare?

Sometimes positioning will make an item narrower because absolute 
positioning sometimes shrinkwraps the element's content (depends on the 
browser). This shouldn't apply to a table, however, because it should 
already be shrinkwrapping its contents -- unless you've told it to be 
wider than its contents. I don't know off the top of my head whether the 
shrinkwrapping action of positioning overrides the width set on a table 
-- I would guess not, but that's why seeing two copies of your page, one 
with the positioning and other without, would be helpful.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
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/

Reply via email to