dcsimg
www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: Always centered

  1. #16
    Join Date
    Feb 2009
    Posts
    47
    Oh ok,

    I'll try with the detection.
    But where should I place it?

    In the Html under the body tag or somewhere in the css?

    And about the errors, those images doesn't need to be shown on the website, so it's fine. Unless of course if that has anything to do with it not beeing able to be centered.
    But I don't think that why.

  2. #17
    Join Date
    Feb 2009
    Posts
    47
    ok got it to work afterall

    It says the width is 1600, so it should center according to that right?

  3. #18
    Join Date
    Feb 2009
    Posts
    47
    Found the problem.

    I had to put a width and marging auto on my main.
    like this:

    HTML Code:
    #main{
    	margin:0 auto;
    	width:1024px;
    Thank's alot for all your help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles