Help - Search - Members - Calendar
Full Version: Possible Div Overlay/Embed Workaround?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
aldog
Alright, i'll give you the long and short of it.
I want to be able to make a png image and using a div overlay post it as a comment on someone's myspace.
For example...
They have an image with them looking godlike...
IPB Image


so I take a screenshot, do some drawing, get rid of the background and save my work as a png --->IPB Image
and I post a comment on there myspace resulting in this outcome
IPB Image


Now I know my div overlay code would look something along the lines of
CODE
<div style="width: 452px; height: 113px; position: absolute; top:294px; center:100px" align="center">
<img

src="http://ad6storieshigh.com/myspace/messingwith/crown.png" border="0"></a>
</div>
But the problem is, when you post something like that myspace converts it to
CODE
<div .."width: 452px; height: 113px; position: absolute; top:294px; center:100px" align="center">
..
src="http://ad6storieshigh.com/myspace/messingwith/crown.png" border="0">
</div>

Which is obviously a problem.
So I was thinking how else I could do this.
I noticed that for youtube videos you use an <object...etc...> and then an </embed>
tag

so I was wondering, is there a way to use the object/embed procedure to call to a file on a website that's holding my div overlay code? like if I made an html file that only had the div code in it.
Or something along those lines?
please adn thank you
pandy
Does MySpace really allow HTML and CSS in comments?
aldog
QUOTE(pandy @ Nov 1 2007, 01:50 PM) *

Does MySpace really allow HTML and CSS in comments?
They allow certain things, like the embed object to a certain extent.
pandy
Well, you won't be able to do it with EMBED.
aldog
aww well that's dissapointing, do you have any suggestions of how I might be able to do it?
Darin McGrew
Well, if the MySpace developers have done their jobs properly, you can't do anything like that.
aldog
heh, that's what I half figured, but I had hope. I just wanted to play a prank on my friend.
Like the 21st century version of painting a moustache on someone's picture.
and it was actually gonna be a moustahce too...
*sigh*
maybe I can convince him to just let me put the code in.


oh and thank you guys for your help and replies.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.