469,933 Members | 2,046 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,933 developers. It's quick & easy.

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
Jan 22 '07 #1
3 50624
>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
Jan 22 '07 #2
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.nowherewrote:
Does anyone know the csc command to put a black border around your
whole page?
Any help would be great.
Thanks!
JohnSorry I meant to say css
Jan 22 '07 #3
jim
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>

Jan 22 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Robert P. Stearns | last post: by
10 posts views Thread by Vigil | last post: by
23 posts views Thread by Bob Bedford | last post: by
3 posts views Thread by David Stone | last post: by
2 posts views Thread by sorobor | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.