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.

How would i embed my forum?

3 posters

Go down

In progress How would i embed my forum?

Post by equi May 23rd 2012, 11:38 pm

Hey, i was wondering if it was possible for me to somehow embed my forum into a page on my website, because i am having so much difficulty getting the forum to match the layout of the website and its driving me so mad.
avatar
equi
Forumember

Posts : 51
Reputation : 1
Language : english

Back to top Go down

In progress Re: How would i embed my forum?

Post by equi May 24th 2012, 12:28 am

I have a website, and i would like to have the forum on one of my websites pages (just so that it looks the same as the rest of the website) i have slight OCD and the difference between the website and forum is really annoying me

http://equinepoint.forumotion.co.uk/

http://www.equinepoint.co.uk/

avatar
equi
Forumember

Posts : 51
Reputation : 1
Language : english

Back to top Go down

In progress Re: How would i embed my forum?

Post by MotorCookie May 27th 2012, 10:31 pm

Code:
<div class="main_column2" style="height:900px;width:920px;float:left;margin-top:20px;">
   FORUM<BR>
   <iframe width="100%" height="100%" src="FORUM URL" frameborder="1">
</div>
MotorCookie
MotorCookie
Forumember

Male Posts : 113
Reputation : 1
Language : English

Back to top Go down

In progress Re: How would i embed my forum?

Post by runawayhorses May 28th 2012, 1:01 pm

That code is missing an important tag that ends the iframe, if it doesn't have this ending tag and you have other things using iframes it could mess your entire page up. I recommend always using ending tags.

To use that code above put this ending tag just before the ending </div> tag.

Code:
</iframe>
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

In progress Re: How would i embed my forum?

Post by MotorCookie May 28th 2012, 8:59 pm

This is what it would look like in action -

http://pixeleater.me/forum.html

I tried to make the width bigger, but it doesn't do anything.
MotorCookie
MotorCookie
Forumember

Male Posts : 113
Reputation : 1
Language : English

Back to top Go down

In progress Re: How would i embed my forum?

Post by runawayhorses May 28th 2012, 9:50 pm

Try it like this:

Code:
<iframe id="myframe" src="URL OF YOUR FORUM GOES HERE" width="100%" height="500" scrolling="auto"></iframe>
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Back to top

- Similar topics

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