Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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
Trades: 0
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!
 
 
Register now for full access!
Old 05-13-2008, 07:40 PM Re: de-bugging help please
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
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;
}
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

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: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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 |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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
Trades: 0
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: 107
Name: Sandy
Trades: 0
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: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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 |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
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
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
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
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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





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



Page generated in 0.28667 seconds with 12 queries