some problem in blog

Discussion in 'HTML & Website Design' started by Seo110, Jun 2, 2010.

  1. #1
    I want the content on my blog to cover complete page from left to right, but its centralized , how to correct it ?
     
    Seo110, Jun 2, 2010 IP
  2. ARTidas

    ARTidas Active Member

    Messages:
    177
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Put it into a div HTML tag. And give CSS style for the div tag. Like:

    
    <div style="width: 100%;">
       your content
    </div>
    
    Code (markup):
    Cheers,
     
    ARTidas, Jun 2, 2010 IP
  3. Seo110

    Seo110 Peon

    Messages:
    197
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks
    i tried , but didn't worked.
     
    Seo110, Jun 2, 2010 IP
  4. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #4
    open a div above the place your content starts,

    and make the Codes for the div like this

    #somename {
    width:100%;
    }

    Make sure the name of the div made and inserted into the html are same :)

    Thanks
     
    extremephp, Jun 2, 2010 IP
  5. ARTidas

    ARTidas Active Member

    Messages:
    177
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #5
    @SEO110

    Can you give me a link for the problematic website?

    Cheers,
     
    ARTidas, Jun 2, 2010 IP
  6. shahilroyhere

    shahilroyhere Well-Known Member

    Messages:
    189
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #6
    This actually solves the problem, but this will never work as I think you are putting this to a inner container (div or table). You have to put this in the outer most container, in the <body> tag and also in all the containers inside it.
     
    shahilroyhere, Jun 3, 2010 IP