• Where do I Edit the Margin left element. The Iframes loads at the bottom of the page and far to the left, all you see is the very right of it. So i inspected it and this is what it returned. How do i change the -335px?

    <div id="TB_window" style="visibility: visible; width: 670px; height: 486px; margin-left: <strong>-335px;</strong> top: 48px; margin-top: 0px; "><div id="TB_title"><div id="TB_ajaxWindowTitle">Add Media</div><div id="TB_closeAjaxWindow"><a href="#" title="Close"><img src="https://mhg.lewiville.com/wp-includes/js/thickbox/tb-close.png"></a></div></div><iframe frameborder="0" hspace="0" src="https://mhg.lewiville.com/wp-admin/media-upload.php?post_id=739&" id="TB_iframeContent" name="TB_iframeContent110" onload="tb_showIframe()" style="width: 670px; height: 456px; ">This feature requires inline frames. You have iframes disabled or your browser does not support them.</iframe></div>

    element.style {
    visibility: visible;
    width: 670px;
    height: 486px;
    <strong>margin-left: -335px;</strong>
    top: 48px;
    margin-top: 0px;

    Thanks,

    Jim

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m sorry but it is beyond the scope of these forums to teach CSS. Try asking on a general CSS forum. I’d also recommend using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    How do i change the -335px?

    what happens if you just type in a new number? or do you mean you don’t know where to go to edit css?
    >Appearnce/Editor/style.css.

    Thread Starter culling

    (@culling)

    No I know how to change it, just been looking for the file for a while.

    Oh I see, it’s just an element style, not specific to the iframe. You’ll have to create it.

    depending on exactly how you’re using iframes, concider a potentially easier alternative:

    iframe

    It’s got some great optional params. And at least this way you know what you’re styling.

    Thread Starter culling

    (@culling)

    I fixed it. I could not find the file so I deleted the entire wp-admin folder and the entire wp-includes folder and every php file in the root directory except for wp-config.php. I acquired a fresh download of WordPress 3.3.1 copied the wp-config.php file from the server to the directory it was in and re-uploaded the whole directory structure overwriting the wp-content folder structure that was still there.

    This not only fixed the problem with the Image uploads that I was having it also fixed the problems with the visual editor not working.

    Okay, that’s great. But I thought you were trying to align an iframe?

    Thread Starter culling

    (@culling)

    No, I thought for quite awhile that the image uploads frame was not loading, however it was loading at the bottom of the page way to the left so very little of it was showing. I was having problems with the images upload, the post editor and the admin bar at the top of the page. I did not have any of these problems until the last update (which I completed automatically from the back end.) Now with the steps I followed earlier they are all fixed.

    Thread Starter culling

    (@culling)

    Also the Google libraries and the disabling all the plugins etc. did not work so that was my last resort. Now it works great thanks for all the help.

    ahh, well great to hear you resolved it. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image uploads’ is closed to new replies.