HTML/Scripting question
- Started
- Last post
- 4 Responses
- aesthletics
I'm putting my site together and i'm using a code from Dynamic Drive which is a contractible headers script. i was wondering if there is a way to keep the contractible header elements together without such a gap between them. Any help would be appreciated as i am very much a noob when it comes to scripting. You can see the site here:
- PSYKHO0
You need to add a style to your H6.
Add this to your CSS:
h6{
margin:10px 10px 10px 0px; padding:0px;
}Don't why you are using a H6 for this, change it to a H1. I tried it and it works. Let me know if you have problems.
- Change the margin padding's to suite your needs:
margin:10px 10px 10px 0px;PSYKHO
- Change the margin padding's to suite your needs:
- aesthletics0
great, that was exactly what i was looking for, thank you. I just prefer a H6 for what i'm doing, a little more subtle.
- that makes no senseTheBlueOne
- shhh, shhh Blue, your blood pressure. here, matlock is on.7point34
- PSYKHO0
Happy it worked. You can style your H1 to look like your H6, but anyways as long as it works.
- aesthletics0
hey im a noob blue, give me a break, im just learning this.