Thread: IE vs the rest

Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    May 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: IE vs the rest

    Quote Originally Posted by jund View Post
    In the 'Cookbook' it is recommended to use em instead of px - primarily because px is relative to the resolution the customer is using - and we all know the customer is in charge of what they see (smile).
    em is relative and works in most browsers... because it is a percentage value.

    To be safe it is best to use em.
    Note Goofy uses em.

    Here is what my CSS looks like for the margins...

    #navColumnOneWrapper, #navColumnTwoWrapper {
    margin-left: 0.5em;
    margin-right: 0.5em;
    }

    SUMMARY:
    em covers the majority of browsers regardless of version - it is a way of managing 'padding' and it is in percentage instead of pixels. Pixels are 'fixed' controlled by the viewers's resolution - whereas percentage is 'proportional' regardless of the viewer's settings.

    Experiment with it -

    jund
    Ok, thx for support. I'm learning everyday...

  2. #22
    Join Date
    May 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: IE vs the rest

    As I look in firefox to the right column headings they are bold but left column headings aren't.

    In IE both left and right column headings are bold. I thought i specified both as bold:

    .leftBoxHeading, .rightBoxHeading {
    font-size: 1.4em;
    font-weight: bold;

    text-align: left;
    margin-top: 0.5em;
    padding: 0px;
    color: #FF479D;
    background-color: #FECAE3;
    }

    any comments?

  3. #23
    Join Date
    Sep 2006
    Posts
    66
    Plugin Contributions
    0

    Default Re: IE vs the rest

    Sounds like something overriding it...

    Do you have a link? Or are you working locally?

  4. #24
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: IE vs the rest

    Actually they are bold on both sides. The problem is something rather more complicated.

    In your right column sideboxes you have label tags nested around the heading text but inside the heading tags itself. There is some general styling for labels that increases the font-size by .1em to 1.1em.

    As the effect of ems is multiplicative, this makes the font size of the headings in your in your right hand column 10% larger than in the left.

    This is compounded by browsers not scaling text smoothly. Font sizes and weights tend to "jump", and in this case I guess IE and FF must be jumping at a different point making the difference even more obvious.

    To resolve this you need to over-ride the font size adjustment for the labels by adding
    .rightBoxHeading label {font-size:1em}
    to your stylesheet, ideally immediately before the heading font sizes are set. You may then wish to increase the heading font-size to 1.5em, but in any case they will act more consistently.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #25
    Join Date
    May 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: IE vs the rest

    Thank you so much!!

    Now the font-size is equal on both sides.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v151 Trying to get the header larger than the rest of the pages
    By AlexThibo in forum Templates, Stylesheets, Page Layout
    Replies: 41
    Last Post: 25 Sep 2013, 10:00 PM
  2. the 1st row of products displays the product description in bold, but the rest don't
    By RilKen27 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Sep 2009, 07:33 PM
  3. How do I 'include' the Zen header on the rest of site?
    By operandii in forum General Questions
    Replies: 1
    Last Post: 24 May 2009, 05:01 AM
  4. Deleting the rest of the countries from the list
    By pcaspian in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 31 Aug 2008, 06:19 PM
  5. Flash header on the index page ONLY. jpg on the rest of the pages
    By perfectlyclearmedia in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Aug 2008, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg