Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Page not centered with IE  (Read 7904 times)

0 Members and 1 Guest are viewing this topic.

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Page not centered with IE
« on: November 12, 2008, 05:37:06 pm »

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

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

But if I modify
Code: [Select]
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
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Page not centered with IE
« Reply #1 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?
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Page not centered with IE
« Reply #2 on: November 13, 2008, 07:30:00 am »

for me withe on windows Vista  with IE7 it's not centered. Maybe a problem with the  banner
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: Page not centered with IE
« Reply #3 on: November 13, 2008, 07:55:25 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Page not centered with IE
« Reply #4 on: November 13, 2008, 08:08:32 am »

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
Code: [Select]
<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.
Logged

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: Page not centered with IE
« Reply #5 on: November 13, 2008, 09:04:30 am »

I discovered that it works on IE 6 on XP !

Fabrice.
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Page not centered with IE
« Reply #6 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Page not centered with IE
« Reply #7 on: November 13, 2008, 01:23:26 pm »

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.
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: Page not centered with IE
« Reply #8 on: November 13, 2008, 08:22:09 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.
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Page not centered with IE
« Reply #9 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.
2. Zip up your theme and add it to your next post.
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: Page not centered with IE
« Reply #10 on: November 14, 2008, 12:26:38 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.
Logged

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: Page not centered with IE
« Reply #11 on: November 14, 2008, 06:32:33 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 21 queries.