sanfly Posted January 14, 2007 Share Posted January 14, 2007 I have a page (see [url=http://sanfly.com/testing/template_2.html]HERE[/url]) which uses relative positioning to pull the content up ~250px and layer with my header. The problem is that I end up with a bunch of blank space at the bottom of the page (see the space below the yellow box.Is there anything I can do to fix this? View source for code. Quote Link to comment Share on other sites More sharing options...
dbrimlow Posted January 14, 2007 Share Posted January 14, 2007 Anything goes when you don't use proper DOCTYPE and valid html. Quote Link to comment Share on other sites More sharing options...
sanfly Posted January 14, 2007 Author Share Posted January 14, 2007 I'm sorry, is that supposed to help me? Quote Link to comment Share on other sites More sharing options...
AndyB Posted January 14, 2007 Share Posted January 14, 2007 [quote author=sanfly link=topic=122295.msg504432#msg504432 date=1168762917]I'm sorry, is that supposed to help me?[/quote]It sure will. The page you linked has no DOCTYPE specified so browsers may or may not display it as you expect. Using valid HTML would ensure that the page is displayed as you expect. The w3c free validation service will show you what's missing/wrong from your code.http://validator.w3.org/ Quote Link to comment Share on other sites More sharing options...
sanfly Posted January 14, 2007 Author Share Posted January 14, 2007 That was far more helpful, thanks Andy. Will look into it tonight. Quote Link to comment Share on other sites More sharing options...
sanfly Posted January 15, 2007 Author Share Posted January 15, 2007 Okay, so ive been working with the validator, and fixing the flash movie is going to take a little more time, so in this example ive replaced it with a div tag, and it validates great (see [url=http://sanfly.com/testing/template_1b.html]HERE[/url]).So, back to my original question... How do I fix the unwanted blank space created when I use relative positioning? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.