Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-12-2005, 05:00 PM   PM User | #1
goriillita
New to the CF scene

 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
goriillita is an unknown quantity at this point
Style Sheet problem - different rendering in MIE

I am doing a pro bono site: http://www.redcrosswesterncolorado.org . I designed the site using Mozilla Firefox 1.5 as my browser. The issue is with the navigation links in the left-hand blue border. The way these display in Firefox (and Netscape 7.1) is correct (how I intended). However, in MIE 6.0 (and Opera) they are indenting too far to the right, causing them to be very narrow (wrapping almost every word) and making the navigation column very long.

: I am relatively new to CSS and am trying to help out the Red Cross in my area. If anyone can help me figure out how to make MIE comply with my style sheet as it displays in Firefox, I and the Red Cross would be beyond grateful.
goriillita is offline   Reply With Quote
Old 12-12-2005, 08:12 PM   PM User | #2
cdc08x
New Coder

 
Join Date: Sep 2005
Location: Latina (Italy)
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
cdc08x is an unknown quantity at this point
It's your CSS code as now (I got the last rows):
Code:
...
#links UL {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; LIST-STYLE-POSITION: outside; PADDING-BOTTOM: 0px; COLOR: #ff0000; PADDING-TOP: 0px; LIST-STYLE-TYPE: disc
}
#links LI {
	MARGIN-LEFT: 25px
}
Modify it this way:

Code:
...
#links UL {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; LIST-STYLE-POSITION: outside; PADDING-BOTTOM: 0px; COLOR: #ff0000; PADDING-TOP: 0px; LIST-STYLE-TYPE: disc; margin-left:20px;
}
#links LI { /* set it off or just don't write anything for this element!! */ }
and you'll see the same indentation for links on both browsers

Glad to help you!!

Last edited by cdc08x; 12-12-2005 at 08:14 PM..
cdc08x is offline   Reply With Quote
Old 12-12-2005, 10:48 PM   PM User | #3
drhowarddrfine
Senior Coder

 
Join Date: Oct 2005
Posts: 1,340
Thanks: 0
Thanked 61 Times in 60 Posts
drhowarddrfine can only hope to improve
Validate your code. You are missing several end tags.
drhowarddrfine is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 12:07 PM.


Advertisement
Log in to turn off these ads.