• G’Day,
    I am intersted in putting a 234×60 ( half banner ) in the header, I would like it RIGHT aligned and evenly spaced in the 105 pixel height header and about 10 pixels from the right hand side. However, I do not want it to mess with the location of the header text.
    If someone can please let me know how to do this.. the code additions and changes. It would be greatly appreciated. Thanks in advance.
    You can view the upcoming blog here – https://www.gravityworks.us/a.wpblog/ ( please excuse the look as I am probably working on it. )
    Kind regards,
    Stephen

Viewing 15 replies - 16 through 30 (of 54 total)
  • Thread Starter gravity

    (@gravity)

    I made some changes to bring it back to normal where it works in all browsers.. Just so you know why it changed.,

    What top was going to do before you deleted it was to provide a container to float your image in and to do the adjustment necessary to cope with IE. Apparently you do not think you need it. Fine.

    Thread Starter gravity

    (@gravity)

    No, what I said was I did not understand what it was going to do, and that I reverted back to normal temporarily so we have a clean slate to work with.. rather then all these changes and I have no idea what was changed and was affected what.. I will put it back in 10 seconds if that is what you want.. not a problem..

    Thread Starter gravity

    (@gravity)

    OK… Back to where we were.. everything except the additional h1 tag in the css file is back to how it was. IE is still a problem.. If you check the CSS you will see I have done exactly what you asked.. within the index file. I am going to place a copy of the index.php in the index.txt file for you and we can go on with your suggestions.
    Kind regards,
    Stephen

    Thread Starter gravity

    (@gravity)

    What should the #top element have as parameters in the CSS file or does there not need to be any?
    Please advise..

    Ok. I am going to work up an implementation of this and show you. Wait a bit.

    Thread Starter gravity

    (@gravity)

    Lots of love going out to ya!… Thanks
    I am sure that I am not the only one whom would like to do this, so your efforts will be greatly appreciated by others, compounded by mine.

    This problem which is in fact extremely simple to solve in short order is being rendered almost impossible by the introduction of txt files which are completely unnecessary and by a back up which has crept in. The one which you say looks bad in IE at / a.wp.blog/ is very close to where you need to be but the css is scrambled. Still no top etc.

    Thread Starter gravity

    (@gravity)

    Please read above regarding the #top. I am going to paste over the new index.php with the new code for the banner. As you will see there in fact is a TOP. However, I am not sure if you need a #Top in the css file and if so then what should the parameters be?
    I want to get on the same level here.. cause I really do not understand what you are saying above… but I hope my response is proper and not idiotic.
    Kind regards,
    Stephen

    Thread Starter gravity

    (@gravity)

    The wp-backup stuff I keep showing you is what I actually have in the a.wpblog folder. I am just showing it to you in text form so you can read it.
    The CSS file is the actual file that is in use.
    When you ask me to do something I make the change then I copy what is in the a.wpblog ( index.php ) to the wp-backup/index.txt file so you can read it.
    Lots of redundancy there, but you get the point.

    Yes but we can all view the source of the index anyway. You do understand that?

    Thread Starter gravity

    (@gravity)

    Yes, but you will no longer see the code in its original form. Close to it but not exactly.. I just want to make sure you are seeing everything so that there is nothing missed.
    Kind regards,
    Stephen

    Demo up at my blog
    And that is IT ??

    Thread Starter gravity

    (@gravity)

    Well,
    I will look at it.. but it would have helped more if you would have used the same css terms.. Where is header? what does that correspond too? At this point both the index.php are a mess and I have no idea what to change anymore.. but thanks.. I will figure it out..
    It worked for you cause you made up your stuff.. the background is a color not an image.. etc… my variables are not even the same as yours.. clearer? adspace??
    Thanks anyhow..

    gravity, I hate to say it, but you’re really just missing it here. What he presented was a perfect sample.
    header is the class bound to h1. he could have done
    <h1 class="header">
    … just to be redundant.
    adbanner, adspace, and clearer are all pieces to help it work ‘right’ out the door. All you are replacing is the very beginning section of the page… guess I don’t see the complexity, if anything it’s nearly a copy-and-paste he presented.
    adbanner wrappers the area for the banner. adspace is used to get the margin you wanted. the normal h1 comes after what is potentially your script within the “advert stuff” block. clearer makes sure that the floating ad block and header are ‘done’ before the ‘top’ div is finished — it’ll auto-extend to fit bigger header/advert items.
    d

Viewing 15 replies - 16 through 30 (of 54 total)
  • The topic ‘Banner Advertisment Code Request’ is closed to new replies.