This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > January 2007 > I need a border around entire page
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
I need a border around entire page
|
|
|
| Does anyone know the csc command to put a black border around your
whole page?
Any help would be great.
Thanks!
John
| |
|
|
>Does anyone know the csc command to put a black border around your
>whole page?
>
>
>Any help would be great.
>
>
>Thanks!
>
>
>John
Sorry I meant to say css
| |
| Joel Byrd 2007-01-27, 11:02 pm |
| to put a 2px black border around the entire webpage:
body {
margin: 0;
padding: 0;
border: 2px solid #000000;
}
On Jan 21, 8:05 pm, John <John_nos...@nnnnnnnnn.nowhere> wrote:[color=darkred]
>
>
>
| |
|
| John,
This should do it; works for most all border styles (***) in both msie
and firefox, although
the width and height settings may need a bit of adjustment for firefox
(msie appears to ignore them)
(***) Change 'ridge' to groove, dashed, dotted, inset, outset, or solid
----------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<style type="text/css">
html {
background-color:yellow;
border:9px black ridge;
margin:0px; padding:0px; width:98%; height:96%;
}
</style>
</head>
<body >
</body>
</html>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|