Euro 2024 sweepstakes!
Prizes to be won this summer! Click here to take part, and find yourself a team to cheer on!
Show your pride!
Rainbows galore in our forum shop, including snazzy colours for your username and even a rainbow-coloured... football?
Join Habbox!
Be part of the Habbox family - there are so many roles to pick from! Click here to get your application rolling


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default one of my divs wont line up

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Jamies site</title>
    <style type="text/css">
    <!--
    body {
        background-color: #b9e3a9;
        margin: 0px;
         }
         /*main body properties above*/
    .maindiv {
        width: 666px;
        height: 94px;
        margin: 0 auto;
    }
    .actualbanner {
    background-color: #205324;
    width: 656px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin: 0 auto;
    }
    .bannerdiv {
        width: 666px;
        height: auto;
        margin: 0 auto;
    }
    .pagesplit {
        width: 666px;
        height: 5px;
        margin: 0 auto;
    }
    .navigator {
        width: 666px;
        height: 32px;
        margin: 0 auto;
    }
    .actualnavigator {
    background-color: #205324;
    width: 656px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin: 0 auto;
    height: 28px;
    text-align:center;
    }
    .undernavdivthing {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin-left: 5px;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    float: left;
    }
    .undernavdivthing2 {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    margin: 0 auto;
    }
    .undernavdivthing3 {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin-left: 5px;
    margin-right: 5px;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    float: right; 
    }
    .undernavigator {
        width: 666px;
        height: 184px;
        margin: 0 auto;
    }
    .content {
        width: 666px;
        height: auto;
        margin: 0 auto;
    }
    #container { width: auto; margin: auto; }
    -->
    </style>
    </head>
    
    <body>
    
    <div class="maindiv">Content for  class "maindiv" Goes Here</div>
    <div class="pagesplit"></div>
    <div class="bannerdiv">
      <div class="actualbanner">This is where the banner goes upto 656pixels wide and unlimited height</div>
    </div>
    <div class="pagesplit"></div>
    <div class="navigator">
      <div class="actualnavigator">Content for  class "actualnavigator" Goes Here</div>
    </div>
    <div class="pagesplit"></div>
    <div class="undernavigator"><div id="container">
    <div class="undernavdivthing">lalal<br />lala</div>
    <div class="undernavdivthing2">fgdfddfdfd</div><div class="undernavdivthing3">alalala<br />
    slls</div>
    
    </div></div>
    <div class="pagesplit"></div>
    <div class="content">Content for  class "content" Goes Here</div>
    </body>
    </html>
    thats my page the right div named undernavdivething3 wont line up properly on the same line

  2. #2
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

    got a online preview?

  3. #3
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    nope =[ but thats the code??

  4. #4
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    UPDATE:
    now tried using <nobr></nobr> tags but still wont !!!

  5. #5
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    online preview? Lol

  6. #6
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    cant u just see in dreamweaver by copying and pasting or do you really want me to upload because jamie cant be bothered :rolleyes:

  7. #7
    Join Date
    Aug 2007
    Location
    Scotland
    Posts
    1,708
    Tokens
    0

    Latest Awards:

    Default

    http://lexet.net/

    I uploaded there just contact me when you want removed

  8. #8
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    not got dreamweaver soz... and i am a visual person

  9. #9
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    Try this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Jamies site</title>
    <style type="text/css">
    <!--
    body {
    background-color: #b9e3a9;
    margin: 0px;
    }
    /*main body properties above*/
    .maindiv {
    width: 666px;
    height: 94px;
    margin: 0 auto;
    }
    .actualbanner {
    background-color: #205324;
    width: 656px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin: 0 auto;
    }
    .bannerdiv {
    width: 666px;
    height: auto;
    margin: 0 auto;
    }
    .pagesplit {
    width: 666px;
    height: 5px;
    margin: 0 auto;
    }
    .navigator {
    width: 666px;
    height: 32px;
    margin: 0 auto;
    }
    .actualnavigator {
    background-color: #205324;
    width: 656px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin: 0 auto;
    height: 28px;
    text-align:center;
    }
    .undernavdivthing {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin-left: 5px;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    float: left;
    }
    .undernavdivthing2 {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    margin: 0 auto;
    }
    .undernavdivthing3 {
    width: 202px;
    border: 2px;
    border-collapse: collapse;
    border-style:solid;
    border-color: #9df685;
    margin-left: 5px;
    margin-right: 5px;
    height: auto;
    text-align:center;
    background-image:url(radio/greengradient.PNG);
    background-repeat:repeat-x;
    background-color: #327b37;
    float: right;
    }
    .undernavigator {
    width: 666px;
    height: 184px;
    margin: 0 auto;
    }
    .content {
    width: 666px;
    height: auto;
    margin: 0 auto;
    }
    #container { width: auto; margin: auto; }
    -->
    </style>
    </head>

    <body>

    <div class="maindiv">Content for class "maindiv" Goes Here</div>
    <div class="pagesplit"></div>
    <div class="bannerdiv">
    <div class="actualbanner">This is where the banner goes upto 656pixels wide and unlimited height</div>
    </div>
    <div class="pagesplit"></div>
    <div class="navigator">
    <div class="actualnavigator">Content for class "actualnavigator" Goes Here</div>
    </div>
    <div class="pagesplit"></div>
    <div class="undernavigator"><div class="undernavdivthing3">alalala<br />
    slls</div><div id="container">
    <div class="undernavdivthing">lalal<br />lala</div>
    <div class="undernavdivthing2">fgdfddfdfd</div>

    </div></div>
    <div class="pagesplit"></div>
    <div class="content">Content for class "content" Goes Here</div>
    </body>
    </html>

  10. #10
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    Thank you scott i'll rep you when possible.
    EDIT: Adam your a star cheers pal. +rep when possible.
    Scott remove? thanks

Page 1 of 2 12 LastLast

Posting Permissions

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