Reply
de-bugging help please
Old 05-13-2008, 06:57 PM de-bugging help please
Novice Talker

Posts: 7
Name: Dianna
Location: Victoria B.C. Canada
Hello:

I just finished a re-vamp of my webiste and upgraded it to a CSS design.
It is working and showing fine in IE7, Firefox, Opera etc. but when I view it in IE 6 it is dropping my last box (E-Marketing Strategies) to the next line.

I have searched through my coding with a fine tooth comb, but can not see where I went wrong. Can anyone help?

Here is the link: http://www.inlightwebdesign.com


Thank you!
Dianna
mystiklady is offline
Reply With Quote
View Public Profile Visit mystiklady's homepage!
 
When You Register, These Ads Go Away!
Old 05-13-2008, 07:40 PM Re: de-bugging help please
bakerc's Avatar
Penguins on toast

Posts: 1,875
Name: carl
Location: UK
Hi

I couldn't see anything to do with what you mentioned but I am sure LadyinRed or someone with more experience will know more.

I may be wrong but the only problem I can see is this

#dropmenudiv a:hover{font-color: #ffffff;
background-color: #FFFFFE;
}

As far as I know font-color: is not valid CSS I believe it should just be color: #ffffff;

#dropmenudiv a:hover {
color: #FFFFFF;
background-color: #FFFFFE;
}

Last edited by bakerc : 05-13-2008 at 07:49 PM.
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 05-13-2008, 07:42 PM Re: de-bugging help please
vangogh's Avatar
Post Impressionist

Posts: 8,946
Name: Steven Bradley
Location: Boulder, Colorado
It's probably not you that's gone wrong, but IE6. Without looking at the code I'm pretty sure it's the way IE6 interprets the css box model. What you'll likely want to do is set up an IE6 specific style and then use a conditional comment to get IE6 to read that style.

Ok, I did just look at your code and notice that all the boxes have the same width. The middle two could easily be narrower. You might just create a different class for those two boxes that would be the same as the current class you're using except for a narrower width.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-14-2008, 03:27 PM Re: de-bugging help please
Novice Talker

Posts: 7
Name: Dianna
Location: Victoria B.C. Canada
OK, thanks!

I used all the same widths for the div boxes for convenience sake. I knew that 900 px divided by 4 boxes would be 225 per box. Made spacing them easier. I will try making the 2 middle ones smaller.

Thanks!

Dianna
mystiklady is offline
Reply With Quote
View Public Profile Visit mystiklady's homepage!
 
Old 05-14-2008, 06:03 PM Re: de-bugging help please
Super Talker

Posts: 103
Name: Sandy
hi Dianna,

Based on your last post I think if you made each of your menu div's smaller than 225px it all might fit. I am still pretty new to CSS but I think you need to allow for some gutter room.
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 05-14-2008, 08:03 PM Re: de-bugging help please
vangogh's Avatar
Post Impressionist

Posts: 8,946
Name: Steven Bradley
Location: Boulder, Colorado
Dianna let us know if reducing widths a little works. If not we'll be happy to look again and see if we can sort it out for you.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-15-2008, 04:28 AM Re: de-bugging help please
chrishirst's Avatar
Super Moderator

Posts: 15,326
Location: Blackpool. UK
Quote:
I knew that 900 px divided by 4 boxes would be 225 per box.
There's the error. ...


Thinking that IE was any good at maths

By the time the the c0ckeyed box model has finished with it, a width of 225px is nearer 230px and that's before it has added in padding, margins, border width and a bit extra because it's raining and boxes often swell a bit when it's damp!
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-15-2008, 11:33 AM Re: de-bugging help please
LadynRed's Avatar
Super Moderator

Posts: 6,746
Location: Tennessee
Actually, if the user has patched IE6 with all patches and service packs, the box model problem was fixed with one of those updates. What it still has a problem with is it's stupd hasLayout behavior, along with other dumb bugs. IE doesn't do well with really tight layouts.

One other thing I noticed - you need to define a background color either for the body or for #content. My system default background color is set to a pale pink. When I view your page, what I see in the #content area is white boxes sitting on a pale pink background. ALWAYS set a background color, you can't assume that people will use the default system colors of a white background.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 05-15-2008, 02:49 PM Re: de-bugging help please
Novice Talker

Posts: 7
Name: Dianna
Location: Victoria B.C. Canada
Hello Everyone:

Thanks for all the tips! I will try making the boxes smaller. It's strange though because I used the same formula on my "portfolio" page and all the boxes fit there fine in IE6 which is why I couldn't figure out what in the code would NOT allow the boxes to fit on the home page. Strange.

Oh well, I guess that is the world of browsers. :-)

And thanks for letting me know about the background color. You are right. Just assumed everyone would use the default!

Back to the drawing board . . . .

Dianna
mystiklady is offline
Reply With Quote
View Public Profile Visit mystiklady's homepage!
 
Reply     « Reply to de-bugging help please
 

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.17022 seconds with 12 queries