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 |
|
|||
|
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? |
|
|
|
||||
|
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. |
|
|||
|
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.
|
|
|||
|
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? |
|
||||
|
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)
|
|
|||
|
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? |
|
|||
|
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.
|
|
|||
|
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.
|
|
|||
|
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. |
|
||||
|
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...
|
|
|||
|
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.
|
|
||||
|
Re: Page Goes On an On Forever, using CSS
What does this mean
Quote:
|
|
||||
|
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
|
|
||||
|
Re: Page Goes On an On Forever, using CSS
Quote:
Choosing the best Doctype for your website |
|
|||
|
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)
|
|
|||
|
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. |
|
||||
|
Re: Page Goes On an On Forever, using CSS
For this, you would need to use JavaScript... Check below:
javascript:
|
|
|||
|
Re: Page Goes On an On Forever, using CSS
Marc, you should note that your code is invalid. All you're doing is hiding the error from the validator. This is the rationale behind your method:
To demonstrate this, simply validate the generated source code (you can get the generated source using Firefox WebDev). The validator will throw the same error. This is a good idea for any site that uses javascript: test sample pages for validation of the generated source code. Last edited by MikeHopley; Nov 10th, 2007 at 10:56. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Green bar of colour at bottom of page gets bigger the more page is extended | pixelgirl | Web Page Design | 1 | Apr 1st, 2008 01:27 |
| internal navigation, Linking from one page to a specific div in another page. | Oak | Web Page Design | 5 | Feb 8th, 2008 22:54 |
| Linking an outside page back to previous framed page | MJustison | Starting Out | 1 | Oct 18th, 2007 17:49 |
| forever struggeling | Gabriele | Introduce Yourself | 4 | Jul 2nd, 2007 05:04 |
| A gap appears beween the Page Title and the Body Content of the page. | sovereign6 | Web Page Design | 6 | Dec 18th, 2006 19:14 |