CSS Help
- Started
- Last post
- 6 Responses
- ********
Inherited a project to help a friend finish up. Added this A-Z index feature on the page link below, but for some reason (probably from the 12+ hour day today) I cannot pick up why there's all the extra margin/padding above the outlined box when you switch past the first tab.
Any help would be appreciated:
http://anonym.to/?http://whitesp…
Thanks!
- ********0
Bleh, forgot to add that the RESET drop-down is pushed down the page a bit past the content and I can't figure that one out either. I hate working on other people's stuff. Especially when it's this hacked up.
- Centigrade0
first error is not css. you have an extra paragraph on that page...
div id="box_container">
<div id="box1" class="box" style="display: none;">
Below is a list of resources and hotlines offered nationwide. You can also search for a location alphabetically using A through Z index above.
<p></p>
<table width="600" cellspacing="0" cellpadding="10" border="0" align="center">
</div>
<p></p> «THIS IS YOUR ENEMY
<div id="box2" class="box" style="display: block;">
- Centigrade0
actually scrap that! Sorry.
- Sep0
The space above the box is from paragraphs that are added...
p {padding-bottom: 10px; line-height: 18px;}
Look in your page, not css to delete these added paragraphs.
- Centigrade0
yeah theres a div not getting closed correctly or something causing the p from the previous div to appear. It's late, brain not working fully!
- Centigrade0
Get firebug for firefox.... it's all there, plain as day.