By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,396 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,396 IT Pros & Developers. It's quick & easy.

Help please, new to css

P: 1
Hey there... I am creating my first site using css for all layout.
It can be found at:
and css is

Two questions,

1) why dont my background colours expand when the content expands (open profiles to see what I mean)

2) how can I achieve the same look without using absolute positioning??

Thanks a mill!!
Mar 5 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,435
If you are using absolute positioning, the element is removed from the normal flow which might be why your background color is not expanding (the containing element will not expand to contain it). There is a bug in IE that allows that browser to expand to contain floats and, I think, abs positioned elements but, again, that is a bug in IE.
Mar 5 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.