Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image positioning problem

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #37818
    vishaldb28
    Member

    Hi

    I am designing 1 simple CMS site in WordPress. I am facing a simple problem which can be easily solved by u all Designers.

    After replacing a TextLogo.gif image with Text generated by header.php here is the code


    style.css –

    .header{
    height: 101px;
    width: 950px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #a5a5a5;
    background-color: #FFFFFF;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    }
    .compname
    {
    width: 400px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: inherit;
    margin-left: 130px;
    margin-top: 0px;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    color:#FD1314;
    }

    .logo{
    /*background-image: url(images/sks_05.gif);*/
    background-repeat: no-repeat;
    float: left;
    height: 92px;
    width: 100px;
    margin-top: 5px;
    margin-left: 17px;
    }
    .logoright{
    float: right;
    height: 70px;
    width: 174px;
    margin-top: 0px;
    margin-right: 16px;
    background-repeat: no-repeat;
    padding-top: 0px;

    Plz refer this site you can see the Left logo and Right Logo and in Between I inserted Text by PHP Right Logo shifted Down and not going in its original place
    I am trying to fix this issues for last 2 days, finally decided to come in forum.

    Thanx to you all in advance.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.