a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Non Indented List in Firefox

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Non Indented List in Firefox
Page: [1]
 
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
Non Indented List in Firefox - 9/5/2005 3:25:24   
Hi, hoping someone can help. I'd like a non-indented list for links. What I have is fine in IE, but not working in Firefox.

ul.nav {
color:#000000;
text-decoration:none;
font-size:100%;
font-family:arial, verdana, helvetica, sans-serif;
font-weight:normal;
margin:0px
}

li.nav {
list-style-type:none;
padding-top:5px;
padding-bottom:5px;
text-align:center
}

It's going in like this:

<ul class="nav">
		<li class="nav">
		<a title="Link: Words" class="left" tabindex="19" href="#top">Link Here</a></li>
		<li class="nav">
		<a title="Link: More Words" class="left" tabindex="20" href="#top">Another Link</a></li>
		<li class="nav">
		<a title="Link: Words Again" class="left" tabindex="21" href="#top">Link Here</a></li>
				</ul>


In IE, the list looks okay, but it's still indented in FF.

Thanks for any help, I've never wanted a non-indented list before.

Sally

< Message edited by rubyaim -- 9/5/2005 3:35:04 >
womble

 

Posts: 5722
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Non Indented List in Firefox - 9/5/2005 4:59:34   
If memory serves correct, I think you have to specify

padding-left: 0px;

as well to get rid of the automatic indent.

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~
:)

(in reply to rubyaim)
Tailslide

 

Posts: 6370
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Non Indented List in Firefox - 9/5/2005 5:06:09   
Womble's right.

For reasons unknown Firefox, Mozilla etc control list indentation with padding and IE with margins.



_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to womble)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: Non Indented List in Firefox - 9/5/2005 19:42:19   
Many thanks - that did the trick :)

Sally

(in reply to womble)
c1sissy

 

Posts: 5087
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Non Indented List in Firefox - 9/11/2005 9:23:54   
Just for future reference when designing a page with css you should always zero out your paddings, margins and borders.

* {
margin: 0px;
padding: 0px;
border: 0px;
}

This way you will be removing any default thigns that will cause you problems, and you can insert as needed along your styles.
hth!

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to rubyaim)
jaybee

 

Posts: 14210
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Non Indented List in Firefox - 9/11/2005 10:40:08   
quote:

Just for future reference when designing a page with css you should always zero out your paddings, margins and borders.

* {
margin: 0px;
padding: 0px;
border: 0px;
}

This way you will be removing any default thigns that will cause you problems, and you can insert as needed along your styles.
hth!


I was just about to say that! :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to c1sissy)
c1sissy

 

Posts: 5087
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Non Indented List in Firefox - 9/11/2005 10:44:37   
quote:

I was just about to say that!


:)
Just don't know when I'll show up do you? lol.

working on sooo much learning:) (php now)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to jaybee)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: Non Indented List in Firefox - 9/11/2005 18:51:03   
quote:

Just for future reference when designing a page with css you should always zero out your paddings, margins and borders.


c1sissy - thanks :)

That explains some of the problems I have from time to time :)

Sally

(in reply to c1sissy)
c1sissy

 

Posts: 5087
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Non Indented List in Firefox - 9/11/2005 20:25:26   
quote:

c1sissy - thanks


No problem. Just make sure it gets to be a habbit that you automatically include that as part of all your style rules. Helps greatly. :)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to rubyaim)
jaybee

 

Posts: 14210
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Non Indented List in Firefox - 9/12/2005 5:11:46   
quote:

working on sooo much learning:)


Keep at it.

You talk to Stu Nichols do you not? Tell him I love him will you. Just used one of his pure css galleries as a basis for a site I'm doing and it looks amazing!

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to c1sissy)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Non Indented List in Firefox
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts