<object> and scrollbars

Discussion in 'HTML' started by The Eclectic Electric, Dec 12, 2006.

  1. Is there a way to get rid of these? I've viewed the page in FF1.5, IE6 and
    Op9. Only Opera is displaying my subpage without them.

    www.listyblue.com/test.htm

    I think I can get around the issue by using iframes, but I've been striving
    to use Strict DTD so it would be a shame to drop it.

    Any help greatly appreciated.

    +e
     
    The Eclectic Electric, Dec 12, 2006
    #1
    1. Advertising

  2. The Eclectic Electric wrote:

    > Is there a way to get rid of these? I've viewed the page in FF1.5,
    > IE6 and Op9. Only Opera is displaying my subpage without them.
    >
    > www.listyblue.com/test.htm
    >
    > I think I can get around the issue by using iframes, but I've been
    > striving to use Strict DTD so it would be a shame to drop it.


    First of all, the "scrolling" parameter isn't valid for <object> in
    XHTML 1.0 Strict, though.
    http://validator.w3.org/check?uri=http://www.listyblue.com/test.
    htm

    Second, is there any special reason you're using the <object> tag for
    this, btw? AFAICT, the <img> tag is sufficient for this usage.

    Third, the reason IE is showing the object with scrollbars, is that
    there appears to be a margin around the image.

    I also viewed the page in FF1.5, and it showed up just fine there.

    --
    Kim André Akerø
    -
    (remove NOSPAM to contact me directly)
     
    =?iso-8859-1?Q?Kim_Andr=E9_Aker=F8?=, Dec 12, 2006
    #2
    1. Advertising

  3. "Kim André Akerø" <> wrote in message
    news:...
    > The Eclectic Electric wrote:
    >
    >> Is there a way to get rid of these? I've viewed the page in FF1.5,
    >> IE6 and Op9. Only Opera is displaying my subpage without them.
    >>
    >> www.listyblue.com/test.htm
    >>
    >> I think I can get around the issue by using iframes, but I've been
    >> striving to use Strict DTD so it would be a shame to drop it.

    >
    > First of all, the "scrolling" parameter isn't valid for <object> in
    > XHTML 1.0 Strict, though.
    > http://validator.w3.org/check?uri=http://www.listyblue.com/test.
    > htm
    >
    > Second, is there any special reason you're using the <object> tag for
    > this, btw? AFAICT, the <img> tag is sufficient for this usage.


    My site allows users to upload their own pictures. They are stored in a
    protected directory. The test.php page retrieves the relevant image by
    using HTTP headers.

    >
    > Third, the reason IE is showing the object with scrollbars, is that
    > there appears to be a margin around the image.


    There isn't. IE has just inserted it there.

    >
    > I also viewed the page in FF1.5, and it showed up just fine there.


    Which is weird. It looks like crud on mine.

    Thanks for looking anyway. I think it's a no go - I've googled for a way to
    do this and come up with blank. I guess I'll use <iframe> and Transitional
    DTD. Just thought I'd try the collective brains here!

    +e
     
    The Eclectic Electric, Dec 12, 2006
    #3
  4. ..oO(The Eclectic Electric)

    >> Second, is there any special reason you're using the <object> tag for
    >> this, btw? AFAICT, the <img> tag is sufficient for this usage.

    >
    >My site allows users to upload their own pictures. They are stored in a
    >protected directory. The test.php page retrieves the relevant image by
    >using HTTP headers.


    <img src="test.php" alt="...">

    Micha
     
    Michael Fesser, Dec 12, 2006
    #4
  5. "Michael Fesser" <> wrote in message
    news:...
    > .oO(The Eclectic Electric)
    >
    >>> Second, is there any special reason you're using the <object> tag for
    >>> this, btw? AFAICT, the <img> tag is sufficient for this usage.

    >>
    >>My site allows users to upload their own pictures. They are stored in a
    >>protected directory. The test.php page retrieves the relevant image by
    >>using HTTP headers.

    >
    > <img src="test.php" alt="...">
    >
    > Micha


    If you were here I'd kiss you!!!!! Fantastic!

    Many thanks

    +e
     
    The Eclectic Electric, Dec 12, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TWlrZQ==?=

    CheckBoxList and Scrollbars

    =?Utf-8?B?TWlrZQ==?=, Nov 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    672
    =?Utf-8?B?TWlrZQ==?=
    Nov 16, 2004
  2. Blue Streak

    ASP:Panel and Scrollbars...

    Blue Streak, Mar 8, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    3,456
    Blue Streak
    Mar 8, 2005
  3. tshad

    Listbox and Scrollbars

    tshad, Jun 10, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    406
    tshad
    Jun 10, 2005
  4. Bluetears76
    Replies:
    1
    Views:
    1,024
    Larry Barowski
    Jul 1, 2004
  5. richard
    Replies:
    1
    Views:
    901
    richard
    May 23, 2012
Loading...

Share This Page