Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2010
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts

    CSS Float problems

    UPDATE I have a new problem; My image doesn't display if I don't put position: absolute and I don't want to use that;

    Without position: absolute


    With position: absolute


    (red for demo purposes)
    Last edited by TomBower; 08-30-2010 at 05:07 PM.

  • #2
    met
    met is offline
    Regular Coder
    Join Date
    Oct 2009
    Location
    United Kingdom
    Posts
    728
    Thanks
    4
    Thanked 119 Times in 119 Posts
    logo=218+26=244px
    about=372+375=747px

    244px+747px=991px

    how wide is the containing div?

  • #3
    New Coder
    Join Date
    Feb 2010
    Posts
    81
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Code:
    #header {
     width: 918px;
     height: 97px;
     margin: 0;
     padding: 0;
    }
    There's my problem :P But now I have a new problem; My image doesn't display if I don't put position: absolute and I don't want to use that;

    Without position: absolute


    With position: absolute


    (red for demo purposes)
    Last edited by TomBower; 08-30-2010 at 05:02 PM.

  • #4
    met
    met is offline
    Regular Coder
    Join Date
    Oct 2009
    Location
    United Kingdom
    Posts
    728
    Thanks
    4
    Thanked 119 Times in 119 Posts
    screenshots are useless really, a live link is much easier to work with if possible ( feel free to PM if you dont want to post it )

    ~i lie, sec need to rethink
    Last edited by met; 08-31-2010 at 09:21 AM.


  •  

    Posting Permissions

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