|
here are my solutions.
1. the red line does not extend because you have not specified any width to it. and it takes the content width and displays only till that.
2. thats because the footer along with the banners are ina different div and it is improperly nested also. the content div is not closed .
3. this happens all the time. since the page has got some improperly nested/closed tags (invalid tags) the display will be affected.
you have tried to mix both XHTML and HTML. maybe cos of that it happens.
try to validate your markup. use w3's validator service. validator.w3.org .
if you got any errors, correct that.
4. using div/layers for layouts is fine as long as you do it correctly and use the proper syntax and correctly syntax it.
there is no clear rule/statement which says that table layouts are better than layer based layouts and viceversa.
it all depends on the designer and the kind of site which is being created.
when you are using layer based you got to be extra cautious since you got to "fix" your layout for diff. resolutions.
in tables all one needs to do is make the width into percentage values and it is done.
hope this helps, if u got any other problems. feel free to post it.
Have a nice day and all the best.
|