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.

Tables in post

View previous topic View next topic Go down

Solved Tables in post

Post by sajber on January 13th 2014, 2:05 pm

Hi,

I was having tables for profiles in post, but i did someting in css and i deleted few codes. Now it's not wokring.

It was looked like this:



This is my css:
Code:
poster-profile a img {';
width: 160px;
height: px;
background-position: center center;
background-repeat: no-repeat;
padding: 5px;
.novo {
 background-color: #EDEDED;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }​


As you can see, i deleted some part in the begining of codes.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by Mati on January 13th 2014, 2:19 pm

Your code should look like this.

Code:
.poster-profile a img {
width: 160px;
height: px;
background-position: center center;
background-repeat: no-repeat;
padding: 5px;
}
.novo {
 background-color: #EDEDED;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }​

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 13th 2014, 2:22 pm

Yeah, i also have . in the begining, but didn't copy here.
You just add . and remove '.

Didn't help

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 21st 2014, 3:43 pm

Any help here?

When i remove first part of code, tables works fine, but not avatars....

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by Ikerepc on January 21st 2014, 4:19 pm

Try this...

Code:
.poster-profile a img {
width: 160px;
height: 160px;
background-position: center center;
background-repeat: no-repeat;
padding: 5px;
.novo {
 background-color: #EDEDED;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }​

PS. I suggest you to not use novo for tag because you can have few codes with class novo, I'm have that problem...

Good luck Wink

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 21st 2014, 6:10 pm

It's not working Sad

When i use just

Code:
.novo {
 background-color: #EDEDED;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }​
I have tables, but when i add code for avatars:

Code:
.novo {
 background-color: #EDEDED;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }​

tables not working.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by Ikerepc on January 21st 2014, 6:32 pm

I don't really know why, can you give me code with class, not css, html... And try to use some other class, maybe you have few classes novo (new) so it display wrong, or not display...

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 21st 2014, 6:46 pm

I use "novo" in javascript code:

Code:
$(function(){
$('.novo').next('br').hide();
$('.novo').prev('br').hide();
});

But, i don't think that's the problem.
It was working before, but i deleted some parts here in css, and now does not working.

I was following some tutorial for this, but that page where i get tutorial dosen't exist anymore.


I found someting in wiewtopic_body, but im not sure if that's it.
Code:
 {postrow.displayed.RANK_IMAGE}</div><span class="postdetails poster-profile">{postrow.displayed.POSTER_AVATAR}<br /><br />
            <!-- BEGIN profile_field -->
            <div class="novo">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}</div>{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
I was centering name and ranks here, and i know i was add someting for tables here to, but...

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by Ikerepc on January 21st 2014, 6:55 pm

Can you give me your forum url, and that ins't what I'm searching... That javascript can't help you if it is alone.

EDIT: That html. I will try something when I got home, for about half hour - hour...


Last edited by Zyon on January 21st 2014, 7:00 pm; edited 1 time in total

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 21st 2014, 6:57 pm

Here, my forum:

http://animan.forumcroatian.com/forum

I edited post so check it out.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by Ange Tuteur on January 21st 2014, 7:32 pm

Hello,

Add this to the top of your stylesheet :
Code:
.novo {
color:#333;
background:#EEE;
border:1px solid #888;
margin:2px 0;
padding:3px 3px 3px 10px;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Tables in post

Post by APE on January 21st 2014, 7:56 pm

Can this be done for phpBB3 aswell ?





APE
Manager
Manager

Male Posts : 8319
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Tables in post

Post by sajber on January 22nd 2014, 12:15 pm

Tnx, i solve it.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post

Post by SLGray on January 22nd 2014, 5:48 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.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