The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Large space between post profile and post

View previous topic View next topic Go down

Solved Large space between post profile and post

Post by LostLegend on November 12th 2011, 2:24 pm

http://websiteshowcase.forumotion.co.uk/t24-website-showcase

As you can see, there is a large space between where my post profile is shown, and the post itself.

Here is my CSS:

Code:

body {
    background:#E9E9E9;
    color: #5D5D5D;
    font-family: tahoma,arial,verdana,sans-serif;
    font-size: 13px;
    font-weight: normal;
    margin-top: -1px;
    padding-bottom: 10px;
}

.pun {
    width: 1000px;
    background: #fff;
    border: 1px solid #878787;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    box-shadow:0px 0px 8px #707070;
    line-height: 1.6em;
    padding: 12px;
}

.pun a:link {
    color: #4E6A97;
    text-decoration: none;
}

.pun a:visited {
    color: #4E6A97;
    text-decoration: none;
}

.pun a:hover, a:active {
    color: #2F4C89;
    text-decoration: underline;
}

#pun-intro {
    background:#183B5B url(http://i41.servimg.com/u/f41/14/81/40/78/bg-hea10.jpg) repeat top center;
    border-bottom-color: #1B3759;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    min-height: 64px;
    margin-left: -12px;
    width: 998px;
    margin-top: -12px;
}

.topictitle {
    font-family: tahoma,arial,verdana,sans-serif;
    font-size: 13px;
}

.entry-content {
    font-family: Verdana,Helvetica,Arial,sans-serif;
    font-size: 13px;
}

.quick_login {
    background: #efefef;
    color: #336699;
    font-size: 11px;
    border: 1px solid #CDDCED;
    padding: 4px;
}

#pun-legend {
    padding-bottom: 4px;
    padding-top: 10px;
}

#pun-title {
    display: none;
}

.post_field {
    background:#fff none  ;
    color:#4d5153;
    border:1px solid #bcb6ad;
    padding:3px 3px 3px 10px;
    margin-top: 2px;
    text-align:left;
}

#pun-head #pun-navlinks {
    background-color: #fff;
    background-image: url("http://i53.tinypic.com/344tyir.png");
    background-repeat: repeat-x;
    color: #fff;
    font-size: 13px;
    height: 37px;
    margin-bottom: 10px;
    margin-left: -12px;
    width: 996px;
}

#pun-navlinks ul {
    list-style: none;
    text-align: center;
}

#pun-navlinks li {
    display: inline;
    font-size: 1.15em;
}

#pun-navlinks li a {
    margin: 0 0.1em 0 0;
}

#pun-navlinks a, #pun-navlinks a:visited {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.6);
    padding-left: 10px;
    line-height: 26px;
}

#pun-navlinks a:hover, #pun-navlinks a:active, #pun-navlinks a:focus {
    text-decoration: none;
    color: #fff;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.6);
}

#pun-about {
    background-color: #F3F3F3;
    border: 1px solid #4E6A97;
    border-bottom-color: #4E6A97;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    text-align: right;
    line-height: 150%;
    padding: 0.6em 1em;
}
#pun-about ul li a {
    font-weight: normal;
}
#pun-about #qjump {
    display: none;
}

.pun .paged-head, .pun .paged-foot {
    border: 0px solid #dddddd;
    background-color: #fff;
    padding: 0.6em 1.3em 0.3em 1.3em;
}

#pun-visit, .main-box {
    background-color: #F3F3F3;
    border: 1px solid #4E6A97;
    border-bottom-color: #4E6A97;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.user-info span {
    color: #000000;
    font-size: 11px;
}
.pun .user .user-info {
    color: #666666;
    font-size: 11px;
    line-height: 1.5;
}

.postmain blockquote {
    padding: 0.5em 1em;
    background-color: #EFEFEF;
    border: 1px solid #81A2C4;
}

.postmain cite {
    display: block;
    margin: 0 0 1em 0;
    font-weight: bold;
    font-style: normal;
}

.codebox {
    margin: 1em;
    background-color: #F5F5F5;
    border: 1px solid #0F5C8E;
}

.codebox dt {
    padding: 0.25em;
    border-bottom: 1px dashed #81A2C4;
}

.codebox dd {
    margin: 0.5em;
    padding: 0.5em;
    background-color: #F5F5F5;
}

.main .main-head {
    background-color: #4E6A97;
    background-image: url("http://i41.servimg.com/u/f41/14/81/40/78/gradie10.png");
    background-position: left 50%;
    background-repeat: repeat-x;
    border: 1px solid #46618D;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-top: 15px;
    padding-left: 8px;
}

.page-title h2, .page-title span {
    font-weight: bold !important;
}

.main .main-head .page-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold !important;
    font-family: tahoma,arial,verdana,sans-serif;
    text-shadow: 0 -1px 0 #334562;
}
.pun .main-content {
    border: 1px solid #4E6A97;
    background-color: #fbfbfb;
}

.pun .post {
    background-color: #FAFBFC;
    border-bottom-color: #4E6A97;
    border-bottom-style: solid;
    border-bottom-width: 6px;
}

.main .main-foot {
    padding: 0.7em 1.3em;
    font-weight: normal;
    color: #666;
    background-color: transparent;
}

.pun .postmain {
    background-color: #fbfbfb;
    border-left: 1px solid #DADADA;
    margin-left: 17em;
}

.pun .posthead {
    padding: 0.5em 1.3em 0.5em 1em;
    background-color: #D9D9D9;
    background-image: url("http://i43.servimg.com/u/f43/14/73/12/96/gradie10.png");
    background-position: 0 50%;
    background-repeat: repeat-x;
    border-bottom-color: #D0D0D0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin-top: -2px;
}

.postfoot {
    border-top-color: #DADADA;
    border-top-style: solid;
    border-top-width: 1px;
    clear: both;
    margin-left: 0em;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
    text-align: right;
}

.frm-buttons {
    border-top-color: #DDDDDD;
    border-top-style: double;
    border-top-width: 0px;
    margin-bottom: 0;
    margin-top: 0.5em;
    padding-bottom: 0;
    padding-left: 17.5em;
    padding-right: 0;
    padding-top: 0.7em;
}

#stats {
    padding: 0.6em 1em;
    line-height: 150%;
    background-color: #F3F3F3;
    border-bottom-color: #4E6A97;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

#tabs ul {
    list-style-position: outside;
    list-style-type: none;
    padding: 0px;
    white-space: nowrap;
}

#tabs ul li {
    float: left;
    margin: 0;
    padding: 0 4px 0 0;
    padding-bottom: 3px;
}

#tabs ul li.activetab a {
    background-color: #fff;
    border: #0F5C8E;
    border-style: double;
    border-width: 3px;
    color: #666666;
  text-decoration:none;
}

#tabs ul li.activetab a:hover {
    background-color: #F5F5F5;
}

#tabs ul li a {
    float: left;
    padding: 0 1em;
    background-color: #fff;
    border: #0F5C8E;
    border-style: double;
    border-width: 3px;
    font-size:1.1em;
    font-weight:normal;
    line-height: 2em;
    text-decoration:none;
}

#tabs ul li a:hover {
    background-color: #F5F5F5;
}

.pun .frm .frm-form table {
    border: 1px solid #81A2C4;
    padding-left: 4px;
}

.pun table.table th {
    padding: 0.4em 0;
    border-style: none;
    border-color: #f4f4f4;
    background-color: #f4f4f4;
    color: #333333;
}

.pun table.table td {
    padding: 0.6em 0 0.7em;
    line-height: 130%;
    background-color: #FFFFFF;
    border-color: #B9C4CD;
    border-width: 1px;
    border-style: dashed none none none;
}
.pun .main table td.tc2, .pun .main table td.tc3 {
    background-color: #FFFFFF;
}

.pun .posthead h2 strong {
    display: block;
    float: right;
    font-size: 11px;
    font-weight: normal;
    margin-right: -6px;
    margin-top: -1px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
}
.pun .posthead h2 strong {
    background-color: #6F8F52;
    color: #FFFFFF;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.user-contact a {
    background-color: #4E6A97;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #FFFFFF;
    display: inline-block;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
}

.trow_sep {
    color: #FFFFFF;
    font-family: tahoma,arial,verdana,sans-serif;
    font-size: 14px;
    font-weight: bold !important;
    text-shadow: 0 -1px 0 #334562;
}

.pun .main-head a.exthelp, .pun .main-head a.exthelp:link, .pun .main-head a.exthelp:visited {
    background-image: url("http://i43.servimg.com/u/f43/14/73/12/96/help10.png");
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
}

#forum_statistics {
    background-color: #F3F3F3;
    border-bottom-color: #4E6A97;
    border-bottom-style: solid;
    border-bottom-width: 4px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

#board-stats span {
    background-color: #E2E2E2;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #4A4A4A;
    font-weight: bold;
    padding-bottom: 2px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 2px;
}

#board-stats {
    border-left-color: #DEDEDE;
    border-left-style: solid;
    border-left-width: 0px;
    float: right;
    padding-left: 20px;
    width: 38%;
}
#board-stats dl {
    margin-top: 10px;
}
#board-stats dt, #board-stats dd {
    border-top-color: #DEDEDE;
    border-top-style: solid;
    border-top-width: 1px;
    float: left;
    font-size: 0.85em;
    padding-bottom: 6px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 6px;
    width: 45%;
}
#board-stats dt {
    clear: both;
    font-weight: bold;
}

#board-stats h2 {
    clear: both;
    font-weight: bold;
}

#chatbox_header.main-head {
    background-color: #4E6A97;
    background-image: url("http://i41.servimg.com/u/f41/14/81/40/78/gradie10.png");
    background-position: left 50%;
    background-repeat: repeat-x;
    color: #DEDFDF;
    padding-bottom: 0;
    padding-left: 1.3em;
    padding-right: 1.3em;
    padding-top: 0;
}

#onlinechat {
    border-top: 0px dashed #ccc;
    padding: 0.6em 1em;
    background-color: #f4f4f4;
}

#chatbox_members {
    position: absolute;
    top: 30px;
    bottom: 30px;
    width: 180px;
    overflow: auto;
    border-right: 1px dashed #B9C4CD;
}

#chatbox_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px dashed #B9C4CD;
}

#onlinelist {
    border-top: 0px dashed #ccc;
    padding: 0.6em 1em;
    background-color: #f4f4f4;
}

Many thanks if you can solve this!

LostLegend
Forumember

Posts : 922
Reputation : 22
Language : English

http://naruto-role-play-rpg.forumotion.com/

Back to top Go down

Solved Re: Large space between post profile and post

Post by Nera. on November 12th 2011, 10:04 pm

Hi,

Try adding this to the top of your CSS. If it doesn't fit, change the numbers there until it does.

Code:
.pun .postmain {
    margin-left: 11em ! important;
}
.pun .post .user {
    margin-left: -10em ! important;
    width: 11em !important;
}

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Large space between post profile and post

Post by LostLegend on November 13th 2011, 12:41 am

That's better, thanks!

LostLegend
Forumember

Posts : 922
Reputation : 22
Language : English

http://naruto-role-play-rpg.forumotion.com/

Back to top Go down

Solved Re: Large space between post profile and post

Post by Sanket on November 13th 2011, 6:50 am

Since this thread appears to be solved, I will archive this thread.


Sanket Smile


Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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