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 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2008
    Posts
    80
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Alignment problem

    Could someone please have a look at a webpage i have been working on and tell me why i can't get the second and third cells to align with each other please. Thanks once again.

    You can view the webpage HERE!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello again cadfan,
    To put elements side by side you will need to float one. You should have a look at this float tutorial http://www.w3schools.com/css/pr_class_float.asp

    Your html has a bit of divitis
    And there is no width. To float things you usually need a width.

    Also, have a look at this example - http://nopeople.com/CSS/equal_length_columns/index.html
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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