This is a discussion on "Page Goes On an On Forever, using CSS" within the Web Page Design section. This forum, and the thread "Page Goes On an On Forever, using CSS are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Page Goes On an On Forever, using CSS
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Page Goes On an On Forever, using CSS
http://www.lincolnsafari.org/registration.html
I used CSS to do this page, but as you can see, the orange background, goes on forever, and ever. I've tried changing the height of the containerr div, but it doesn't fix it. Any help? |
|
|
|
#2
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Remove
You have 375 errors! It might solve your problem, it might not but at least we'll be working will validated code. |
|
#3
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
I removed that line, but it's still not changing the height. Is the doc type right? I never really understood which doc type I should be using.
|
|
#4
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
The doctype is fine ... just get rid of those errors.
|
|
#5
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
I found a better doc type to use from alistapart.com
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> And now there a far fewer errors. But the page is still going on forever in safari and IE, but not in firefox? |
|
#6
|
||||
|
||||
|
Re: Page Goes On an On Forever, using CSS
But you still have errors! As karinne said, fix them! It's a lot easier to solve the problem if you can conclude it's not a parsing error
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
#7
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
i still get these 2 errors, and I don't know how to fix them? The head tag is open, and that is the line that closes it. And then the body tag is right below it. I thought this is fine? |
|
#8
|
||||
|
||||
|
Re: Page Goes On an On Forever, using CSS
Under your doctype, you need an <html> tag.
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#9
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Oh wow, can't believe I missed that. Ok added that in, but still the 2 errors.
|
|
#10
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
not sure if i got all your code correctly but try this on your page for validation.
|
|
#11
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Hey that got rid of the errors, but now onto the Big problem....why is my page so long? arg.
Thanks for helping fix the errors though. |
|
#12
|
||||
|
||||
|
Re: Page Goes On an On Forever, using CSS
I dont really understand your question... Your page is long because the content is stretching it...
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#13
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
In Safari, the orange background goes on for a long time. And in IE, if you try to print the form, it tries to print 180 pages.
|
|
#14
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
What does this mean
Quote:
|
|
#15
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
I think you'll find if you look in IE7, it does the same as in Safari
|
|
#16
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Quote:
Choosing the best Doctype for your website |
|
#17
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Yup, Karinne is right! Always use HTML 4.01 Strict... It is the best to use.
Say Karinne, what is the HTML 4.01 Strict equivalent to target="_blank"? It does not validate and I do not know of another way to open a new window with a link...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#18
|
|||
|
|||
|
Re: Page Goes On an On Forever, using CSS
Quote:
Other items, such as target="_blank" are deprecated because they are fundamentally bad. It's maddening when a website takes control of the browser; it feels like a violation! Designers use target="_blank" because they don't want users to leave their website. This is stupid for two reasons:
Beware that pop-up windows are blocked by many browsers. Last edited by MikeHopley; Nov 10th, 2007 at 10:27. |