Putting game code in div |
Putting game code in div |
Dec 23 2006, 12:24 AM
Post
#1
|
|
|
<3 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 455 Joined: Jul 2006 Member No: 445,104 |
How do I put a game code in div such as this one ?
QUOTE <br /><div><embed src="http://www.myspace-games.com/games/urinalgame.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="300"></embed></div><a href="http://www.myspace-games.com" title="Free Games for your MySpace profile." target="_blank"><b>Get your own Free MySpace Games</b></a></div><br /><br />
|
|
|
|
![]() |
Dec 23 2006, 04:23 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
We use different browsers. I'm assuming you use internet explorer? I don't . I use safari.
This works in FF so it should work in IE too. CODE <style type="text/css"> table table,table table table table,table table{background-color:transparent;width:;border:0px;} div,table,tr,td,th{background-color:transparent;text-align:left;border:0px;} a.navbar,font,.whitetext12,.btext,.orangetext15,.redbtext,.redtext,.blacktext12, lightbluetext8,strong,.nametext,div b font font, div font font u,table table table table, table.contacttable{display:none;} div table form tr td,td.text table,a.text, table div font a,table div div,{visibility:hidden;di-splay:none} td.text table table {display:inline; visibility:visible;} .comments{visibility:visible;width:500px; height: 400px;position:absolute;top:120px;left:0px; border:black 1px solid;z-index:2px} </style> <style type="text/css"> {sets the default style for the body, table data, list data, divisions and text areas} { body, well you know what that is} { div, p, and xmp are classes} { table, tr, td, and th are table properties} body,div,p,xmp,table,tr,td,th{ background-color:9B7E92; scrollbar-arrow-color:9B7E92; scrollbar-track-color:9B7E92; scrollbar-shadow-color:9B7E92; scrollbar-face-color:815A74; scrollbar-highlight-color:9B7E92; scrollbar-darkshadow-color:9B7E92; scrollbar-3dlight-color:9B7E92; font-family:georgia; font-size:8pt; color:64334D; border:none;} input, select, textarea, .textfield, .button { font-family:georgia; font-size:8pt; color:FFFFFF; border: 1px dashed 64334D; background-color:transparent; text-align:center;} { TEXT DEFAULTS } {class for the basic font for the page} .text { font-family:georgia; font-size:8pt; line-height:10pt; color:64334D;text-align:justify;} b,i,strong,em,u,s { font-family:georgia; font-size:8pt;color:7F5973;font-weight:none;cursor:none;} {style for the number of friends you have.} .redbtext{font-family:georgia; font-size:8pt; line-height:10pt; color:64334D;border:0px solid 7F5973; } {repeat of the style for how many comments you have} .redbtext{font-family:georgia; font-size:8pt; line-height:10pt; color:64334D; border:0px solid 7F5973;} {"Blurbs", "About Me", "Who I’d like to Meet", "Friend Space", and "Friend’s Comments" style} .orangetext15{font-family:georgia; text-transform:uppercase; font-size:11px; color:FFFF00; font-weight:none;background:000000; border:0px solid FFFFFF;text-decoration:underline;} {"General", "Music", "Movies", "Television", "Books", "Heros", "Status", "Here for", "Hometown", "Body Type", "Ethnicity", "Religion", "Sign", "Smoke/Drink", "Children", "Education", "Occupation", and "Income" title style} .lightbluetext8{font-family:geogria; text-transform:uppercase; font-size:11px; color:FFFF00; font-weight:none;background:000000;border:0px solid FFFFFF;text-align:right;} {"In your extended network" style} .blacktext12{font-family:georgia; font-size:16px; color:FFFF00; font-weight:none;text-decoration: underline; text-transform:uppercase;} {"Contacting", "Interests", "Details", and "Schools" title styling} .whitetext12{font-family:georgia; font-size:16px; color:64334D; font-weight:none;text-decoration: underline; border:0px solid 64334D; text-transform:uppercase;} {Stylizing of your name above your picture; appears you can’t change the color of your name from here. Suggestions?} .nametext{font-family:georgia; font-size:16px; color: 64334D; font-weight:none;text-decoration:underline;border:none;text-transform:uppercase;} {This is how all anchor points will be displayed; anchor points appear before all links.} a, a:link,a:active,a:visited{font-family:georgia; font-size:8pt; line-height:10pt; color:7F5973;text-decoration:none} a:hover{border-bottom:1px dashed 64334D; font-family:tahoma; font-size:8pt; line-height:10pt; color:7F5973;} {not used on profile} a.readmail,a.readmail:link,a.readmail:active,a.readmail:visited{font-family:tahoma; font-size:8pt; line-height:10pt; text-decoration:none;color: 64334D;} a.readmail:hover{font-family:georgia; font-size:8pt; line-height:10pt; color:FFFF00;border-bottom:1px dashed 7F5973; } { "View all friends" and "invite more" link style} a.redlink,a.redlink:link,a.redlink:active,a.redlink:visited{font-family:georgia; font-size:8pt;font-weight:none;color:363532;text-decoration:none} a.redlink:hover{font-family:tahoma; font-size:8pt; line-height:10pt; color:363532;border-bottom:1px dashed 363532;} {2 links in very top on the left, and the 13 links above your picture with make the navigation bar} a.navbar,a.navbar:link,a.navbar:active,a.navbar:visited{font-family:363532; font-size:8pt;color:363532;text-decoration:none} a.navbar:hover{font-family:tahoma; font-size:8pt; line-height:10pt; color:7F5973; border-bottom:1px dashed 64334D;} { TEXT FORMATTING DEFAULT FONT, SIZE 8, BLACK } { btext used for "latest blog entry" and "USERNAME has * friends"} .btext, .itext{font-family:tahoma; font-size:8pt; line-height:10pt; color:64334D;border:0px solid 64334D;} { DEFAULT FONT, SIZE 8, COLORS } {unused on profile} .bwtext, .rtext, .rbtext, .subhead{font-family:tahoma; color: 64334D;font-size:8pt;font-weight:none;} { DEFAULT FONT, SIZE 8 } {unused on profile} .stext, .sbtext, .swtext{font-family:tahoma; color: 64334D;font-size:8pt;} { DEFAULT FONT, SIZE 11 } {unused on profile} .head11, .text11{font-family:tahoma; color:64334D;font-size:8pt;} { TABLE COLORS } {apparently unused?} table.grey, tr.grey, td.grey{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 64334D;} table.white, tr.white, td.white{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 7F5973;} table.accent_light, tr.accent_light, td.accent_light{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 7F5973;} table.accent_dark, tr.accent_dark, td.accent_dark{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 363532;} table.action, tr.action, td.action{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 363532; } table.blue_light, tr.blue_light, td.blue_light{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 64334D;} table.blue_dark, tr.blue_dark, td.blue_dark{font-family:tahoma; font-size:8pt;background:transparent;border:0px solid 7F5973;} {"Help" and "Signout" in very top in right corner} a.man,a:link,a:active,a:visited{font-family:tahoma; font-size:8pt;color: 7F5973; text-decoration:none;} a:hover{font-family:tahoma; font-size:8pt;color:64334D; text-decoration:none;border-bottom:1px dashed 363532;} td.text td.text table table table, td.text td.text table br, td.text td.text table .orangetext15, td.text td.text .redlink, td.text td.text span.btext {display:none;} td.text td.text table {background-color:transparent;} td.text td.text table td, td.text td.text table {height:0;padding:0;border:0;} td.text td.text table table td {padding:3;} td.text td.text table table br {display:inline;} td.text td.text table td {font-size:0pt;} td.text td.text {height:0;} td.text td.text table b, td.text td.text table table td {font-size:8pt;} </style> <div class="game" style="position: absolute; left:150px; top:300px; width:100px; height:120px;"> <embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myspace-games.com/games/urinalgame.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="300"></embed></div><a href="http://www.myspace-games.com" title="Free Games for your MySpace profile." target="_blank"><b>Get your own Free MySpace Games</b></a></div> I'd like to meet: CODE <div class="comments"><table><tr><td><table><tr><td> Just position your comments and the player. |
|
|
|
madgamer Putting game code in div Dec 23 2006, 12:24 AM
miiichellley http://www.createblog.com/scripts/download.php?id=... Dec 23 2006, 12:47 AM
madgamer I tried, doesnt work. The game doesnt show up . Dec 23 2006, 12:58 AM
toyo loco Use a regular div code except take out anything in... Dec 23 2006, 03:59 AM
madgamer I checked the code theres no embed I know for sure... Dec 23 2006, 12:25 PM
toyo loco Post your codes. Dec 23 2006, 01:07 PM
madgamer Heres the code in my aboutme section
QUOTE<sty... Dec 23 2006, 02:44 PM
toyo loco When I put it in a div it works just fine. You ju... Dec 23 2006, 02:56 PM
WHIMSICAL 0NE From the bottom of the code, find the stuff in red... Dec 23 2006, 02:57 PM
madgamer Even if I remove it it doesnt show up and my myspa... Dec 23 2006, 03:37 PM
toyo loco Post your entire code then. Because doing exactly ... Dec 23 2006, 04:07 PM
madgamer I just clicked on your myspace it doesnt show up.
... Dec 23 2006, 04:12 PM
madgamer Woot the second game code worked. THANKS A LOT TOY... Dec 23 2006, 07:18 PM
toyo loco For the game div? Add overflow: auto; . Example:
Q... Dec 23 2006, 07:25 PM
madgamer Scrollbar doesnt show up :S
This is the code I ha... Dec 23 2006, 07:42 PM
toyo loco The code should be
CODE<div class="game... Dec 23 2006, 07:45 PM
madgamer Doesnt work:(. It just make blank spaces. Like the... Dec 23 2006, 07:50 PM
toyo loco Eh.. You might not be able to then. Overflow auto ... Dec 23 2006, 08:08 PM
madgamer Ok thanks a lot for all your help. Dec 23 2006, 08:11 PM![]() ![]() |