Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 5:53 am (All times are UTC )

 




Post new topic Reply to topic  [ 8 posts ] 
Author Message
Posted: Tue Aug 07, 2007 10:49 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 29, 2007 11:26 am
Posts: 46
Location: Warszawa
I have template based on div, validator compliant, but

tags and indent function form editor does not show any effect on article display? That means that all div templates ignore p tags and indent function in article html code (that's what my developer said) or that is the template issue?



Last edited by pajonkhfat on Mon Aug 13, 2007 6:25 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Aug 07, 2007 10:57 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
All div templates do not ignore

tags or html tags.

Are you meaning that when you put in content through the content editor in either the Joomla! admin back end or front end that your tags are being ignored?  Are you entering your content with tags using the html function built into the editor?  If you aren't then the regular editor will strip away any code when you save the item.  You have to use the html edit function to put in html or code in content items. 


_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Tue Aug 07, 2007 11:38 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 29, 2007 11:26 am
Posts: 46
Location: Warszawa
Thanks for quick replay.
No matter matter how I put the tekst, via standard joomla editor or via html HTML source option, it looks still the same.
Example of the article:

Quote:

tekst inside "p" tags, which should generate space before and after this tekst - does not work

tekst without p tags - no space before, after tekst is ok.
Second line to show no space, also without p tags
  1. Numbering on
  2. Numbering on 2
  3. Numbering on 3
  • point 1
  • point 2
  • point 3


looks like this:

same issue with numbering, seems
      tags create no indent in article.

      UPDATE: sorry wrong link.


Last edited by pajonkhfat on Sun Aug 12, 2007 5:53 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Aug 07, 2007 11:45 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
Your code is there in the content.

Code:
<p>tekst inside "p" tags, which should generate space before and after this tekst - does not work </p>
tekst without p tags - no space before, after tekst is ok.<br />
Second line to show no space, also without p tags<br />
<ol>
<li>Numbering on</li>
<li>Numbering on 2</li>
<li>Numbering on 3</li>
</ol>
<ul>
<li>point 1</li>
<li>point 2</li>
<li>point 3</li>
</ul>


Now how have you set the css to display

,

    ,
      , and
    1. elements?

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Tue Aug 07, 2007 11:47 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
Also if you want it to display different in the content than how those elements are styled overall in the site, you have to surround the content in a class so you can style it individually.

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Thu Aug 09, 2007 5:09 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 29, 2007 11:26 am
Posts: 46
Location: Warszawa
The problem is that css margins definition causes wrong

tag display:

* {
margin-top : 0;
margin-right : 0;
margin-bottom : 0;
margin-left : 0;
}

But on the other hand this is the basis for all other content...  ???



Top
  E-mail  
 
Posted: Thu Aug 09, 2007 6:26 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
Instead of using that, you might want to look into Global Whitespace Reset, which sets all margins, and the base for the most common elements.

http://leftjustified.net/journal/2004/1 ... -ws-reset/

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Fri Aug 10, 2007 9:23 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 29, 2007 11:26 am
Posts: 46
Location: Warszawa
MMMedia wrote:
Instead of using that, you might want to look into Global Whitespace Reset, which sets all margins, and the base for the most common elements.

http://leftjustified.net/journal/2004/1 ... -ws-reset/

That's it!. Thank you very much for your help. Seems i should dig into the css after 5 years off the "programming" :)


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group