HighDots Forums  

Why does this look wrong in IE?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Why does this look wrong in IE? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan Silver
 
Posts: n/a

Default Why does this look wrong in IE? - 04-15-2008 , 12:42 PM






Hello,

Please can you have a look at http://www.kidsinaction.org.uk/x/ and tell
me what I've done wrong.

If you look at it in FireFox, it looks how I would like, with the links
in the left margin being slightly away from the left edge of the white
background.

If you look at this page in IE6 or IE7 (not checked any others), these
links are too far left. In IE6, the part of the link text that goes over
the left margin is not shown, so you only see the end of the link text.
In IE7, the full link text is visible, but it's too far left.

The HTML and CSS are both valid, and I'm not sure what's going wrong
here. Any help would be gratefully appreciated.

Thanks

--
Alan Silver
(anything added below this line is nothing to do with me)

Reply With Quote
  #2  
Old   
Bergamot
 
Posts: n/a

Default Re: Why does this look wrong in IE? - 04-15-2008 , 01:34 PM






Alan Silver wrote:
Quote:
http://www.kidsinaction.org.uk/x/

If you look at this page in IE6 or IE7 (not checked any others), these
links are too far left.
You must set both left margin and padding values if you want consistency
across browsers. Both the left indent and bullet placement are affected
differently.

try
ul {margin-left:0; padding-left:20px}

or thereabouts.

--
Berg


Reply With Quote
  #3  
Old   
Alan Silver
 
Posts: n/a

Default Re: Why does this look wrong in IE? - 04-15-2008 , 04:15 PM



In article <66kaqgF2kfl66U1 (AT) mid (DOT) individual.net>, Bergamot
<bergamot (AT) visi (DOT) com> writes
Quote:
Alan Silver wrote:

http://www.kidsinaction.org.uk/x/

If you look at this page in IE6 or IE7 (not checked any others), these
links are too far left.

You must set both left margin and padding values if you want consistency
across browsers. Both the left indent and bullet placement are affected
differently.

try
ul {margin-left:0; padding-left:20px}

or thereabouts.
Thanks, that's great ;-)

--
Alan Silver
(anything added below this line is nothing to do with me)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.