Re: [css-d] Issues with padding

2010-02-05 Thread Climis, Tim
Take a look at your page with the Firebug extension for Firefox, and you'll see 
what's up.  What you think is mainContentPad and what actually is, are two 
entirely different things.

Fixing it will take some mark up changes, which means that I can't just test it 
quite as easily as CSS.  But I think that if you set #innerwrapper to have 
overflow:hidden; and put #mainContentPad inside either #innerwrapper or 
#twoColSpread_brd, things will start to come together.

Also, I'd consider using text-indent:5em instead of all the spaces at the front 
of your paragraph, and padding: 15px, instead of spelling out all of the 
paddings individually.

---Tim


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Issues with padding

2010-02-05 Thread Jason Arnold
On Fri, Feb 5, 2010 at 8:56 AM, WILSON, BECKY bwil...@mailbox.sc.edu wrote:
 I am having trouble with padding around the text body, see:
 http://www.sc.edu/aes/index.shtml



 Here is the CSS I'm using:

 #mainContentPad {

        padding-top: 15px;

        padding-right: 15px;

        padding-bottom: 15px;

        padding-left: 15px;

 }


You definitely want to run your site through validation first as there
are several errors with your code using the DOCTYPE you're using for
the page(You're evidently missing an end div tag btw).  I was able to
get your page to work in firefox (haven't checked in IE) by changing
your style for #mainContentPad to:

#mainContentPad {
padding: 15px;
width: 538px;
float: left;
}

whether or not that's the best approach I don't know but it fixed your
issue in firefox.


-- 

Jason Arnold
http://www.jasonarnold.net

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/