Hi there I have a site that I am building in ASP.NET when the page renders it places a form on the page and this is breaking my css to make the footer stick at the bottom of the page this is my code:
<body> <div id=\"wrap\"> <!-- This wrap div needs to encompass everything except the footer div at bottom --> <!-- begin header --> <div id=\"headerWrap\"> <div id=\"header\"> <div id=\"logo\"> </div> <h1 id=\"title\"> </h1>
<!-- begin login --> <div id=\"loginpanel\">
</div> <!-- end login --> </div> <div id=\"navbar\">
Now if you run this it works, but if you add a form tag after the body tag (with an end one of course! the css breaks even though I have followed sites like sticky footer and ryan fait!) I cant get it to work now and I have no idea why! Can anyone please suggest anything?
Thanks in anticipation!
Tuppers
I have several other CSS files for styling I am not sure if you would like to see them aswell??? But I have tested with just my css layout style sheet and all is well without the form tag!!
My HTML code is the following:
Now if you run this it works, but if you add a form tag after the body tag (with an end one of course! the css breaks even though I have followed sites like sticky footer and ryan fait!) I cant get it to work now and I have no idea why! Can anyone please suggest anything?
Thanks in anticipation!
Tuppers
I have several other CSS files for styling I am not sure if you would like to see them aswell??? But I have tested with just my css layout style sheet and all is well without the form tag!!
Probably due to clean the code really!
Thanks for looking and if I do find out why it wasnt working I will post the reason!
Cheers
Tuppers