You are here: Re: PULL QUOTE problem « HTML « IT news, forums, messages
Re: PULL QUOTE problem

Posted by Jonathan N. Little on 11/26/69 11:53

Dario wrote:
> Thanks for yours tips. I must use em I know, but no yet to "translate"
> it ;) I'll made it...
>
> Here you'll be find the html page's code
> http://www.photo-reporter.it/Indesign/pagina2b.html
>


Ahh! Because your snippet is *not* the same as your page!

Your snippet has the part beginning with "Nullam mattis..." withing the
P started with "<p class="articolo">Lorem ipsum..."

as such:

<p class="articolo">
Lorem ipsum [...]

<div class="virgolette2">I formati di [...]</div>
Nullam mattis [...]
</p>

But what you have on your page is:

<p class="articolo">
Lorem ipsum [...]
</p> <=[You are closing articolo paragraph before virgolette2]
<div class="virgolette2">I formati di [...]</div>

Nullam mattis [...] <=[And this is now an anonymous block withing
DIV editoriale hence it 'loses' articolo's CSS rules.


Lessons:
1) Post a URL, pasting code you may make errors on miss the real error
in your code

2) DOM inspector in Gecko browsers (Firefox, Mozilla, SeaMonkey)
invaluable at finding such problems...



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация