PDA

View Full Version : Smugmug Style Issue


PB Media
Nov-03-2007, 12:38 PM
In internet explorer, when using the smugmug style, my wrapper div is wider than 900px (what it should be). In firefox, the smugmug style is way on the left of my wrapper. Could I use relative positioning or padding to just move that style to the right a bit?

Andy
Nov-03-2007, 12:39 PM
Are those flames for SmugMug or IE?

PB Media
Nov-03-2007, 12:50 PM
Are those flames for SmugMug or IE?
IE haha

Mike Lane
Nov-03-2007, 01:42 PM
The problem is that IE resizes container widths to fit content wheras no other browser does this. The SmugMug style itself is 960px wide (and will continue to be so unless you undertake a great deal of css finessing and futzing. You set your wrapper to 900px wide so in IE your wrapper gets embiggened to 960px plus any padding you've got and in firefox and others you see the smugmug sitting right on the left edge and overflowing the right side (it does though you may not be able to see it).

The fix? Adjust your wrapper width for the smugmug (and critique if you use it) sizes to be 960 px plus the sum of the right and left padding if any. Unfortunately, you'll have to adjust the width of all your other elements too since I see you hard coded the 900px in most of them. Oh and you'll need a new header graphic.

You could also force the smugmug small style but that may not be the solution you want.

Hope that helps.