CSS div following width of previous div in IE7?

Since #mainfooter's rules will take priority over any inherited rules, you could specify a width for #mainfooter ( width: 100% or barring that max-width: 100% ). That should solve the problem.

Since #mainfooter's rules will take priority over any inherited rules, you could specify a width for #mainfooter (width: 100%, or barring that, max-width: 100%). That should solve the problem.

Thanks for your response. Unfortunately, it doesn't work (whether I add width:100%, max-width:100% or width:1000px) – Billy Nov 2 at 8:16 So I have just tried adding display:block and it works now even if I don't have width:100%. Thanks for helping :) – Billy Nov 2 at 8:18 @Billy Good deal!

You can answer your own question here to increase your accept rate and to signal that this issue is solved for anyone using a search. – Steve Adams Nov 2 at 16:58.

So the solution is to add display:block to #mainfooter. Hope this helps anyone facing this issue in the future and great thanks for those who tried helping me.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions