Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

evoluzione

macrumors 68020
Original poster
as some of you know, i'm trying to redesign and build a new site for lfcny.org - i'm learning everything about web design etc as i go...

i'm doing ok, and have learnt a fair bit about GoLive (I'm using v6.0) but I'm having a lot of trouble trying to position a floating box. i want the site to be centered on the page whatever size the browser window is. I can achieve this with a regular image, but not with a floating box, it always appears offset, way too far over to the left. I've searched Adobe.com and found one "fix" but that didn't work.

any ideas guys?

thank ya very much
 
If you put a layout grid in the middle and attach the floating box to that - does it work?

This might just be a cluge.....

D
 
i opened up a new page, dragged a layout grid to the page, centered it, then dragged a floating box on to that - worked fine...

D
 
Mr. Anderson said:
i opened up a new page, dragged a layout grid to the page, centered it, then dragged a floating box on to that - worked fine...

D



hmmm...very strange, seems like a bug to me. thanks for trying that though. i just cannot figure out why this isn't centering :(

oh, your gone3d.com is looking slick :) (may as well post that here rather than loading up another page/thread....)
 
evoluzione said:
hmmm...very strange, seems like a bug to me. thanks for trying that though. i just cannot figure out why this isn't centering :(

oh, your gone3d.com is looking slick :) (may as well post that here rather than loading up another page/thread....)

weird - don't know why that would happen...

oh well, maybe someone else has a solution.

glad you like the site - it will be updated a little tomorrow :D

the big stuff later this week

D
 
You're making this much too complex...

There is no reason to use a floating box for what you're doing. To have the image always centered on the page, create a one cell table with width and height 100%, then vertically and horizontally center your image in this table.

If you need me to explain this in more detail, I will be happy to.

Good luck. ;)
 
alexf said:
There is no reason to use a floating box for what you're doing. To have the image always centered on the page, create a one cell table with width and height 100%, then vertically and horizontally center your image in this table.

If you need me to explain this in more detail, I will be happy to.

Good luck. ;)


alexf ... thanks for that, but i'm using a floating box as i have images that overlap, and they will become a rollover drop down menu, can i still do that with the one cell table???

i just realised there was an update to v6.0.1 but that didn't fix it :(
 
ok, so i guess i can't do it the way i want....

i just found this here:

Tip: “Centering” a Floating Box

Being able to put an object anywhere on the page by using a floating box is an
impressive advantage—but also a serious liability if you’re trying to dynamically center
the object on a page that’s designed to accommodate varying browser window widths. In
many cases, you can’t center the object on the page, because the floating box is
positioned at specific pixel coordinates. However, it is possible, depending on your design.


Create the floating box and set the Left value to 0 in the Floating Box Inspector. Then,
set the Width value to 100 Percent, which pushes the right edge of the box against the
far side of the window. Add an object to the box, making sure that the objects inside are
centered within using the Align Center button in the Toolbar. When you preview the page
in a Web browser, the object remains centered even if you change the size of the window
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.