+ Post New Thread
Results 1 to 3 of 3
Web Development Thread, Border round my main <DIV> in Coding and Web Development; Its about 8px in from the very edge of the browser window if I use top:-8px left:-8px; it fits correctly ...
  1. #1
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,218
    Thank Post
    230
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    31

    Border round my main <DIV>

    Its about 8px in from the very edge of the browser window if I use top:-8px left:-8px; it fits correctly any thoughts on what to check there is no CSS for the body?



    Wes

  2. #2
    Mcom's Avatar
    Join Date
    Sep 2012
    Posts
    42
    Thank Post
    33
    Thanked 0 Times in 0 Posts
    Rep Power
    23
    I know this is old but...

    body
    {
    margin:0px;
    }

  3. #3

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,771
    Thank Post
    1,511
    Thanked 1,294 Times in 884 Posts
    Rep Power
    813
    You'll want to check there margin, padding and border are all 0.

    Easiest way to find these things is load it up in chrome, hit F12 and use the dev tools. Highlight the body (or div or whatever else you want to study), then look down the right hand side of the tools, it'll show you all the measurements.



SHARE:
+ Post New Thread

Similar Threads

  1. [iPad] Sorry - trying to get my head round VPP
    By Simcfc73 in forum Netbooks, PDA and Phones
    Replies: 5
    Last Post: 17th July 2013, 08:29 PM
  2. Quite possibly my best round ever on BC2
    By featured_spectre in forum Gaming
    Replies: 2
    Last Post: 19th October 2011, 01:12 PM
  3. Border around main body
    By AJT1 in forum EduGeek Joomla 1.5 Package
    Replies: 1
    Last Post: 12th October 2009, 11:53 PM
  4. [Video] Why don't I get buskers like this round my way??
    By mattx in forum Jokes/Interweb Things
    Replies: 1
    Last Post: 23rd April 2009, 11:47 AM
  5. My Budget this year.
    By ninjabeaver in forum Budgets and Expenditure
    Replies: 48
    Last Post: 28th June 2006, 02:41 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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