You are here: Re: php template and broken links « All PHP « IT news, forums, messages
Re: php template and broken links

Posted by Beauregard T. Shagnasty on 09/28/64 11:16

Ralph Zajac wrote:
> Hi
>
>>I know you said "without playing with a lot of css", but css is the way to
>>go and there's not a lot to it.
>>
>> <p style="margin-left: 2em;">
>>
>>or even better:
>> <p class="indent">
>>
>>then in your css file:
>> p.indent {
>> margin-left: 2em;
>> }
>
> Yes but I would have to add class="indent" to every paragraph. Using
> blockquote I can do:

No ya wouldn't.

> <!-- <blockquote> -->
<div class="indent">
> <p>sdfsfsdf</p>
> <p>sdfsfsdf</p>
> <p>sdfsfsdf</p>
> <p>sdfsfsdf</p>
> <p>sdfsfsdf</p>
</div>
> <!-- </blockquote> -->

Blockquote is semantically incorrect for "indenting" - it's for quoting.

--
-bts
-This space intentionally left blank.

 

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

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