Re: [css-d] trouble with extra width in IE PC

2005-06-27 Thread Gary Turner

Bruce Gilbert wrote:

Hello,

I still haven't been able to come up with a solution to my problem
with my div's not lining up in IE (PC). The URL in question is
http://www.inspired-evolution.com/Contact.php, and the CSS is
http://www.inspired-evolution.com/Gilbert.css.

I tried adding display:inline to the divs that make up the page, but
that messes things up in the good browsers. Any suggestions for me?
This isn't a float issue, because I have nothing floated.


Not tested.

Look at this;


#breadcrumbs{/*sets positioning and font-size for breadcrumbs*/
padding-left:4em; --- 4 ems added to
padding-top:.5em;
padding-bottom:.5em;
width:100%;--- 100% width
font-size:.95em;
font-weight:bold;
color:#ccc;
font-family:verdana, arial, sans-serif;
}

The 100% + 4em causes #breadcrumbs's parent container to expand to enclose it. 
IE's like that, helpful. :(  There is not need for a width value anyway, so lose 
it.  That should solve your problem unless there are other similar instances. 
Usually, there is no need to state width.  A block element defaults to available 
width, while inline elements should ignore the property.


cheers,

gary



--
Anyone can build a usable web site.  It takes a graphics designer to
make it slow, confusing, and painful to use.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] trouble with extra width in IE PC

2005-06-26 Thread Bruce Gilbert
Hello,

I still haven't been able to come up with a solution to my problem
with my div's not lining up in IE (PC). The URL in question is
http://www.inspired-evolution.com/Contact.php, and the CSS is
http://www.inspired-evolution.com/Gilbert.css.

I tried adding display:inline to the divs that make up the page, but
that messes things up in the good browsers. Any suggestions for me?
This isn't a float issue, because I have nothing floated.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/