By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,788 Members | 1,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,788 IT Pros & Developers. It's quick & easy.

I need a border around entire page

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
>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

P: n/a
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

P: n/a
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.