-
1. Re: A few problems creating a website
Nancy OShea Jun 22, 2012 4:20 PM (in response to zeron82411)#1 Remove height values from divisions. Page height is determined by content, not explicit values.
#main {
height: 700px;
width: 910px;
background-repeat: no-repeat;
font-family: Verdana, Geneva, sans-serif;
background-color: #999;
}
#2 Same as #1 above. Height is limiting how much content will fit inside your #main div.
Nancy O.
-
2. Re: A few problems creating a website
zeron82411 Jun 22, 2012 7:13 PM (in response to Nancy OShea)Thanks! It fixed the problem for #2 but not for #1 unfortunately.
-
3. Re: A few problems creating a website
Ben M Jun 23, 2012 6:31 AM (in response to zeron82411)1 person found this helpfulThe colors are pretty dark. Where are you seeing this gap?
As far as other code errors go:
- Line 42 - Change style="font-size:14px":"color:#FFF" to style="font-size:14px;color:#FFFFFF;"
- Line 54, 56, 91, 92 - the blockquote. Do you understand what a blockquote is? If so, you do you realize you have 2 nested blockquotes surrounding your entire body? Why do you need them? I recommend deletion
-
-
5. Re: A few problems creating a website
MurraySummers Jun 24, 2012 5:58 AM (in response to zeron82411)1 person found this helpfulThe <blockquote> tag is intended to delimit a bit of quoted text on your page. It happens to also indent the text, and as a result is commonly used erroneously as a general indentation tool. That's an improper use. While it won't cause your page to fail validation, it will confuse any semantic evaluation of the 'meaning' of the code.
-
6. Re: A few problems creating a website
Ben M Jun 24, 2012 6:49 AM (in response to zeron82411)1 person found this helpfulOk, I see it is now that the blockquote is gone. That's because the floated element is taken out of the flow of the document and is longer than the container that it's in. So the background is not streteching. You can add some more content or just add padding to the bottom of your main container to try and add more background there. Not ideal, but that's the simplest way I see to fix the issue.
-
7. Re: A few problems creating a website
zeron82411 Jun 24, 2012 8:15 PM (in response to Ben M)Okay! I will just add some more stuff to it. Thanks to all of you! You guys are awesome. Helping me out on my website. Thank you!