Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Absolute positioning and right: 0px; in Explorer?

Absolute positioning and right: 0px; in Explorer?
Thread Tools
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
May 24, 2003, 06:14 PM
 
I am trying to get a div hug the edge of the window and it works essentially... Except in Explorer, it adds an extra 10 or so pixels to the right for some reason. Even though I have margin: 0px; set for the body.

http://132.162.242.166/hugright.html

Thanks for any help

Edit: I also have another question...

When you have a table cell with no specified height, and put text inside, the amount of text you have dictates the height of the cell. Same goes with a div. If you put an image in a table cell, then the cell resizes to accommodate the image. However this isn't true with a DIV.

I am trying to do a portfolio like page using CSS. An image with align="left" and then the description of the image. But the image doesn't push down the text of the next entry. What can I do other than adding a bunch of <br>s after the text?
(Last edited by Synotic; May 24, 2003 at 06:43 PM. )
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
May 25, 2003, 05:44 AM
 
Originally posted by Synotic:
I am trying to get a div hug the edge of the window and it works essentially... Except in Explorer, it adds an extra 10 or so pixels to the right for some reason. Even though I have margin: 0px; set for the body.

http://132.162.242.166/hugright.html

Thanks for any help

Edit: I also have another question...

When you have a table cell with no specified height, and put text inside, the amount of text you have dictates the height of the cell. Same goes with a div. If you put an image in a table cell, then the cell resizes to accommodate the image. However this isn't true with a DIV.

I am trying to do a portfolio like page using CSS. An image with align="left" and then the description of the image. But the image doesn't push down the text of the next entry. What can I do other than adding a bunch of <br>s after the text?
http://developer.apple.com/internet/css/ie5cssbugs.html
Computer thez nohhh...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2