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.

Html code in normal posts

3 posters

Go down

Solved Html code in normal posts

Post by IdaTR 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:
Html code in normal posts Udklip10
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: Html code in normal posts

Post by runawayhorses 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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Html code in normal posts

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

Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Html code in normal posts

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

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

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

http://www.vielamort.net

Back to top Go down

Solved Re: Html code in normal posts

Post by Sanket 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>
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Html code in normal posts

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

It works (:! thx!
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: Html code in normal posts

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

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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