IE CSS Hell - Font Sizes In IE & FF

This is a discussion on "IE CSS Hell - Font Sizes In IE & FF" within the Web Page Design section. This forum, and the thread "IE CSS Hell - Font Sizes In IE & FF are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Aug 18th, 2007, 13:23
Up'n'Coming Member
Join Date: Jul 2007
Location: England
Posts: 67
Blog Entries: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question IE CSS Hell - Font Sizes In IE & FF

As per usual with IE and its awkward behaviour, I am having some trouble with font sizes.

FF displays them as they should be IE7 displays them as they should be but IE6 plain refuses to play ball.

I'm just wondering if this is one of those occasions that now forces me to make a style.css for IE6 using the IF statement in the header?

Whats actually happening...

I am using a dropdown menu made from CSS and UL tags and it has its own font control currently set to 12px

But IE6 seems to be displaying the font as what ever it sees fit to dispaly it as.

I am going to post the URL but in a form that is non readable as an URL to spiders beacuse i dont want it indexing just yet.

sweet-machines [dot] com

my css is located at that url plus /css/style.css

Any advice here would be good!

Thanks


EDIT// Had an idea to try and remove the font-size element fromt the menu's css. This had some effect in that the font is now a little larger but it is still no where near the size it should be.
So obviously there was a conflict between the bodys font size css and the menu's font size css but it's still not completely cured.

Suggestions anyone?
Last Blog Entry: Fire In The Hole! (Jan 23rd, 2008)

Last edited by weasel; Aug 18th, 2007 at 13:37.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 18th, 2007, 14:29
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE CSS Hell - Font Sizes In IE & FF

I'm not great at navigations yet but I do have a menu on a site very similar.
And yes I did have to use an IEonly stylesheet.

Here is what the stylesheet looks like:

Code: Select all
body {
behavior: url(csshover.htc);
font-size: 100%;
} 
#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;} 

#menu a, #menu h2 {
font: bold 0.8em/1.2em arial, helvetica, sans-serif;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 18th, 2007, 17:41
Up'n'Coming Member
Join Date: Jul 2007
Location: England
Posts: 67
Blog Entries: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE CSS Hell - Font Sizes In IE & FF

Thanks Lcahd for confirming my thoughts.
Always best to check.

I will set up another style sheet just for IE

I did however find this helpfull for making minor changes

http://cavemonkey50.com/2005/12/the-...ie-hack-guide/

While this is effective for small changes (as it states in there) I'm not sure how many other problems I might encounter that may need more IE only code so for me the IE sheet is my best bet.

Hopefully that link will prove usefull for someone only wanting to alter one or two things like margin & font.

Thanks for all your input
Last Blog Entry: Fire In The Hole! (Jan 23rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
sizes, hell, font, css

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

BB 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
Page Sizes Maverick25r Web Page Design 11 Feb 26th, 2007 17:24
css font sizes problem jesse22 Web Page Design 7 Oct 23rd, 2006 18:04
VBScript Hell moojoo Other Programming Languages 1 Oct 10th, 2006 20:44


All times are GMT. The time now is 08:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42