locked
Adjust the position of object RRS feed

  • Question

  • User364663285 posted

    Hi,
    I expect the picture file to be shown as the background of the header, TABs (picture file would be right shown behind them). How to adjust the following?

    <body>
        <form id="main_form" runat="server">
        <div class="content" id="wrapper" >
            <asp:Image ID="img1" ImageUrl="~/../pict/ID-10028343.jpg" CssClass="background" Height="780px" Width="1220px" runat="server"/>
        </div>
        <div class="container">
    			    <!-- freshdesignweb top bar -->
    ...

    Monday, November 28, 2016 9:11 AM

All replies

  • User364663285 posted

    Hi,

    Any other help?

    Tuesday, November 29, 2016 2:31 AM
  • User-707554951 posted

    Hi wmec,

    From your description, i  am not sure what result you want to get. However, perhaps, you could use the following css to do that.

    You could modify the background-position-y and background-position-x to realize your requirement.

    <style type="text/css">
           header{
               background-image:url("https://www.google.com/intl/en_com/images/srpr/logo3w.png");     
               background-position-x: 200px;
               background-position-y:10px;
               background-repeat:no-repeat;          
           }
        </style>

    Best regards

    Cathy

    Tuesday, November 29, 2016 9:22 AM
  • User364663285 posted

    To your current way, can I show relevant picture file which is residing in the current server?

    Tuesday, November 29, 2016 9:31 AM
  • User1724605321 posted

    Hi wmec,

    To your current way, can I show relevant picture file which is residing in the current server?

    Please explain more about your requirement .

    Best Regards,

    Nan Yu

    Tuesday, December 6, 2016 7:51 AM
  • User-1101191399 posted

    Hi,

    You can use the below Link.

     http://www.w3schools.com/code/tryit.asp?filename=FCB8AYS2JKSC

    Thanks

    Wednesday, February 1, 2017 11:39 AM