[PGTheme] - Standalone perfect, embedded not centered in Firefox

inthedistance

Joined: 2006-03-24
Posts: 41
Posted: Mon, 2006-05-01 19:41

Hi all,

I have a problem with the display of the PG Theme/PGSnow in Joomla!. G2 as standalone displays the theme perfectly. But when G2 is embedded in Joomla!, the center justification is lost. Photos and the outer tables are no longer centered. I didn't realize until recently that this only happens in FireFox -- the display in IE is correct.

I've attached an example of screen grabs. The top portion is the embedded version, with the boxes and image pushed left (but not the icons, for whatever reason). The standalone version is perfectly justified. Additionally, if you look at the attachment, the outermost container talbe loses its slight grey shading when embedded -- less of an issue itself, but demonstrates that something isn't surviving the CSS hurdles.

Anybody have suggestions how to fix this? I've tried putting selected '!important' tags into the THEME.CSS but I'm off target, as nothing has changed (caches cleared).

This is the last issue before I take my site live, so fixing it is really important. Any help is greatly appreciated. Thanks very much!


Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.1 cgi
Webserver = Apache/1.3.34 (Unix) Resin/2.1.13 Sun-ONE-ASP/4.0.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a
Database = mysql 4.0.25-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Thumbnail, ImageMagick
Acceleration = none, none
Operating system = Linux galatea.lunarpages.com 2.4.21-27.0.4.ELsmp #1 SMP Sat Apr 16 18:43:06 EDT 2005 i686
Default theme = PGtheme
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2

AttachmentSize
example1.jpg26.57 KB
 
spankee

Joined: 2004-06-12
Posts: 51
Posted: Sat, 2006-05-06 03:12

Try adding this to the theme.css in your pgtheme folder.

Quote:
#photo table {
width: auto;
margin: auto;
}

You may not need the "width: auto;" in there for joomla.