ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:01 PM |
Ok now that I figured out all the rectangle stuff, I want to add text on top of it. But When I just simply add some body text above or below the rectangle code, it goes above the rectangle if the code is above, and below if it is below.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:13 PM |
Anybody?
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 02:31 PM |
| Just add the text above then? Or did I misunderstood. Maybe show the code. I could help. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:34 PM |
Roblox doesn't let you add html tags.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 02:40 PM |
| < img > -- add the html tags like that. then roblox will let you show it. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:41 PM |
< center >< div style="background:#7401DF; width: 85%; height:7px;">< /center > < center >< div style="background:#FFFFFF; width: 85%; height:700px;" >< /center > < center >< div style="background:#000000; width: 85%; height:70px;" >< /center >
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 02:45 PM |
| Ahah. You did not close the 'div' tags there mate. :P |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:47 PM |
It still shows my rectangles though :) But now that I did close them how would I add text inside of them?
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
| |
|
|
| 11 Nov 2011 02:50 PM |
< center >< div style="background:#7401DF; width: 85%; height:7px;">THISISTEXT< /div >< /center > < center >< div style="background:#FFFFFF; width: 85%; height:700px;" >THISISTEXT< /div >< /center > < center >< div style="background:#000000; width: 85%; height:70px;" >THISISTEXT< /div >< /center > |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 02:53 PM |
So I tried this: < center >< div style="background:#7401DF; width: 85%; height:7px;" >Hello< /div >< /center > That adds text, but how would I make it so the boxes are still in the center, but the text is on the left like normal?
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 03:01 PM |
< center > < div style="background:#7401DF; width:85%; height:7px; text-align:left;" > Hello < /div > < /center >
Like that. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:03 PM |
That didn't change anything.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 03:06 PM |
< center> < div style="background:#7401DF; width:85%; height:20px; text-align:left;"> Hello < /div> < /center>
That should do it. :p |
|
|
| Report Abuse |
|
|
Zikefire
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 328 |
|
|
| 11 Nov 2011 03:08 PM |
| Try using CSS to do absolute positioning. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:08 PM |
All you changed was the height?
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
|
| 11 Nov 2011 03:09 PM |
| Aye. The box was too small for the text to fit in. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:09 PM |
OH WAIT! I just realized I put the text-align:left; in the box without the text. Lawl epic fail.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:10 PM |
And ya, I meant to put the text in the 700px one. But how do I add spaces? Like maybe a tab?
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
| |
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:14 PM |
No that's for returning. But I found it out it's &-nbsp; without the -.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|
eW0
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 22 |
|
| |
|
|
| 11 Nov 2011 03:32 PM |
< div style="background:#7401DF; width:85%; height:20px; text-align:left; margin:auto;"> Hello < /div>
Don't use the < center> tag. It's been deprecated.
"I WILL GIVE YOU BACON." - Deadmau5 ~Scarfacial |
|
|
| Report Abuse |
|
|
Zikefire
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 328 |
|
|
| 11 Nov 2011 03:38 PM |
| Dude, learn CSS and use absolute positioning. With absolute positioning you can excactly place any html tag on the webpage. You can put multiple paragraghs and boxes over each other and it wont care. |
|
|
| Report Abuse |
|
|
ShoeBox4
|
  |
| Joined: 06 Apr 2011 |
| Total Posts: 890 |
|
|
| 11 Nov 2011 03:40 PM |
Zike I'll do that after I learn HTML.
---- ლ(ಠ益ಠლ) You mad bro? ---- |
|
|
| Report Abuse |
|
|