Code for bg image position

I found the code for centering a back ground image:
background-position:center;
but this puts it dead center. I want the image to be top
center.
I assume it's easy, just can't find it...
Thanks!

background-position:top center;
Alec
Adobe Community Expert

Similar Messages

  • Relation ship code for finding manager position..

    Hi Experts,
    How to find the relationship code for finding Manager position of France and US.
    i know that
    A012 is the relationship code for France,
    What should be the relationship code for US?
    Thanks in advance.

    Hi
    If you take tables QMEL & DRAW / DRAW & QMFE
    if u have created a document in CV01N, with the object link has notification... Then you will be able to able both these tables...
    Document will be displayed...
    Both has same relationships.... you have to maintain the notification in document management system.
    Check out the linking details in SPRO - Cross-Application Components - Document Management - Control Data - Define Document types
    - Pithan

  • Safest CSS code for background image rotation?

    I currently use 4 different images to do rounded corner captions, and it occurred to me that I could just be using one and rotate it, if such a thing is actually possible.
    Is it?
    The images are actually table cell backgrounds, so it would have to be for background rotation, and it would have to be compatible will all major browsers.

    if such a thing is actually possible.
    That would require working with CSS transform properties and since they just like the native rounded corner property are CSS3, which is not yet consistently working in all browsers, it is not safe. Of course one might also be able to use jQuery and such, but why complicate the source code? Stick with your images.
    Mylenium

  • Matlab code for an image in labview

    Hello
    I am having a matlab code which works perfectly in matlab. I would like to put this code in Labview mathscript and run. How is it possiblle?
    D = imread('Image name');
    imagesc(D)
    imshow(D)
    [R,xp] = radon(D,[0 45]);
    figure; plot(xp,R(:,1)); title('R_{0^o} (x\prime)')
    theta = 0:360;
    [R,xp] = radon(D,theta);
    imagesc(theta,xp,R);
    title('R_{\theta} (X\prime)');
    xlabel('\theta (degrees)');
    ylabel('X\prime');
    set(gca,'XTick',0:20:180);
    colormap(hot);
    colorbar
    save radon R xp -ascii -double -tabs
    Message Edited by Nghtcrwlr on 03-18-2009 09:25 AM
    Nghtcwrlr
    ********************Kudos are alwayzz Welcome !! ******************

    Hi Nghtcrwlr,
    I found a few link, which should answer your questions:
    LabVIEW MathScript Function List
    http://digital.ni.com/public.nsf/allkb/583A5C2E5F1​7DEF6862571F10066AF55?OpenDocument
    LabVIEW MathScript Known Issues and Limitations
    http://digital.ni.com/public.nsf/allkb/2ADFD816901​7977986257103006CFCC0?OpenDocument
    Best regards
    Dippi 

  • Urgent ! Code for Displaying Image from Oracle BLOB image on VB Form

    Hi Plz any one have any work to showing a Picuture on Visual Basic Form, i Save the Picure in table and its column type is BLOB where i save picture, now i want to show it on VB form. if anybody knows plz tell me. and if image not found then how can i handle in nvl(field,' ') function.

    Refer VB sample on Passing LOB parameters to a stored procedure. It shows how to display and insert the image from VB form to an Oracle Database in a BLOB column.
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
    Chandar

  • Relationship code for Manager Position

    Hi Experts,
    How to find the relationship code for finding Manager position of France and US.
    i know that
    A012 is the relationship code for France,
    What should be the relationship code for US?
    Thanks in advance.

    Hi
    The standard SAP relationship code in OM is global and remains the same. Its not country specific. Hence France & US will have the same code.
    Regards
    UR

  • Tutorial for rendring image opengl es

    Hi,
    can any one tell me a good tutorial/sample code for rendering image. i just found only one code GLSprite from developer.apple.com. but i want to render more then one texture and also a background image.
    Can any one help me.
    Muhammad Usman Aleem

    ok i found a code "CrashLanding". it is realy nice for some one wants to start game programing.
    Muhammad Usman Aleem

  • Background Image Position Whole Numbers vs Decimals

    Hi EA experts,
    I'm using sprite sheets to create animations in Edge Animate CC and have run into a peculiar problem: Occasionally, when I am animating frame-to-frame and changing the background image position, the numbers I input (for example, -400) end up somehow being changed to a value a few decimal points off (such as -399.96). When playing the animation back, even this tiny fraction of a pixel difference ends up causing the sprites to shift and play back choppily. What's more frustrating still is that Edge Animate shows the X/Y values as the correct whole-numbers I inputed, until I click on them (see attached). Given the amount of animation I'm doing, now that I've found out this is the problem, I have maybe hundreds of X/Y values to correct.
              The whole number I input is displayed......                                   until you click, and see that it's off a bit
    Is there a way to easily correct this? Perhaps a way to make Edge Animate only accept whole numbers for background image position values?
    Thanks,
    -Adam

    Whole numbers kick decimal butt.
    Also, that's not how you calculate leap years. Just
    an FYI.What is it? Leap year if %4 == 0 and %100 != 0?
    I think... whatever, Google is your friend.

  • Help Needed with HTML code for Image Positioning

    Hi All,
    Need a little help with some code for positioning images.
    I initially used the following:
    This is fine, but the border automatically puts a black border around the photo - how do I change it to white? Is there a way to set margins too, to prevent the text butting up against the photo?
    I also used the following code with success:
    <style type="text/css"
    img
    float:right;
    border:2px solid white;
    margin: 0px 0px 15px 20px
    </style>
    This code works, however the problem with it is it is not individual to just one photo - it moved all my photos and on that page, I wanted one photo floated to left and another to the right.
    If I use this code, how can I make it photo specific, so that it only affects the placement, margins and borders of one photo?
    Any help would be great.
    Thanks

    CSS question, not iWeb question. Regardless, use inline CSS styling for the image. You can also wrap the image in its own tag and declare an id or simply declare an id for the img tag, then set the style for the id_name:
    <style type="text/css"
    img#id_name
    float:right;
    border:2px solid white;
    margin: 0px 0px 15px 20px
    </style>
    If you want to control the style of more than one image on a page but not all then use a class instead of an id.
    the border automatically puts a black border around the photo - how do I change it to white? Is there a way to set margins too, to prevent the text butting up against the photo?
    I believe you have discovered a solution for this according to your CSS code. You have set the border to white by looking at the code and adjusting it appropriately. Your margin is declared in the CSS also, adjust the pixels appropriately.
    Read up some more on CSS to educate yourself further. I suggest w3schools.com or a CSS forum instead of the iWeb forum if you have CSS questions. It's kind of like if you drive your auto to the supermarket so you decide to go to the supermarket and ask everyone in the produce section to help when you have car problems. All the supermarket does is provide a place to park your auto. If you have car problems then ask a mechanic. iWeb (and most of its users) doesn't specialize in code, it simply provides an area for you to place it. Granted you might get lucky and find a mechanic in the produce section of the supermarket, but you're more likely to find a specialist at an auto swap meet (or CSS coding forum)!

  • Jsp code for image compression

    Hai,sir this is surendra i am doing a project using jsp and mysql.
    In that each user can put his image and i am storing that image in mysql blob but that results to that database size.
    So i need jsp code for image compression or another way for storing images.

    There's no need to store images in db. You may store them in a dedicated folder.

  • Update WCB Code for position

    Hi  Gurus,
    I  try  the class code for a position and i have an error  message :
    The object (S) - 5008767  has been already linked to CI.Group 4015 Objects with multiple links to CI.Groups not allowed.
    Is it  access problem ?
    Thanks a lot in advance
    Soufiene

    Fixed

  • HTML code for region position 3

    Hi All,
    Can i get the HTML code for display point: Region position 3.
    My requirement is, i have to apply some background color to all the regions which are placed in region position 3.

    Chandran wrote:
    Hi All,
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should normally include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    For layout and visual formatting issues the APEX version, browser, theme, page and region template, and region/item details are always required.
    Can i get the HTML code for display point: Region position 3.
    My requirement is, i have to apply some background color to all the regions which are placed in region position 3.Region position 3 is determined by the location of the substitution string<tt>#REGION_POSITION_03#</tt> substitution string in the page template. This will vary by version, theme and page template, which is information you have not provided.
    Regions located in region position 3 will probably have existing background colours determined by their region templates. Is the requirement to apply a background colour to individual regions, or a background colour underlying all of the regions?

  • This is my Jsp code for image upload in database:

    This is my Jsp code for image upload in database:
    -----------Upload.jsp----------------
    <html>
    <head>
    </head>
    <body bgproperties="fixed" bgcolor="#CCFFFF">
    <form method="POST" action="UploadPicture.jsp" enctype="multiform/form-data">
    <%! int update=0; %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.text.*" %>
    <%@ page import="java.sql.Date" %>
    <%@ page import="java.io.*"%>
    <%@ page language = "java" %>
    <%
    try
    String ct="3";
    String path;
    File image=new File(request.getParameter("upload"));
    path=request.getParameter("upload");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:itPlusElectronics","","");
    PreparedStatement pstmt=con.prepareStatement("insert into graphics values(?,?,?)");
    pstmt.setString(2,path);
    pstmt.setString(3,ct);
    InputStream is=new FileInputStream(path);
    pstmt.setBinaryStream(1, is, (int)(image.length()));
    int s=pstmt.executeUpdate();
    if(s>0)
    out.println("Uploaded");
    else
    %>
    unsucessfull
    <%}
    is.close();
    pstmt.close();
    catch(Exception e)
    }%>
    </p>
    <p><br>
    <img src="UploadedPicture.jsp">image</img>
    <p></p>
    </form>
    </body>
    </html>
    My database name is itPlusElectronics and the table name is "graphics".
    I have seen as a result of the above code that the image is stored in database as "Long binary data". and database table is look like as follows-------
    picture path id
    Long binary data D:\AMRIT\1-1-Picture.jpg 3
    To retrive and display i use this JSP code as--
    ------------------------UploadedPicture.jsp------------------------------
    <html>
    <head>
    </head>
    <body bgproperties="fixed" bgcolor="#CCFFFF">
    <%! int update=0; %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.text.*" %>
    <%@ page import="java.io.*"%>
    <%@ page language = "java" %>
    <%@page import="javax.servlet.ServletOutputStream"%>
    <%
    try
    String path;
    path=request.getParameter("upload1");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:itPlusElectronics","","");
    PreparedStatement pst = con.prepareStatement("SELECT * FROM graphics WHERE id ='3'");
    // pst.setString(3, id);
    ResultSet rs = pst.executeQuery();
    path=rs.getString("path");
    if(rs.next()) {
    byte[] bytearray = new byte[4096];
    int size=0;
    InputStream sImage;
    sImage = rs.getBinaryStream(1);
    response.reset();
    response.setContentType("image/jpeg");
    response.addHeader("Content-Disposition","filename=path");
    while((size=sImage.read(bytearray))!= -1 )
    response.getOutputStream().write(bytearray,0,size) ;
    response.flushBuffer();
    sImage.close();
    rs.close();
    catch(Exception e)
    %>
    </body>
    </html>
    Now after browsing a jpg image file from client side and pressing submit button ;
    I am unable display the image in the Upload.jsp file.Though I use
    <img src="UploadedPicture.jsp">image</img> HTML code in Upload.jsp
    file .
    Now I am unable to find out the mistakes which is needed for displaying the picture in the Upload.jsp page..
    If any one can help with the proper jsp code to retrive and display the image ,please please help me !!!!!!!!!!!!!!!!!!!!!!!!!!

    dketcham wrote:
    cotton.m wrote:
    >
    2) I'm looking at how you called stuff, and you're trying to call the jsp file as an image? That jsp isn't the source of the image, just a page linking to an image. I think if you really want to do things that way you're going to need to just include that jsp within the jsp you're calling it from (or you can do it the easy way, and if you have the information to get the path of the image you want, you could simply call the image from the first jsp you posted)This is incorrect.
    There are two JSPs. The second when called will (if it worked) return the source of an image as stored in the database.even when called with <img src=xx.jsp>??
    Yes.
    If any of what I say next seems obvious or otherwise negative I apologize, just trying to explain and I don't know what you know vs what you don't.
    The link in the src is just a URL not a filetype. So just because it ends with JSP does not mean it has to return HTML. The content type is determined by the browser using the Content-Type header returned by the server in the HTTP response. In this case the header is set to be a jpeg so that's what the browser will attempt to interpret the content part of the response as.
    So in fact one is not limited to just HTML or images but whatever content type you would like to return (that the browser can understand anyway). This could be HTML or it could be an image of some type or it could be a PDF or it could be an Excel spreadsheet. All you have to do in the JSP is set the header appropriately and then send content that is actually in that format.
    This does not just apply to JSP by the way but all other web programming languages. You can do similar things to produce the same results in PHP, Perl, ASP etc.
    The only JSP/Servlet complication is whether or not doing this in a JSP is a "good" idea but I am not an expert enough at that to make a definitive statement. Mostly though JDBC in a JSP is a no-no.

  • Jquery or code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010

    Jquery or dynamic code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010.
    i have a dynamic SP gridview contains Previous and next
    buttons for paging.
    page doesn't contain Update panel.
    grdXRPSUsers.PagerSettings.Mode = PagerButtons.NextPrevious;
    grdXRPSUsers.PagerSettings.PreviousPageText = "< Previous Page";
    grdXRPSUsers.PagerSettings.NextPageText = "Next Page >";
    grdXRPSUsers.PagerSettings.FirstPageText = "First Page";
    grdXRPSUsers.PagerSettings.LastPageText = "Last Page";
    When i click on Next or Previous page in the gridview it will take more time and showing progress bar in th below.
    As per my client request, i need to change the
    progress bar to Loading image (Wheel at middle of the grid at fething time).
    How its possible either through jquery or Programming(code behind).
    Please help

    Hi,
    According to your description, my understanding is that  you want to add loading image when click the paging button to load the data.
    I suggest you can use Jquery BlockUI Plugin to show a block image when loding data in paging click event.
    Here is a similiar thread for your reference:
    How to display a loading image until a gridview is fully loaded
    More information:
    Jquery BlockUI Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Flip Image - HTML code for InDesign

    I am trying to create a flipping image in a digital edition and I found from the cookbook that there is an HTML code.
    The problem is that when I am clicking on the attachment file "Flip_HTML.zip", appears a white page with a message FILE NOT FOUND.
    Is there any other solution for that?
    Thanks
    Georgia

    Thanks Liam. I am a newbie at all of this and decided to use the widget contact form in muse which has an image verification module but when I test it I get a message that it has to be supported business catalyst captcha module so thought there was a html code for it.
    Thanks for coming back to me so quickly

Maybe you are looking for

  • Javabeans: Difficult NotSerializableException problem

    Hi. I have a pretty complex problem with a javabean application. My javabean application is bundled in a jar file. This application needs a Database to run. I had to bundle the Database driver INSIDE the jar file, along with the javabean application.

  • Java class in ASP page

    My company uses ASP pages calling java objects ( do not ask me why). Now we have an issue about passing the http requests into the java objects. You know in asp pages you can Server.createObject(MyClass), and then in MyClass.java, we uses com.ms.iis.

  • Problems with 1 way audio

    So on and off maybe once or twice a year we have had one way audio issues pop up where incoming callers couldn't hear us but we could hear them. Reboot of the docsis modem for our pri service provider has always resolved this in the past. It started

  • Naming files in Photoshop Touch

    How do i name files in touch and how do i save as or to a folder?

  • UDF for Checking the field value

    Hi I want to check the whether the fiels conatins any value or not in mapping ... if not i want to raise the exception using the UDF DO any one have sample code for writing the UDF SV