/    Sign up×
Community /Pin to ProfileBookmark

Can’t get rid of excess container space

Please view my page. I cannot seem to get rid of the excess white above and below my rotating photo. I’ve worked with my styles page until I’ve gone mad.

Feel free to critique my page/css if you’d like. The menu isn’t connected with my other content yet, so the links are dead. Thanks.

-Scott P.

[url]www.kentucky-weightlifting.com[/url]

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@spowell_40authorMar 10.2004 — I also just noticed that the top border is gone in IE, which is what most of my visitors use. I was using Firefox. Still, I would like to get rid of the borders across all browsers.
Copy linkTweet thisAlerts:
@spowell_40authorMar 10.2004 — Jeeze. I also just noticed that my menu doesn't display the drop downs in IE. I guess I've got a lot more work to do. ?
Copy linkTweet thisAlerts:
@ray326Mar 10.2004 — Why is the header image in a <dl>?
Copy linkTweet thisAlerts:
@SamMar 10.2004 — first off, you've got 37 validation errors

second, the thing causing the spacing is the unclosed dt in your random image javascript (though you shouldn't be using a definition for an image container in the first place, switch that to div and make sure you close it)
Copy linkTweet thisAlerts:
@spowell_40authorMar 10.2004 — Wow, that was it. I can't believe I missed that. Now there's just a small white spacing under the photo. Now if I can just solve the menu issue. Thanks.
Copy linkTweet thisAlerts:
@spowell_40authorMar 10.2004 — Before I am seen as a complete idiot, let me first say that the last 21 validation errors were with regards to geocities adsquare banners, and not my page. (Though the fact I'm still using geocities probably qualifies me as an idiot in itself) After correcting 6, I now have 10, which are kind of puzzling me.

As far as getting rid of the additional space around my image, you guys were both right. I had to remove the DL and DT commands.

Hopefully I can develop the site more substantively over the next week or two so that everyone will be better able to critique it.

Thanks.
Copy linkTweet thisAlerts:
@SamMar 10.2004 — things I see wrong with your source code:

Line 11: HTML 4.01 doesn't require a /> @ the end of elements with no closing tag

Line 12: this may be geocities, but there is an empty script tag in your head

Line 20: instead of Language="Javascript" use type="text/javascript"

Lines 22-25: add alt tags to these images

Line 40: do ending div tag (id=content)

Line 90: container's div needs to be closed before the body tag

Logically, you're nav should come before your page content for screenreader's sake.

make all these changes and see how many errors it gets you down to
×

Success!

Help @spowell_40 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...