Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Easy Date   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-03-2007, 11:33 PM   #1 (permalink)
Inactive
 
sachi's Avatar
 
Join Date: 07-12-06
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

sachi is liked by somebodysachi is liked by somebodysachi is liked by somebody
css issue in IE6

i'm seeing a huge height disparity in IE6 for my site here. it's fine in FF, but I'm not sure what is causing this problem. Does anyone have a clue or point me in the right direction?
sachi is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-04-2007, 05:38 AM   #2 (permalink)
Contributing Member
 
Join Date: 07-22-06
Location: Denver, Colorado, USA
Posts: 495
iTrader: 0 / 0%
Latest Blog:
None

jumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nicejumpenjuhosaphat is just really nice
You're link doesn't seem to be working in either FF or IE...


Edit: Nevermind, it was my connection.

Last edited by jumpenjuhosaphat : 02-04-2007 at 05:45 AM.
jumpenjuhosaphat is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 12:30 PM   #3 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Post your CSS for the lefthand UL menu.
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 12:33 PM   #4 (permalink)
Inactive
 
sachi's Avatar
 
Join Date: 07-12-06
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

sachi is liked by somebodysachi is liked by somebodysachi is liked by somebody
Sure, no problem. Here you go;

Code:
#nav-container { width: 220px; float: left; height: 200px; } * html #nav-container { width: 220px; float: left; top: 0; } #navmenu { width: auto; border-right: 0px solid #000; color: #333; font-size: 1em; font-weight: 900; height: 200px; clear: left; line-height: 2.5em; letter-spacing: .15em; margin: 0; padding: 0; } #navmenu ul { list-style: none; } #navmenu li a { font-family: "Lucida Grande", Geneva, Helvetica, Arial, sans-serif; display: block; padding: 5px 5px 3px 20px; border-left: 10px solid #012345; background-color: #fff; color: #012345; text-decoration: none; height: auto; } #navmenu li a:hover { border-left: 5px solid #0099ff; background-color: #none; color: #012345; } li.one:hover, { border-left: 5px solid #ff9900; } li.two:hover { border-left: 5px solid #fff; } li.three:hover { border-left: 5px solid #93ccea; } li.four:hover { border-left: 5px solid #133fbf; } li.five:hover { border-left: 5px solid #a524ef; } html>body #navmenu li a { width: auto; }
sachi is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 12:53 PM   #5 (permalink)
Inactive
 
sachi's Avatar
 
Join Date: 07-12-06
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

sachi is liked by somebodysachi is liked by somebodysachi is liked by somebody
btw- i was tinkering around with it and I noticed removing the line-height: 2.5em; from the #navmenu will shorten the height on IE6. However, a gap will still exist b/w each navmenu tab.
sachi is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 01:30 PM   #6 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Thanks for posting the CSS. I don't see anything obvious, you can try changing heights for the elements while testing in both browsers, especially the height: auto; that you have for the #navmenu li a. Experiment with explicitly declaring the height of each menu item, since IE and FF inherit CSS values differently. Other than that, I would experiment with it until it works.
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 01:35 PM   #7 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Quote:
Originally Posted by sachi View Post
btw- i was tinkering around with it and I noticed removing the line-height: 2.5em; from the #navmenu will shorten the height on IE6. However, a gap will still exist b/w each navmenu tab.
Could it have something to do with having the li and a elements both display:block ?
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2007, 01:55 PM   #8 (permalink)
Inactive
 
sachi's Avatar
 
Join Date: 07-12-06
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

sachi is liked by somebodysachi is liked by somebodysachi is liked by somebody
no- it's not the block element. just tried it.

it's so strange because it was perfect in both IE and FF before I started tinkering with it yesterday night. Grrghhh....me and my tinkering. I wish I had the original stylesheet before all this happened!

Thanks for helping, though. I'll keep messing with it. I did manage to close the height gap now but just need to align it the left.
sachi is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-05-2007, 12:57 PM   #9 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,788
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
Looks OK now. Did you get it fixed. When dealing with IE6 you will almost always have to use one of the variations on the box model hack. IE6 treated the CSS box model differently than the standards stated. When you start using borders and padding, IE6 will render different than other standards based browsers. I would assume that is what you ran into. You have a box model hack in your CSS but I didn't userstand why because it is no different.
The hack is:

* html #nav-container {
width: 220px;
float: left;
top: 0;
}

Did you remove some things from this area?
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
www and non www issue webexplore Google Forum 9 09-15-2007 04:59 PM
WOMD - Issue or Non-issue John Scott Politics 1 08-02-2007 08:30 AM
Help with a possible CSS issue Mr.Bill Coding Forum 5 07-24-2007 04:35 PM
CSS Issue Sketch Coding Forum 7 02-16-2007 06:13 PM
CSS issue Laurentvw Coding Forum 3 04-03-2006 09:46 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 11:17 PM.
© Copyright 2008 V7 Inc