CSS to move division from center.

Hello all,
i need a bit of help with some CSS code. I am creating a
webpage where the background graphic is a television and the
content sits on the screen. My screen is not exactly centered on
the page, so the interior content div is about 30 pixels off. Is
there a positioning element where i can move the content div about
30 pixels to the left of center? I realize i can just apply the
distance from the left edge, however this breaks down on a screen
resolution of 800x600 for example. Can anyone assist?
I have basically put the background image in a wrapper div
and the content inside it in a structure div tag.
Thanks.

Show us the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"fbcojman" <[email protected]> wrote in
message
news:findb1$d0b$[email protected]..
> Hello all,
>
> i need a bit of help with some CSS code. I am creating a
webpage where
> the
> background graphic is a television and the content sits
on the screen. My
> screen is not exactly centered on the page, so the
interior content div is
> about 30 pixels off. Is there a positioning element
where i can move the
> content div about 30 pixels to the left of center? I
realize i can just
> apply
> the distance from the left edge, however this breaks
down on a screen
> resolution of 800x600 for example. Can anyone assist?
>
> I have basically put the background image in a wrapper
div and the content
> inside it in a structure div tag.
>
> Thanks.
>

Similar Messages

  • How do i Pate frames from one movie to the center of another? please help?!

    what i am trying to do is, put a flash frame by frame movie into my flash web site. So i go to the frame by frame movie and hit Edit- Time line - Select all frames. i then hit Edit- Time line - Copy frames. i switch over to my web site, Create a new layer select the layer and hit Edit - Time line - Paste Frames. and the frames i copied are pasted into order and all my symbols are brought into my library. The problem is than when it is pasted its pasted in the upper left hand corner of the page on top of all my other stuff when i select the the frames of the frame by frame movie and move them to the center of the stage. It seems to work fine but when i test my movie the first frame will be fine and than some stuff goes back to the original pasted spot and some stuff will stay where i moved it to. my question is. How do you paste the frame by frame movie to the center of the stage so it does not have to be moved at all?
    or else how do i move all frames and objects to where i want them and not just the first frame?

    when you copy and paste frames, object positions will be maintained from the copied to the pasted frames.
    if you want to edit multiple frames simultaneously, click edit multiple frames (an icon in the timeline panel just below frame 22, if you're using normal sized frames).

  • Mb1b movement 453 - profit center not from material but from sales order

    Dear All,
    we have the problem that by return process from sales order stock to free stock (453 movement) we would like to have the original Profit center from sales order, but as SAP standard it moves PC from material master.
    we have implemented already oss 978159 sowie 1038490, but did not help.
    Since days we try to find an uxer exit in MM or CO!? where we could write in the correct profit center. But unfortunately PC from material master pops up at the end of the process, and the system overwrites it again and again.
    Had sy of you similair problem? can you please help with an user exit?
    Thanks,
    BB

    Hi
    I think this behaviour is correct.. Since you are moving from Sales order stock to Unrestricted stock, the PC from mat master would prevail...
    As far as I know, this behaviour is correct
    Regards
    Ajay M

  • Just got a new iPad. How do I move my Game Center games?  I keep getting another family member's account because we share our Apple ID.

    Hi. I just got a new iPad. How to I move my Game Center games from my old iPod?  My family uses one Apple ID, and I keep getting another
    Family member's Game Center on my iPad!

    Okay so I figured out the solution by reading other discussions. Basically you need to delete on your phone the icloud account and start up a new icloud account with a new email address. This is nice because you can still share apps without getting everyone elses things. The only thing that didn't get worked out was the notes...
    On your phone go to settings and then icloud, scroll down and delete the account. Then just make a new icloud under a new email.

  • Unable to import movie files from iphoto '08 into imovie HD

    I have recently bought a 2008 macbook (2.2 GHz) and have recently downloaded imovie HD in addition to owning iLife '08 due to its extra capabilities. I have found that I am unable to import any of my movie files from my iphoto library folder as it seems to need to open the actual iphoto application before the files can be accessed. In addition, when not using any specific program it would be nice to be able to access my photo/video files within the iphoto folder without iphoto automatically opening as the default viewer.
    Any ideas??!! Thanks.

    ahostmadsen wrote:
    .. and I import AVI video clips directly without converting to .dv, without problems.
    lucky you.. .avi is just a container, no 'format'/codec .. I can show you dozends of .avis, which will NOT import into iMHD6, due to being playback-codecs, not convertable by the underlying Quicktime engine into separte, editable audio+video streams ..
    .. If you convert to .dv, the size just blows up.
    dv is 13GB/h and a codec meant for editing; e.g. it stores every frame (video=30 frams/sec) of a recording, as mpegs usually doesn't do so.. = your Mac has to estimate content, when converting and 'recovering' the content = lossy process.
    iMHD6 is a dv-editor; the mpeg4 feature is only a toy, to spice up iSight recordings.. for sure, the QTengine can convert a lot, but too much conversion (from one lossy codec, e.g. divx, into another, e.g. mp4) means a (dramatic) loss of pic quality..
    my 5€ cents ..

  • Firefox crashes as soon as I move away from my homepage.

    Firefox crashes as soon as I move away from my homepage. This start right after I tried to load the 3.6.8 update
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; AskTB5.8)

    Hi ..
    Troubleshooting steps here >  iOS: Troubleshooting Wi-Fi networks and connections

  • Can i move songs from my iPod to my new matchbook air?

    I bought a brand new mackbook air and i had trouble on the migration assisstant because the verification window wouldnt show up on my old dell. I would now like to know if i am able to move songs from my ipod to my new mac without having to use migration assisstant. Please help me! Thanks!

    one way to can simply do this (if dragging and dropping won't work), is to simply put the songs that you would like in the playlist into the On-The-Go playlist in your iPod. Once you have put these songs into the On-The-Go folder (by highlighting the song and holding down the center button), simply plug the ipod back into your computer, and rename the folder with the songs in it. Hope this helps.

  • How to move cursor from one textfield to another textfield byusing enterkey

    hii all,
    I have a problem in java script.
    To move cursor from one textbox to another text box ,I have take the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,firest i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to secon textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    try the following code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str)     {     
              if(event.keyCode==13)          {
                   if(str == 4)     {
                        formHeader.box[0].focus();
                   else     {
                        formHeader.box[parseInt(str)+1].focus();
                   return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    ----------------------------------------------

  • No Sound From Center Speaker [Win 7]

    $No Sound From Center Speaker [Win 7]? Hi,
    I downloaded the Darkest of Days demo and noticed that the speech volume was very low if i positioned it center of the camera. But if i positioned it on the left or right of the camera, the speech volume would increase. I found it strange.
    I closed the game. And ran my speakers through window's speaker test. Every speaker responded with a sound. Unconvinced, i opened a few songs. That's when i noticed the center speaker wasn't producing a sound. Even on 5. content (movies & music) the center speaker wouldn't work.
    **bleep**, no wonder those AC3 movies had low speech and i had to manually boost the speech volume. I noticed the low sound in games before too...but i attributed it to the 5. surround thing. Guess i was wrong!
    System Rig:
    Intel Core 2 Duo E6400 @3.2Ghz
    Gigabyte P965-DS3
    [color="DarkOrange">ATi HD4850
    Twinmos 3xGB DDR2 800Mhz + GB OCZ 800 MHz
    Zalman 9700
    Creative Audigy2 ZS
    Creative Fatalty Gaming Headset
    250GB Seagate SATA-II 7200.0 8MB
    Enermax 535W PSU
    Logitech X-540 5. Speakers.

    Hi
    Can you clarify that are getting the voice when you play the DVDs/CDs?If you are not getting the voice and you are getting the sounds only? Then there could be some connectivity issue for Center Speaker.Pl check the connections .. Regds Balu

  • Move Files from one document set to another document set using workflow

    Hi All,
    Env : SP 2013 Server - SPD 2013.
    I'm trying to make a SPD Workflow that must copy a  files from one Document Set to another Document set in the same library other document library  
    Does Someone already get success for Copy  files from one Document Set to another Document set?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you wanted to move Files from one document set to another document set using workflow.
    I recommend to use the custom workflow activity  Copy List Item Extended Activityto
    copy files to another document set.
    You can do this with codeless SharePoint Designer workflows as long as you can install the
    Codeplex Custom SharePoint Designer Workflow Activities. 
    These activities are also built-in to SPD2013. However, you can only use the custom activities in the SharePoint 2010 Platform.
    To install the custom activities, please follow the steps as below:
    Download the solution file form
    Useful Sharepoint Designer Custom Workflow Activities
    Copy the wps file to the Disk C.
    Open the SharePoint 2013 Management Shell.
    Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
    Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
    Open the SharePoint designer, create SharePoint 2010      Platform workflow, add action from Custom Actions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to move focus from one JTree node to another one and then back again?

    Hi all!
    Say I have a very simple JTree
    package main;
    import java.awt.BorderLayout;
    import java.awt.Container;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextField;
    import javax.swing.JTree;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.DefaultMutableTreeNode;
    public class SelectableTree extends JFrame implements TreeSelectionListener {
        public static void main(String[] args) {
            new SelectableTree();
        private JTree tree;
        private JTextField currentSelectionField;
        public SelectableTree() {
            super("JTree Selections");
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent event) {
                    System.exit(0);
            Container content = getContentPane();
            DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
            DefaultMutableTreeNode child;
            DefaultMutableTreeNode grandChild;
            for (int childIndex = 1; childIndex < 4; childIndex++) {
                child = new DefaultMutableTreeNode("Child " + childIndex);
                root.add(child);
                for (int grandChildIndex = 1; grandChildIndex < 4; grandChildIndex++) {
                    grandChild = new DefaultMutableTreeNode("Grandchild "
                            + childIndex + "." + grandChildIndex);
                    child.add(grandChild);
            tree = new JTree(root);
            tree.addTreeSelectionListener(this);
            content.add(new JScrollPane(tree), BorderLayout.CENTER);
            currentSelectionField = new JTextField("Current Selection: NONE");
            content.add(currentSelectionField, BorderLayout.SOUTH);
            setSize(250, 275);
            setVisible(true);
        public void valueChanged(TreeSelectionEvent event) {
            currentSelectionField.setText("Current Selection: "
                    + tree.getLastSelectedPathComponent().toString());
    }All I need is to move focus from currently selected node, to some other node (does not matter which one), then to "sleep" for a second and finally move it back to return selection to the previously selected node. The only question is how do I do this?

    Use a Seperate Thread to do it:
    Runnable r = new Runnable() {
        public void run() {
                   int k=tree.getSelectionRows()[0];
                   DefaultMutableTreeNode node = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                                if(node.getNextSibling()!=null)
                                     tree.setSelectionRow(k+1);
                                else
                                     tree.setSelectionRow(k-1);
                                sleepe(k);
    public void sleepe(int i){
                         try{
                                Thread.sleep(1000);
                                     }catch(Exception e){
                                         e.printStackTrace();
                                  tree.setSelectionRow(i);
        }Then start this thread in a mouse click event(or any other similar),but not in TableSelectionListener because >>if the current selected row is 1 then it will execute the valueChanged method of TableSe..li. and we set the selected row to 2 then again it will execute the valueChanged method of TableSe..li.It will repeat till something,or in error.
    tree.addMouseListener( new MouseListener(){
    public void mouseClicked(MouseEvent e) {
                       new Thread(r).start();
    public  void mouseEntered(MouseEvent e) {
    public  void mouseExited(MouseEvent e) {
    public  void mousePressed(MouseEvent e)     {
    public  void mouseReleased(MouseEvent e) {
      });Note:it worked perfectly for me. So add all the above in the right place and import necessary.It will execute perfectly.

  • When CSS wholly remove connection from internal cache

    Hi,
    I use RPC over TCP between client and server through CSS 11500.
    I have a question about when CSS remove this RPC connection from internal cache/connection table ?
    and does CSS generate and send back RST if same connection come in CSS after removing ?
    I do not change flow-timeout-multiplier parameter, so RPC's timeout value (Inactivity Timeout) is 16 sec.
    I understand CSS marked the connection as idle after 16 sec elapsed in this case.
    And, however CSS does not delete it from internal cache/connection table.
    Does it mean that this idle connection went in a list of resource that can be reused when same connection
    come in ?
    That is, the connection which marked as idle does not need 3 way handshake again to get create connection/flow
    entry because connection information remains on CSS in spite of the state is idle.
    Is it correct ?
    So when idle connection is wholly removed from internal cache/connection table ?
    That is, after how much time CSS wholly remove it from internal cache/connection table ?
    And after CSS wholly remove it, does CSS generate and send back RST when same connection without
    3 way handshake come in CSS ?
    Your information would be greatly appreciated.
    Best Regards,

    Your understand is correct.
    Once a flow is marked idle, it is moved to a list of resources that can be reused.
    While sitting in this list, the flow information can still be used to switch traffic belonging to this session.
    The flow data will move inside the list and then will be deleted to be used for a new connection.
    Depending on the number of connection/sec that you get, the flow data will move quickly or not inside the list. It is impossible to predict when it will be deleted.
    Once deleted, if data comes in for the old session, the CSS has no information about the flow and it should send a RESET back to the source.
    Gilles.

  • How can i move icons from one screen to the other?

    How do i move icons from one page to another?

    Tap and hold any icon for a couple of seconds. They'll all start to wobble. Tap and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
    You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other?
    (preferably without iCloud)

    Backup your iTunes library to an external drive and onto the other computer
    http://support.apple.com/kb/ht1751

  • Can I move podcast from my account to other's?

    can I move podcast from my account to other's?
    i.e. may it have 2 owners?

    You're talking about an episode you've downloaded in someone else's podcast, and moving it to another user account on your Mac? You could simply subscribe to the podcast in the other account and download it again, but if you want to save the download time just drag the episode(s) to the Desktop, then place them in the Users/shared folder, then open the other user account and drag them from there to iTunes.
    If this isn't what you are trying to do please specify exactly what it is.

Maybe you are looking for

  • Is there a way to generate the growth trend report in EM or using SQL

    Hi, I want to have some sort of tool to generate the growth trend of the database. I have tried col TIMEPOINT format a30 select * from table(dbms_space.OBJECT_GROWTH_TREND ('&Schema','&TABLE_NAME','TABLE')); but above is only for one table and it do

  • Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Hi All,           I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.           Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use           Q

  • Querying data from two dimensional schemas

    Hi, I have modified 2 star models on Physical layer, then I add three tables from these models into BMM Layer: Fact A, Fact B and Dim C. Dim C is joined logically (using complex join) with Fact A and Fact B. In Answers I make a request with fields fr

  • Tables and webservices

    I have created a webdynpro application based on a webservice. This webservice creates a quotation in a legacy system. The quotation/webservices has one header line and several item lines. I imported the WS in the NW Dev Studio 2.0.9 and have the stru

  • Automatic Batch Number Creation

    Dear All,   is it possible to create automatic batch number creation through DI API..? tell the me the solution to create Automatic batch number.. Thanks in Advance