SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question layout problem help

    i am working on website and i have problem with its layout. i m trying to making it a liquid based layout, the header is fixed because its needs to be there but i can see the adsense on the right side of the header doesn't extent all the way to the corner to line up with links below it. always i noticed when i view the website is large screen or zoom out the page. the content part of the page stays fixed position, making the the layout broken, can anyone help me?
    All those who wander aren't lost.

  2. #2
    SitePoint Mentor bronze trophy
    John_Betong's Avatar
    Join Date
    Aug 2005
    Location
    City of Angels
    Posts
    1,902
    Mentioned
    74 Post(s)
    Tagged
    6 Thread(s)
    Validate your website here:

    http://validator.w3.org/check?uri=ht...00=1&verbose=1

    The "<body class="home blog">" does not immediately follow "</head>".

    I would also temporarily remove Adsense and any other Plugins until the layout is doing what you want it to do. Once fixed then gradually replace the removed items, test and continue.
    Learn how to be ready for The New Move to Discourse

    How to make Make Money Now with a *NEW* look

    Be sure to congratulate Wolfshade on earning Member of the Month for August 2014

  3. #3
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by John_Betong View Post
    Validate your website here:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.homeless-oftheworld.com%2F&charset=(detect+automatically)&doctype=Inline&group=0&No200=1&verbose=1

    The "<body class="home blog">" does not immediately follow "</head>".

    I would also temporarily remove Adsense and any other Plugins until the layout is doing what you want it to do. Once fixed then gradually replace the removed items, test and continue.
    do u mean the body tag doesn't open right after </head>, if thats the case. i needed the right sidebar to be out on the right side of the window. so someone told me to put it before starting of body tag.basically what i wanted is to have fuild layout which fills 100% of screen. major size left to content.
    All those who wander aren't lost.

  4. #4
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    i needed the right sidebar to be out on the right side of the window. so someone told me to put it before starting of body tag
    While that person may have meant that floats should come first in source, you don't ever want HTML for the web page outside the body! Everyone has to be in the body.

    All HTML pages need to be like this:
    <!doctype of some sort>
    <html with lang attribute>
    ....<head>
    with <title> and <meta> and <link> and <script> stuff
    ....</head>
    ...<body>
    everything on the web page has to be in here
    ...</body>
    </html>

    To get a sidebar floated, make sure it's before whatever the rest of the page is...
    <body> <-- don't float or play with the body
    ...<sidebar>...stuff...</sidebar> <--float it
    <div>..rest of page... </div><--main bulk of web page
    </body>


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
  •