Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:

CSS margin in Firefox and IE. I'm tring to create ...

CSS margin in Firefox and IE. I'm tring to create a list <ul> with no left margin but I can't make it happen in Firefox.


Share Send to a friend Watch Report
 
 

2 Posted Answers
Order by

 
304 helpful answers

I was late for work this morning, because I got stuck in Zeno's paradox

Lists recognise just about all the syle attributes, so you should be able to define any margin you like

margin-left: 0px;

or margin: 10px 10px 10px 0px;

If  you're having difficulties with this, check that you don't have another syle definition that is overriding the style on your list.

It might also help to get an answer if you send an example of your code or a link to a page where people can see it.

Posted 2007-06-11T14:37:17Z
 
17 helpful answers

Firefox by default applies padding to the UL element, try setting padding-left to zero.

To get round problems with browser differences in default styles you can try using a CSS reset stylesheet.  This will reset all browsers to a common baseline, but you'll have to have style rules for every element you actually want to use (eg. headings become styled like the rest of the text).

Posted 2007-11-09T18:39:22Z

Sign in to participate

Got an answer for aviche2? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

HTML/CSS standard for specifying copyright attribution on an image

Is there a standard or common convention for including an attribution to the copyright owner on an image in HTML? (See the blog ...
Submitted by Yaniv   10 months ago.
  • viewed 780 times
Last answer posted 9 months ago by Eran


Q:

Using html/css with aol mail

how can i send email that presents html/css as infomration with aol?
Submitted by llsr   7 months ago.
  • viewed 24 times


Q:

Flash object in css

In Programming: How do I insert a Flash object into a .css class, and then reference it from HTML code. Is it even Possible?
Submitted by nirh   3 years ago.
  • viewed 4451 times
Last answer posted 3 years ago by nirh



» More...

Explore Related Posts in Forums

Is there any way to accomplish a gradient color fading from one color to ...

Really want to accomplish this through an image, is there any way to do this with HTML or CSS? Categories : HTML Gradient CSS Fading Color Gradient for either CSS or (x)HTML that will accomplish a gradient. That being said, I seem to remember an IE-only

css/html codes

css/html codes error messing up themes on home page I'm having the same problem on my profile. said to remove css/html/custom codes but I don't know it.HOW DO YOU REMOVE THE CSS/HTML/CUSTOM CODES ??? SAME PROBLEM WITHMY PAGE AND ITS PISSING ME OFF

Is there an app to convert HTML/CSS to FBML?

Is there an app or tool out there to convert HTML/CSS pages to FBML? No. FBML is an evolved subset of HTML with some elements removed, and others which have been added Is there an app or tool out there to convert HTML/CSS pages to FBML?
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License