Results 1 to 4 of 4

Thread: Opera problem

  1. #1
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default Opera problem

    Ok, so after yet another redesign (my brother gets bored quickly), I have come up with this: http://www.bombthehills.com/test/index.html

    It works in FF and IE (with a different stylesheet), but in opera there is this annoying line left of the "basics" link. I've tried to get rid of it but don't understand what's wrong, since the page has been validated : Validation Link.

    I was thinking of making a conditional statement for Opera if I can't fix it, but would need a little bit of guidance on how to do it, as I tried:

    <!--[if Opera]>
    <link href="operaindex.css" rel="stylesheet" type="text/css">
    <![endif]-->

    But it didn't work, hoping I don't have to resort to that though,

    Any help I would be thankful for, kudos++ :P

    Jack. Update: Sort of works, but I still want to know how to write a conditional statement for opera if possible, because the <hr/> is further down in Opera than FF and IE.
    Last edited by Schmoopy; 11-15-2008 at 03:04 AM.

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Conditional comments are only rad by MSIE 5/6/7+ Not by any Gecko based browser.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    ah, but you can (sort of)

    see here: http://www.sprymedia.co.uk/article/Conditional-CSS
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  4. #4
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Thanks for that info, I may need to use it in the future, but for now I've fixed the problem and it lines up well in both FF and Opera now, IE fixed with conditional

Bookmarks

Posting Permissions

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