SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making <div> do what I want!!

    Hello again, itís been a while since I have posted here. I have asked this question before regarding another issue on the site that I am developing but the reply that I got doesnít work in this case.

    http://web.ukonline.co.uk/graham.marsh1/pricing.html

    The above address is where the problem occurs, the orange and pink boxes are roughly positioned correctly. What I am trying to do is get the orange one to come up a little and overlap the lower right hand corner of the pink one. What I want to know is how to get it to do the overlap thing.

    Lastly in a previous reply I was forwarded to a link about IE box model error, I read the item and still do not understand it. Any help here as I am sure that once I get these two divs to float correctly I will have the problem
    Any help would be greatly appreciated.

    Regards
    Morn

  2. #2
    SitePoint Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this:

    #openinghours{
    width:50%;
    float:right;
    background-color: orange;
    margin-right:50px;
    position:relative;
    top:-20px;

    }

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worked a treat, thanks!!

    Only problem is, now i am not so sure if I want to do it that way.

    Thanks again

    Regards
    Morn


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •