Page not centered with IE Page not centered with IE
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Page not centered with IE

Started by karice, November 12, 2008, 05:37:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

karice

Hello everybody,

I am using the Chaoctisoul theme and I have a trouble with it under IE. The page is not centered !
With Firefox or other everything is fine !

I tried to modify the style.css file

#page {
padding: 0;
width: 860px;
margin-top: 25px;
margin-right: auto;
margin-bottom: 25px;
margin-left: auto;


But if I modify margin-left: auto the page is not centered for the other browser and it depends of the screen resolution  :(

Could you help me please ?

Thank you in advance.

Fabrice.

www.fhoto.123.fr

Gizmo

It looks centered to me on FF & Safari on Mac and IE 7.x on XP. What browser versions and resolutions are you having issues with?
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

François Keller

for me withe on windows Vista  with IE7 it's not centered. Maybe a problem with the  banner
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

karice

Quote from: Gizmo on November 12, 2008, 11:48:37 PM
It looks centered to me on FF & Safari on Mac and IE 7.x on XP. What browser versions and resolutions are you having issues with?

You are right on FF + Vista it is ok, but on IE 7 + Vista, it is not centered !

Fabrice.

Joachim Müller

Maybe an issue with IE's quirks mode? There is a line of whitespace in the output, before the doctype declaration that doesn't exist in template.html. Actually, it's just a line break, but you should try to determine where it comes from.
Another possible culprit that should be easily fixable is the line<html dir="{LANG_DIR}"> in template.html that actually should read<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">

I can't test more, as I don't have IE available here.

karice

I discovered that it works on IE 6 on XP !

Fabrice.

Gizmo

I don't have Vista (and never will) but it seems maybe this is also causing some of the problem. Can you check the CPG demo site for this theme and see if it displays correctly for you in Vista and IE7? Thanks.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

François Keller

i've checked this before aswering to karice and yes on the demo site and on my local test bed this theme run without problems.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

karice

Quote from: Gizmo on November 13, 2008, 12:18:26 PM
I don't have Vista (and never will) but it seems maybe this is also causing some of the problem. Can you check the CPG demo site for this theme and see if it displays correctly for you in Vista and IE7? Thanks.

Vista + IE7 + Chaoticsoul Demo = OK !!!
Vista + IE7 + My Chaoticsoul = NOK
XP + IE7 + My Chaoticsoul = NOK

My problem is maybe due to a modification I have done, but I do not know what kind of modification I did  :-\

Fabrice.

Gizmo

Since I'm not running Vista there is little I can do but try these ideas:

1. If you edited the style.css file, upload a clean unedited version and see if the issue is with your changes.
2. Zip up your theme and add it to your next post.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

karice

Quote from: Gizmo on November 13, 2008, 09:09:23 PM
Since I'm not running Vista there is little I can do but try these ideas:

2. Zip up your theme and add it to your next post.

please, find the zip file attached.

thank you.

karice

Quote from: Gizmo on November 13, 2008, 09:09:23 PM
Since I'm not running Vista there is little I can do but try these ideas:

1. If you edited the style.css file, upload a clean unedited version and see if the issue is with your changes.

it does not work  :-\

Fabrice.