Click to See Complete Forum and Search --> : centering a graphic within a frame


jimxyz
04-30-2003, 05:45 PM
several tags have been suggested to me by others on how to center a graphic within a frame...none of them worked.

Does anyone out there know if it is possible to center a graphic in a frame?

Thanks

Jona
04-30-2003, 05:46 PM
I'm unsure of what you mean. <div align="center"><img src="yourimage.gif"></div>

jimxyz
04-30-2003, 05:52 PM
I guess this is more of a question for the HTML section but here it is:

<FRAME SRC="graphic.gif" scrolling="NO" align=absmiddle>

I've tried "align=", "CENTER/"

Thanks

Jona
04-30-2003, 05:55 PM
OK, you need to make sure that it's how you want it to be in your frameset. Like, make sure that it has 50,50 cols, rows, etc. Or something...

jimxyz
04-30-2003, 06:08 PM
I only gave you the graphic line, here is the whole thing:

<FRAMESET ROWS="150,*" BORDER=0 FRAMESPACING=0 frameborder="NO">
<FRAME SRC="graphic.gif" scrolling="NO" align=absmiddle>
<FRAME SRC="/webnative/listdir?-t" NAME="body" marginwidth="0">
</FRAMESET>

thanks again

Jona
04-30-2003, 06:18 PM
Since you're obviously using server-side for this, why not make a single page that dynamically changes the image shown thereof rather? That way you can align it, or edit it, on a page in any way you'd like, and still get the same effect.

jimxyz
05-01-2003, 04:26 PM
That worked.
Thanks!

Jona
05-01-2003, 04:39 PM
Sure thing. ;)