This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Re: Margins & Padding CSS - just not quite





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Margins & Padding CSS - just not quite
Al Sparber- PVII

2004-08-08, 12:14 pm

Piers 2k wrote:
> Hi folks,
>
> View page here: http://www.dylanthomastheatre.org.uk/designs/index.asp
>
> You can see my prob with the central section jutting out to the right
> slightly. According to measurements, it should fit perfectly, but
> something makes it stick out a few pixels too far. This is in IE (6).
>
> The same thing happens in Moz, but the 'jutting' is much bigger. If I
> can sort out IE, then can I go about creating a different style for
> Moz to use which IE will ignore, or is that just older versions?
>
> All help appreciated. Thankx in advance,



You need to redo the math a bit. It looks like, on a quick look that
your content DIV needs to be 613px wide given the dimensions, margins
and padding of all elements involved. Get rid of width: 100% in the
places you've used it and IE6 will likely fall into place, too.

--
Al Sparber - PVII
http://www.projectseven.com
DW Extensions - Menu Systems - Tutorials - CSS FastPacks
---------------------------------------------------------
Webdev Newsgroup: news://forums.projectseven.com/pviiwebdev/
CSS Newsgroup: news://forums.projectseven.com/css/
RSS/XML Feeds: http://www.projectseven.com/xml/




Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews