Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Line Up an "object" Under an Image?

Status
Not open for further replies.

xyzuser

Technical User
Aug 13, 2008
96
US
I am trying to line up a mini flashplayer, that I downloaded from a website, under a centered image in some cases, and in other cases to the immediate left or immediate right of an image. This mini flashplayer uses "objects", and I plugged in my local pc (for testing) information.

I realize this is a basic question that everyone knows how to position an "object" to line up with an image, but I am not experienced at this and would appreciate any assistance.

I use this CSS for the center aligned images:

Code:
.IND3 {
PADDING-RIGHT: 95px; PADDING-LEFT: 55px; FONT-SIZE: 12pt; PADDING-BOTTOM: 0px; 
MARGIN: 0in 0% 0pt 25%; PADDING-TOP: 0px; 
}


But using this CSS on the object (putting a span with a class=IND3) to line up the object with it has no affect.

Here is the code for the mini flash player that I am trying to align with the image:

Code:
<object type="application/x-shockwave-flash"
data="button/musicplayer.swf?&song_url=Music/Anthem.mp3&amp;buttons=,images/playbutton.jpg,images/stopbutton.jpg,&amp;" width="15" height="23">
<param name="movie" 
value="button/musicplayer.swf?&song_url=Music/Anthem.mp3&amp;buttons=,images/playbutton.jpg,images/stopbutton.jpg,&amp;" />
<img src="noflash.gif" 
width="15" height="23" alt="" />
</object>

I also need to position the flash player, in other cases, to the left or right of an image. But if that is not possible but the centering is possible, I'll change the other images to be centeerd as well.

I realize this is basic html coding but I just don't know how to do this.

Thank you

[A pc novice - the "IT Management" after my userid is there by mistake but there isn't any way to change it]
 
I can't help noticing that you have been asking questions at this basic help-desk level for around 9 months now. As an IT professional you should probably be looking for some proper training on this stuff. At least start with a couple of tutorials on the real basics. Try these to get started:

When you are up to speed with those, try:

If you get stuck on specifics after that, please come back and ask.

If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top