The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Post Top Margin

4 posters

Go down

Solved Post Top Margin

Post by CatherinaAndrea October 24th 2011, 5:48 pm

Post Top Margin PostQuestion

How do i make the post start a bit lower so its not crossing over the top header.

I thought it would be this bit of code, but i don't know what to add to it.

Code:
.post{
        border : 1px solid #000000;
   background-color: #0f1216;
   margin: 8px;
background-image: url('http://i40.servimg.com/u/f40/14/90/77/10/module14.jpg');
margin-left: 8px;
margin-bottom: 10px;
}


Last edited by CatherinaAndrea on October 24th 2011, 8:16 pm; edited 1 time in total
CatherinaAndrea
CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by LGforum October 24th 2011, 6:08 pm

.postbody {
margin-top: 30px;
}
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Post Top Margin

Post by Dappy October 24th 2011, 7:19 pm

Add to your class: margin-top: 20px; or top: 20px;
Dappy
Dappy
Forumember

Male Posts : 25
Reputation : 1
Location : Every one !

https://help.forumotion.com

Back to top Go down

Solved Re: Post Top Margin

Post by CatherinaAndrea October 24th 2011, 7:45 pm

The .postbody{ worked wonderfully, thank you Wink

How about the avatar tho, is there a way to make it go down a little bit inside the .postprofile { ??

See screenshot for what i mean:
Post Top Margin AvatarQuestion
CatherinaAndrea
CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by LGforum October 24th 2011, 8:12 pm

Could try one of these:

.postprofile {
padding-top: 30px;
}

or
.postprofile dt {
margin-top: 30px;
}
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Post Top Margin

Post by CatherinaAndrea October 24th 2011, 8:15 pm

.postprofile {
padding-top: 30px;
}

That one did the trick, thank you so much.

Topic can now be closed.
CatherinaAndrea
CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by Sanket October 24th 2011, 8:33 pm

Since this thread is marked solved, I will lock this thread.
Post Top Margin 2j4t5a8

Sanket Smile

Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum