PDA

View Full Version : Mapguide - Object align="middle"



dlc
2004-09-02, 03:37 PM
Sorry if this is the wrong forum, but I couldn't locate one that is more appropriate. If you know of a better forum for Mapguide, Please let me know...

It's been a while since I've worked with our Mapguide code. Our website now has all the pages centered in the browser window, but I can't figure out how to get the Mapguide Window to be centered. I've tried using the object's 'align' property. It seems to recognize "right" but not "center" or "middle". I'm using version 6.3. I also tried nesting it in a table, but then it doesn't display at all.

mjfarrell
2004-09-02, 04:11 PM
From the sample code shown here:
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2866333&linkID=2733874
For tuning off the border ( I know not the same issue)

<OBJECT ID="map" WIDTH="500" HEIGHT="250" ALIGN="baseline"
CLASSID="CLSID:62789780-B744-11D0-986B-00609731A21D"

It would apear that you would need to change baseline to centered.

Perhaps post your resultant code for what you have that does work
even with the wrong alingment, so that we can poke at it to see if it
will twitch.

Glenn Pope
2004-09-10, 08:53 PM
Moved this thread to the BRAND SPANKING NEW MapGuide forum.

mjfarrell
2004-09-10, 09:10 PM
I'm waiting for the user to post their data.....