Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no space on left side

Status
Not open for further replies.
Mar 16, 2006
66
CA
Hi !
A custmer has asked me to do this.
This is the fist time I am coming across this.
He wants the left side like this site.
Thanks
 
If you want no gap around the website, you would need to remove the padding and margin applied to your body. Try with
Code:
body {
  margin: 0;
  padding: 0;
}
If it is something else you want and you see on that page, just look at source and take it from the page.
 
Hi Vragabond!

I tried this and it didn't work.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body> {
margin: 0;
padding: 0;
}

</body>
</html>

Sorry for sounding like i don't know anything .
 
You need to put that in a style block:

Code:
<html>
<head>
   <title>Untitled Document</title>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <style type="text/css">
      body {
         margin: 0px;
         padding: 0px;
      }
   </style>
</head>

<body>
    Blah waffle drone...
</body>
</html>

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hi BillyRayPreachersSon !
That was really helpful.
Take care.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top