how do i make everybodys writing center! (instead of left)?
3 posters
Page 1 of 1
how do i make everybodys writing center! (instead of left)?
it makes it look untide when the writing is to the left.
so how do i make everybodys deafult text be centered?
thanks
so how do i make everybodys deafult text be centered?
thanks
iwanabetobin- Forumember
- Posts : 41
Reputation : 0
Language : english
Re: how do i make everybodys writing center! (instead of left)?
you want to make all posts centered? hm.. i guess you can do that with a CSS code (put the code in "styles / colors / css stylesheet" - in the text area and click submit).
.postbody {text-align: center}
.postbody {text-align: center}
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: how do i make everybodys writing center! (instead of left)?
when i do that, i get an error
iwanabetobin- Forumember
- Posts : 41
Reputation : 0
Language : english
Re: how do i make everybodys writing center! (instead of left)?
but that code works for sure - its even independant from the phpBB version. So... are you sure you copied the entire code? (beginning with "." and ending with "}"?
or you probably have other code in your CSS already that is corrupted?
or you probably have other code in your CSS already that is corrupted?
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: how do i make everybodys writing center! (instead of left)?
when i click CTRL and F
i find the code already in there,
and when i click "submit" i get thsi error
i find the code already in there,
and when i click "submit" i get thsi error
iwanabetobin- Forumember
- Posts : 41
Reputation : 0
Language : english
Re: how do i make everybodys writing center! (instead of left)?
i cant see the writing in the css
Guest- Guest
Re: how do i make everybodys writing center! (instead of left)?
yes, its way too small to detect any error...
however, do you actually need all the other code? is it used or did you just copy the forums basic css in there? (what you would not need to at all)
anyway, the error message means that you are missing a { or a } somewhere.
however, do you actually need all the other code? is it used or did you just copy the forums basic css in there? (what you would not need to at all)
anyway, the error message means that you are missing a { or a } somewhere.
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: how do i make everybodys writing center! (instead of left)?
sorry!
theres a huge problem with my internet company at the minute
and websites arnt working. thats why i didnt use imageshak to upload th picture.
this is the code that i have on my stylesheet...
body {
background-color: #000;
background-image: url("https://2img.net/i/empty.gif");
background-attachment: scroll;
scrollbar-face-color: #909090;
scrollbar-highlight-color: #000;
scrollbar-shadow-color: #000;
scrollbar-3dlight-color: #909090;
scrollbar-arrow-color: #000;
scrollbar-track-color: #000;
scrollbar-darkshadow-color: #909090;
}
th,td,p {
font-family: Verdana,Arial,Helvetica,sans-serif }
a img {
border: none;
}
a:link,a:active,a:visited {
color : #d0d0d0;
}
a:hover{
text-decoration: underline;
color : #ff0000;
}
hr{
height: 0px;
border: solid #232323 0px;
border-top-width: 1px;
}
.bodyline{
background-color: #2d2d2d;
border: 1px #000 solid;
}
.bodylinewidth {
width:80%}
.forumline{
background-color: #0d0d0d;
border: 2px # solid;
}
td.row1{
background-color: #232323;
}
td.row2{
background-color: #202020;
}
td.row3{
background-color: #232323;
}
td.rowpic {
background-color: #ffffff;
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6298210.gif");
}
th {
color: #6a533b;
font-size: 11px;
font-weight : bold;
background-color: #0d0d0d;
height: 25px;
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6710110.gif");
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6298210.gif");
background-color:#dee3e7;
border: #0d0d0d;
border-style: solid;
height: 28px;
}
td.cat,td.catHead,td.catBottom {
height: 29px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold;
border: #0d0d0d;
border-style: solid;
height: 28px;
}
td.row3Right,td.spaceRow {
background-color: #232323;
border: #0d0d0d;
border-style: solid;
}
td.pourcentback {
background-color : #000;
}
th.thHead,td.catHead {
font-size: 12px;
border-width: 1px 1px 0px 1px;
}
th.thSides,td.catSides,td.spaceRow {
border-width: 0px 1px 0px 1px;
}
th.thRight,td.catRight,td.row3Right {
border-width: 0px 1px 0px 0px;
}
th.thLeft,td.catLeft {
border-width: 0px 0px 0px 1px;
}
th.thBottom,td.catBottom {
border-width: 0px 1px 1px 1px;
}
th.thTop {
border-width: 1px 0px 0px 0px;
}
th.thCornerL {
border-width: 1px 0px 0px 1px;
}
th.thCornerR {
border-width: 1px 1px 0px 0px;
}
.maintitle{
font-weight: bold;
font-size: 22px;
font-family: TrebuchetMS,Verdana,Arial,Helvetica,sans-serif;
text-decoration: none;
line-height : 120%;
color : #ffffff;
}
.gen {
font-size : 12px;
}
.genmed {
font-size : 11px;
}
.gensmall {
font-size : 10px;
}
.gen,.genmed,.gensmall {
color : #ffffff;
}
a.gen,a.genmed,a.gensmall {
color: #cc0000;
text-decoration: none;
}
a.gen:hover,a.genmed:hover,a.gensmall:hover{
color: #ff0000;
text-decoration: underline;
}
.mainmenu{
font-size : 11px;
color : #ffffff }
a.mainmenu{
text-decoration: none;
color : #cc0000;
}
a.mainmenu:hover{
text-decoration: underline;
color : #ff0000;
}
.cattitle{
font-weight: bold;
font-size: 12px ;
letter-spacing: 1px;
color : #cc0000}
a.cattitle{
text-decoration: none;
color : #cc0000;
}
a.cattitle:hover{
text-decoration: underline;
}
.forumlink{
font-weight: bold;
font-size: 12px;
color : #cc0000;
}
a.forumlink {
text-decoration: none;
color : #cc0000;
}
a.forumlink:hover{
text-decoration: underline;
color : #ff0000;
}
.nav{
font-weight: bold;
font-size: 11px;
color : #ffffff;
}
a.nav{
text-decoration: none;
color : #cc0000;
}
a.nav:hover{
text-decoration: underline;
}
.topictitle,h1,h2{
font-weight: bold;
font-size: 11px;
color : #ffffff;
}
a.topictitle:link{
text-decoration: none;
color : #cc0000;
}
a.topictitle:visited{
text-decoration: none;
color : #cc0000;
}
a.topictitle:hover{
text-decoration: underline;
color : #ff0000;
}
.name{
font-size : 11px;
color : #ffffff;
}
.postdetails{
font-size : 10px;
color : #ffffff;
}
.postbody{
font-size : 12px;
line-height: 18px}
a.postlink:link{
text-decoration: none;
color : #cc0000 }
a.postlink:visited{
text-decoration: none;
color : #cc0000;
}
a.postlink:hover{
text-decoration: underline;
color : #ff0000}
.code{
font-family: Courier,CourierNew,sans-serif;
font-size: 11px;
color: #ffa34f;
background-color: #0d0d0d;
border: #232323;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px}
.quote{
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
color: #444444;
line-height: 125%;
background-color: #0d0d0d;
border: #232323;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px}
.copyright{
font-size: 10px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #444444;
letter-spacing: -1px;
}
a.copyright{
color: #444444;
text-decoration: none;
}
a.copyright:hover {
color: #ffffff;
text-decoration: underline;
}
.coloradmin {
color: #018167}
.colormod {
color: #ffa34f}
img{
border:0}
input,textarea, select {
color : #ffffff;
font: normal 11px Verdana,Arial,Helvetica,sans-serif;
border-color : #ffffff;
}
input.post, textarea.post, select {
background-color : #0d0d0d;
}
input {
text-indent : 2px;
}
input.button {
background-color : #232323;
color : #ffffff;
font-size: 11px;
font-family: Verdana,Arial,Helvetica,sans-serif;
}
input.mainoption {
background-color : #0d0d0d;
font-weight : bold;
}
input.liteoption {
background-color : #0d0d0d;
font-weight : normal;
}
.helpline {
background-color: #202020;
border-style: none;
}
input {
background-color: #202020;
}
button.button2, input.button2 {
font-size: 0.7em;
border: 1px solid #BCBCBC;
width: auto !important;
padding: 1px 0px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
background-repeat: repeat-x;
background-color: #FAFAFA;
background-image: url('https://2img.net/i/fa/prosilver/bg_button.gif');
background-position: top;
overflow: visible;
vertical-align:middle;
}
button.button2:hover, input.button2:hover {
border: 1px solid #ff0000;
color: #ff0000;
background-position: 0 100%;
}
* html button.button2, * html input.button2 {
padding-bottom: 0;
margin-bottom: 1px;
height: 24px;
padding-right: 3px;
padding-left: 3px;
}
*+html button.button2, *+html input.button2 {
height: 24px;
padding-right: 3px;
padding-left: 3px;
}
*+html button.button2 img {
vertical-align: middle;
}
* html button.button2 img {
vertical-align: middle;
}
button.bbcode {
border: 1px solid #e3adad;
background-image: url("https://2img.net/i/fa/wysiwyg/bg_button.png");
}
.select {
background-color: #FFFFFF;
border: 1px solid #BCBCBC;
position: absolute;
z-index:100;
top: 0;
left: 0;
overflow: hidden;
width: 0px;
}
.selectHover {
cursor: pointer;
background-color: #EEEEEE;
}
.select p {
padding: 4px 6px;
font-size: 0.7em;
margin: 0px;
white-space: nowrap;
text-align: left;
}
.select button {
padding: 4px;
font-size: 0.9em;
margin: 0px;
background-color: #FFF;
border: none;
text-align:left;
}
.select button.button2 {
border:1px solid #BCBCBC;
padding: 0px;
}
* html .select button.button2 {
padding-right: 3px;
padding-left: 3px;
}
.select button.button2:hover {
border: 1px solid #ff0000;
color: #ff0000;
background-position: 0 100%;
}
textarea#text_editor_textarea {
width: 100% !important;
}
iframe#text_editor_iframe {
width: 100%;
height: 200px;
}
.postbody {text-align: center}
}
form#quick_reply textarea#text_editor_textarea {
width: 100% !important;
height: 100%;
}
form#quick_reply iframe#text_editor_iframe {
width: 100%;
}
* html form#quick_reply iframe#text_editor_iframe {
width: 600px;
}
*+html form#quick_reply iframe#text_editor_iframe {
width: 600px;
}
@import url("form_ie.css");
theres a huge problem with my internet company at the minute
and websites arnt working. thats why i didnt use imageshak to upload th picture.
this is the code that i have on my stylesheet...
body {
background-color: #000;
background-image: url("https://2img.net/i/empty.gif");
background-attachment: scroll;
scrollbar-face-color: #909090;
scrollbar-highlight-color: #000;
scrollbar-shadow-color: #000;
scrollbar-3dlight-color: #909090;
scrollbar-arrow-color: #000;
scrollbar-track-color: #000;
scrollbar-darkshadow-color: #909090;
}
th,td,p {
font-family: Verdana,Arial,Helvetica,sans-serif }
a img {
border: none;
}
a:link,a:active,a:visited {
color : #d0d0d0;
}
a:hover{
text-decoration: underline;
color : #ff0000;
}
hr{
height: 0px;
border: solid #232323 0px;
border-top-width: 1px;
}
.bodyline{
background-color: #2d2d2d;
border: 1px #000 solid;
}
.bodylinewidth {
width:80%}
.forumline{
background-color: #0d0d0d;
border: 2px # solid;
}
td.row1{
background-color: #232323;
}
td.row2{
background-color: #202020;
}
td.row3{
background-color: #232323;
}
td.rowpic {
background-color: #ffffff;
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6298210.gif");
}
th {
color: #6a533b;
font-size: 11px;
font-weight : bold;
background-color: #0d0d0d;
height: 25px;
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6710110.gif");
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url("https://i.servimg.com/u/f28/11/95/88/90/p6298210.gif");
background-color:#dee3e7;
border: #0d0d0d;
border-style: solid;
height: 28px;
}
td.cat,td.catHead,td.catBottom {
height: 29px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold;
border: #0d0d0d;
border-style: solid;
height: 28px;
}
td.row3Right,td.spaceRow {
background-color: #232323;
border: #0d0d0d;
border-style: solid;
}
td.pourcentback {
background-color : #000;
}
th.thHead,td.catHead {
font-size: 12px;
border-width: 1px 1px 0px 1px;
}
th.thSides,td.catSides,td.spaceRow {
border-width: 0px 1px 0px 1px;
}
th.thRight,td.catRight,td.row3Right {
border-width: 0px 1px 0px 0px;
}
th.thLeft,td.catLeft {
border-width: 0px 0px 0px 1px;
}
th.thBottom,td.catBottom {
border-width: 0px 1px 1px 1px;
}
th.thTop {
border-width: 1px 0px 0px 0px;
}
th.thCornerL {
border-width: 1px 0px 0px 1px;
}
th.thCornerR {
border-width: 1px 1px 0px 0px;
}
.maintitle{
font-weight: bold;
font-size: 22px;
font-family: TrebuchetMS,Verdana,Arial,Helvetica,sans-serif;
text-decoration: none;
line-height : 120%;
color : #ffffff;
}
.gen {
font-size : 12px;
}
.genmed {
font-size : 11px;
}
.gensmall {
font-size : 10px;
}
.gen,.genmed,.gensmall {
color : #ffffff;
}
a.gen,a.genmed,a.gensmall {
color: #cc0000;
text-decoration: none;
}
a.gen:hover,a.genmed:hover,a.gensmall:hover{
color: #ff0000;
text-decoration: underline;
}
.mainmenu{
font-size : 11px;
color : #ffffff }
a.mainmenu{
text-decoration: none;
color : #cc0000;
}
a.mainmenu:hover{
text-decoration: underline;
color : #ff0000;
}
.cattitle{
font-weight: bold;
font-size: 12px ;
letter-spacing: 1px;
color : #cc0000}
a.cattitle{
text-decoration: none;
color : #cc0000;
}
a.cattitle:hover{
text-decoration: underline;
}
.forumlink{
font-weight: bold;
font-size: 12px;
color : #cc0000;
}
a.forumlink {
text-decoration: none;
color : #cc0000;
}
a.forumlink:hover{
text-decoration: underline;
color : #ff0000;
}
.nav{
font-weight: bold;
font-size: 11px;
color : #ffffff;
}
a.nav{
text-decoration: none;
color : #cc0000;
}
a.nav:hover{
text-decoration: underline;
}
.topictitle,h1,h2{
font-weight: bold;
font-size: 11px;
color : #ffffff;
}
a.topictitle:link{
text-decoration: none;
color : #cc0000;
}
a.topictitle:visited{
text-decoration: none;
color : #cc0000;
}
a.topictitle:hover{
text-decoration: underline;
color : #ff0000;
}
.name{
font-size : 11px;
color : #ffffff;
}
.postdetails{
font-size : 10px;
color : #ffffff;
}
.postbody{
font-size : 12px;
line-height: 18px}
a.postlink:link{
text-decoration: none;
color : #cc0000 }
a.postlink:visited{
text-decoration: none;
color : #cc0000;
}
a.postlink:hover{
text-decoration: underline;
color : #ff0000}
.code{
font-family: Courier,CourierNew,sans-serif;
font-size: 11px;
color: #ffa34f;
background-color: #0d0d0d;
border: #232323;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px}
.quote{
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
color: #444444;
line-height: 125%;
background-color: #0d0d0d;
border: #232323;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px}
.copyright{
font-size: 10px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #444444;
letter-spacing: -1px;
}
a.copyright{
color: #444444;
text-decoration: none;
}
a.copyright:hover {
color: #ffffff;
text-decoration: underline;
}
.coloradmin {
color: #018167}
.colormod {
color: #ffa34f}
img{
border:0}
input,textarea, select {
color : #ffffff;
font: normal 11px Verdana,Arial,Helvetica,sans-serif;
border-color : #ffffff;
}
input.post, textarea.post, select {
background-color : #0d0d0d;
}
input {
text-indent : 2px;
}
input.button {
background-color : #232323;
color : #ffffff;
font-size: 11px;
font-family: Verdana,Arial,Helvetica,sans-serif;
}
input.mainoption {
background-color : #0d0d0d;
font-weight : bold;
}
input.liteoption {
background-color : #0d0d0d;
font-weight : normal;
}
.helpline {
background-color: #202020;
border-style: none;
}
input {
background-color: #202020;
}
button.button2, input.button2 {
font-size: 0.7em;
border: 1px solid #BCBCBC;
width: auto !important;
padding: 1px 0px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
background-repeat: repeat-x;
background-color: #FAFAFA;
background-image: url('https://2img.net/i/fa/prosilver/bg_button.gif');
background-position: top;
overflow: visible;
vertical-align:middle;
}
button.button2:hover, input.button2:hover {
border: 1px solid #ff0000;
color: #ff0000;
background-position: 0 100%;
}
* html button.button2, * html input.button2 {
padding-bottom: 0;
margin-bottom: 1px;
height: 24px;
padding-right: 3px;
padding-left: 3px;
}
*+html button.button2, *+html input.button2 {
height: 24px;
padding-right: 3px;
padding-left: 3px;
}
*+html button.button2 img {
vertical-align: middle;
}
* html button.button2 img {
vertical-align: middle;
}
button.bbcode {
border: 1px solid #e3adad;
background-image: url("https://2img.net/i/fa/wysiwyg/bg_button.png");
}
.select {
background-color: #FFFFFF;
border: 1px solid #BCBCBC;
position: absolute;
z-index:100;
top: 0;
left: 0;
overflow: hidden;
width: 0px;
}
.selectHover {
cursor: pointer;
background-color: #EEEEEE;
}
.select p {
padding: 4px 6px;
font-size: 0.7em;
margin: 0px;
white-space: nowrap;
text-align: left;
}
.select button {
padding: 4px;
font-size: 0.9em;
margin: 0px;
background-color: #FFF;
border: none;
text-align:left;
}
.select button.button2 {
border:1px solid #BCBCBC;
padding: 0px;
}
* html .select button.button2 {
padding-right: 3px;
padding-left: 3px;
}
.select button.button2:hover {
border: 1px solid #ff0000;
color: #ff0000;
background-position: 0 100%;
}
textarea#text_editor_textarea {
width: 100% !important;
}
iframe#text_editor_iframe {
width: 100%;
height: 200px;
}
.postbody {text-align: center}
}
form#quick_reply textarea#text_editor_textarea {
width: 100% !important;
height: 100%;
}
form#quick_reply iframe#text_editor_iframe {
width: 100%;
}
* html form#quick_reply iframe#text_editor_iframe {
width: 600px;
}
*+html form#quick_reply iframe#text_editor_iframe {
width: 600px;
}
@import url("form_ie.css");
iwanabetobin- Forumember
- Posts : 41
Reputation : 0
Language : english
Re: how do i make everybodys writing center! (instead of left)?
there you go, you have one } too much at the place of the code that i gave you:
.postbody {text-align: center}
}
.postbody {text-align: center}
}
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: how do i make everybodys writing center! (instead of left)?
ive done that. but it still doesnt center my text.
iwanabetobin- Forumember
- Posts : 41
Reputation : 0
Language : english
Re: how do i make everybodys writing center! (instead of left)?
iwanabetobin wrote:ive done that. but it still doesnt center my text.
Are you using phpbb2 or phpbb3? I am not completely sure, but I don't think that code will work for phpbb2. I've tried the code on both kinds of forums, and it only appears to work on phpbb3.
Correct me if I am wrong please.
Correct me if I am wrong please.
Similar topics
» Menu words some left and some right , no all right or all center or all left ...
» Lines (Left,right,center)
» icon bottons are center and not on the left
» My Forum Need to be on center but hes on left side plz help me
» Make post box on the left?
» Lines (Left,right,center)
» icon bottons are center and not on the left
» My Forum Need to be on center but hes on left side plz help me
» Make post box on the left?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum