Log In · Register

 
 
Closed TopicStart new topic
<$BlogArchiveName$> how to un-indent??, help with blog template formatting
akidd
post Sep 10 2005, 04:39 PM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Sep 2005
Member No: 231,350



I have the following in my sidebar on my blogger website My Webpage template:



How do I get rid of that indent so the archives are left justified? Pulling my hair out!
 
moorepocket
post Sep 14 2005, 07:52 PM
Post #2


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



get rid of the <ul> </ul>.
 
*mipadi*
post Oct 3 2005, 03:25 PM
Post #3





Guest






You can do it easily with stylesheets. The problem is that different browsers interpret and display the list items differently. Mozilla-based browsers display the indentation as padding, while Internet Explorer displays it as a margin (not sure what KHTML-based and other browser engines use). Therefore, to work in all browsers, you must set both style attributes. In your stylesheet, make up a style like this:
CODE
ul {
   padding-left:0px;
   margin-left:0px;
}

That will make the list have no indentation across browesrs (or it should, anyway).
 
moorepocket
post Oct 3 2005, 08:06 PM
Post #4


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



for bullet list you don't have to put that in the css. Just don't use <ul>. It still works the same way.
 
*mipadi*
post Oct 4 2005, 08:51 AM
Post #5





Guest






QUOTE(moorepocket @ Oct 3 2005, 9:06 PM)
for bullet list you don't have to put that in the css. Just don't use <ul>. It still works the same way.
*

You should, though. <li> tags should not fall outside of a <ul> or <ol> tag.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: