Domanda

Quando accendo javascript fuori, i div che contengono il mio testo appare esattamente dove voglio che siano. Quando accendo javascript e appare sIFR, il testo sIFR in quei div appare sulla 40px a destra di dove voglio che sia. Non posso usare il CSS sIFR-config per forzare il div torna sIFR a destra posso ritagliare nel testo sIFR all'interno del div, ma non riesco a spostarlo di nuovo a sinistra dove dovrebbe essere. Qualsiasi aiuto sarebbe molto apprezzato!

http://ianmartinphotography.com/test-site/testimonials/sample.html

È stato utile?

Soluzione

Ah! I had "text-indent" in my regular text's CSS. sIFR interpreted this as indent everything--hence the shift. I deleted "text-indent" and am good again--I still do have it in my sIFR congfig CSS to indent the first line in the paragraph and it's fine there. (So, to indent in the non-sIFR text, I used

 tags which sIFR ignores.)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top