ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Trouble 'o CSS

October 01, 2008 8:05pm

Subscribe [3]
  • #1 / Oct 01, 2008 8:05pm

    Jamie Rumbelow

    546 posts

    Hey guys,

    I’m having a load of problems in browsers above a width of 1024 px.

    Resize your window to that and you should see how it should look.

    Don’t know WHAT is going on…

    http://jamierumbelow.net/jamie/

    Can anyone help?

  • #2 / Oct 02, 2008 9:56am

    Tom Glover

    493 posts

    Just Tried it, i doesn’t even let my make my browser go any bigger than the 1024px even if I try.

  • #3 / Oct 02, 2008 10:10am

    Pascal Kriete

    2589 posts

    Safari only looks right at what I would assume is 1024.  Both smaller and larger are screwed up.  A little too fluid 😉 .

  • #4 / Oct 02, 2008 11:04am

    johnwbaxter

    651 posts

    Looked fine until that red stuff loaded.

  • #5 / Oct 02, 2008 12:01pm

    Jamie Rumbelow

    546 posts

    Ok… try again. Switched all the font sizes to ems instead of pixels.

  • #6 / Oct 02, 2008 12:07pm

    Tom Glover

    493 posts

    It still won’t let me enlarge it.

  • #7 / Oct 02, 2008 12:09pm

    Jamie Rumbelow

    546 posts

    What browser are you using?

  • #8 / Oct 02, 2008 12:11pm

    Tom Glover

    493 posts

    FF3

  • #9 / Oct 02, 2008 12:40pm

    Nick Husher

    364 posts

    style.css:
    (~line 51), change margin-top from 5% to 50px.
    (~line 217), remove float: right.
    (~line 282), remove margin-bottom: 30%. Add height: 200px; overflow:hidden
    (~line 191), add clear:both.
    (~line 224), change padding-top to 30px.
    (~line 288), change margin-bottom to 200px.
    (~line 267), change padding to: 135px 9% 80px.
    (~line 66), overflow: hidden; height: 90px.


    It’s not perfect, but it’s closer. Whenever you’re using images, you’re stuck with absolute widths/hieghts. Vertical %-based padding should be avoided in most situations, unless you really know what you’re doing. You can convert some of those px-based measurements into ems by dividing by about 17.5 and fine-tuning with firebug.

  • #10 / Oct 02, 2008 4:43pm

    Jamie Rumbelow

    546 posts

    Thanks a load!

    I’m just testing on BrowserShots.org

    Thanks again!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases