go41

Re: center align problem :: Reply by geekprison

von Joern am 23. Jul. 2011 | Keine Kommentare

hello, thanks for your generous reply,
i tried adding both the codes one at a time
.aligncenter {

display: block;

margin-left: auto;

margin-right: auto;

}
.excerpt .entry p img.aligncenter {

display: block;

margin: 0 auto;

}
but there was no effect on image, they continue to be left align,so i removed the code
what i was thinking can i modify the

.excerpt .entry p img {

border: 0 none;

margin: 0 1em 1em 0 !important;

}

.excerpt .entry img {

max-height: 175px;

max-width: 175px;

}

into

.excerpt .entry p img {

border: 0 none;

margin: 0 auto;

}

.excerpt .entry img {

max-height: 640px;

max-width: 640px;

}

because i tried these in localhost and my images were appearing fine,i just want whether it good to do that or it will have any harmfull effects
thanks one again for your generous help

(von: geekprison)

Hier noch 6 weitere Ergebnisse dieses Threads:

center align problem

23. Jul. 2011 (von: geekprison)

Hello,my site is http://geekprison.com/ i am facing problem with images of the post,the post looks greats in the editor as well as in other themes,but it gets messed up when i activate compress thememy images are not center align,can you…

Re: center align problem :: Reply by Joern

23. Jul. 2011 (von: Joern)

the problem with Comppress theme you currently use: In Firefox and IE (not in Chrome) I see the content of your site moved to the right, sidebar disappeared.This happens due to a one pixel error in your div id="topmenu"the content…

Re: center align problem :: Reply by geekprison

23. Jul. 2011 (von: geekprison)

hello, thanks for your generous reply,i tried adding both the codes one at a time.aligncenter {display: block;margin-left: auto;margin-right: auto;}.excerpt .entry p img.aligncenter {display: block;margin: 0 auto;}but there was no effect on image, they... Weiterlesen →

Re: center align problem :: Reply by Joern

23. Jul. 2011 (von: Joern)

it will never be 'harmfull', it might just change the look of the images on frontpage too.I can't test this, you should keep a backup of the old entries and just try..or tryimg.aligncenter {display: block;margin-left: auto;margin-right: auto;}always ch... Weiterlesen →

Re: center align problem :: Reply by geekprison

24. Jul. 2011 (von: geekprison)

hi i even tried that codeimg.aligncenter {display: block;margin-left: auto;margin-right: auto;}but did not work,though if i modify the existing code into.excerpt .entry p img {border: 0 none;margin: 0 auto;}.excerpt .entry img {max-height: 640px;max-wi... Weiterlesen →

Re: center align problem :: Reply by Joern

24. Jul. 2011 (von: Joern)

first time I use my public folder in dropbox,here a firefox 5.0 screen printhttp://dl.dropbox.com/u/33739066/firefox50.jpgno idea why you see it different, my IE 9 shows it like this tooChrome and old FF show all..??____________________you find me on G... Weiterlesen →

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: