Results 1 to 2 of 2

Thread: div height problem with ie7

Hybrid View

  1. #1
    Join Date
    Jul 2011

    div height problem with ie7

    i've this code in my page:

    HTML Code:
    <asp:Image runat="server" ID="line_1" ImageUrl="~/App_Themes/ThemeBlue/images/top-line-up.png" Width="900px" Height="5px" />
    in ie8, the div size stays at 5px but in ie7 the height becomes 20px. what should i do? please help....

  2. #2
    Join Date
    Jul 2006
    We can't really test that, so at a quick glance I would recommend using CSS instead.
    style="width: 900px; height: 5px"
    You could try specifying the width and height on the parent DIV too, not sure if it will work that way.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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