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.

What is the class for the table background image?

View previous topic View next topic Go down

What is the class for the table background image?

Post by Alexander Moore on July 29th 2012, 5:48 pm

I need to move the position of the table background image, so the classname would be appreciated.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by ankillien on July 29th 2012, 6:03 pm

Hi,

Background image of which table you want to move?

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 29th 2012, 7:10 pm

Categories.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by ankillien on July 30th 2012, 4:57 am

The class for category tables is .forabg

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 30th 2012, 7:45 am

What code should I use to change it's position. This code does not work by itself :

Code:
.forabg {
position: relative;
left: 20px;
top: 0px;
}

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by ankillien on July 30th 2012, 8:02 am

If you want to change position of the background image, refer to this page: http://www.w3schools.com/cssref/css3_pr_background.asp

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 30th 2012, 9:52 am

It's getting very confusing, actually. It seems to only teach how to fix the image position to an absolute value, or "Top Left, Center, Top Right" etc.

What I want to do it set the image to appear 5 or 10px relative to where it normally appears. That tutorial doesn't seem to mention the relative code. So how can I do this?

Sorry if this is getting a bit irritating.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 30th 2012, 4:16 pm

Actually, I found that what I want to change is actually titled "Table's background image" in the pics management. Sorry.

Anyway, what I'm trying to do is line-up the image behind it with the category bar to make them appear to be one big image. This forum has it itself. Could I have the code it was done with to work from?

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by Sanket on July 30th 2012, 6:05 pm

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 30th 2012, 6:23 pm

Sorry, I figured since I have new info that I should post again. Won't happen again then.

That'll be another thing I'm going to ask later most likely - I'm pretty sure those moderation messages are pre-made and I'd like to know how to add the likes to my own site Razz

But that comes later. Yeah, I'd like to edit the table background image.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by ankillien on July 31st 2012, 4:59 am

You can set relative position of background image using code something like...

Code:
background-position: 2px 5px;

You can see an example here: http://www.w3schools.com/cssref/playit.asp?filename=playcss_background-position&preval=10px%20200px

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: What is the class for the table background image?

Post by Alexander Moore on July 31st 2012, 7:55 am

I need the class name of the table header. Using this code :

Code:
.forabg {
background position: Xpx Ypx;
}

Doesn't have any effect.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: What is the class for the table background image?

Post by ankillien on July 31st 2012, 8:21 am

@Alexander Moore wrote:I need the class name of the table header. Using this code :

Code:
.forabg {
background position: Xpx Ypx;
}

Doesn't have any effect.

You forgot to put the '-'.

Code:
    .forabg {
    background-position: Xpx Ypx;
    }

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

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