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.

Html code in normal posts

View previous topic View next topic Go down

Solved Html code in normal posts

Post by IdaTR on January 27th 2013, 5:21 pm

Hey! How do I get this html code, to work in normal posts?

Code:
<div style="background-image:url(http://images7.alphacoders.com/348/348881.jpg);padding:5px;width:100%;height:500px;border:1px solid black;background-repeat:no-repeat;">
<style type="text/css">
div.background
  {
  width:100%;
  height:100%;
  background:url(klematis.jpg) repeat;
  }
div.transbox
  {
  width:88,5%;
  height:100%;
  margin:50px 35px 50px;
  background-color:#000000;
  border:1px solid black;
  /* for IE */
  filter:alpha(opacity=60);
  /* CSS3 standard */
  opacity:0.6;
  }
div.transbox p
  {
  margin:30px 40px;
  font-weight:bold;
  color:#FFFFFFF;
  }
</style><div class="background"><div class="transbox">
<p>
TEXT TEXT TEXT TEXT</p>
</div>
</div>
<br>
<br></div>

It works perfectly fine in the portal, where it should look like this:
avatar
IdaTR
Forumember

Female Posts : 425
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Solved Re: Html code in normal posts

Post by runawayhorses on January 27th 2013, 6:24 pm

It does work in a normal post I just tried it on my forum. You have to enable html on your forum for it to work.

runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Html code in normal posts

Post by Sanket on January 27th 2013, 6:27 pm

avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Html code in normal posts

Post by IdaTR on January 27th 2013, 6:58 pm

Yup but its not like its showing the text. Its going to look like this:
Where there aren't any kind of transparent box to write in, in the middle of the post.
avatar
IdaTR
Forumember

Female Posts : 425
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Solved Re: Html code in normal posts

Post by Sanket on January 27th 2013, 7:06 pm

Is this okay?
http://testing.4rumer.com/t4p7-okkkkkkkkkkkkkkkkkkk#96

This should go into the css.
Code:
div.background
  {
  width:100%;
  height:100%;
  background:url(klematis.jpg) repeat;
  }
div.transbox
  {
  width:88,5%;
  height:100%;
  margin:50px 35px 50px;
  background-color:#000000;
  border:1px solid black;
  /* for IE */
  filter:alpha(opacity=60);
  /* CSS3 standard */
  opacity:0.6;
  }
div.transbox p
  {
  margin:30px 40px;
  font-weight:bold;
  color:#FFFFFFF;
  }

This code can go into the post.
Code:
    <div style="background-image:url(http://images7.alphacoders.com/348/348881.jpg);padding:5px;width:100%;height:500px;border:1px solid black;background-repeat:no-repeat;">
 <div class="background"><div class="transbox">
    <p>
    TEXT TEXT TEXT TEXT</p>
    </div>
    </div>
    <br>
    <br></div>
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Html code in normal posts

Post by IdaTR on January 27th 2013, 7:12 pm

It works (:! thx!
avatar
IdaTR
Forumember

Female Posts : 425
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Solved Re: Html code in normal posts

Post by Sanket on January 27th 2013, 7:15 pm

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2827
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