navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Deb - body with borders?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Deb - body with borders?
Page: [1]
 
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
Deb - body with borders? - 6/11/2004 16:32:44   
Deb -

I won't have a chance to test this until Sunday or Monday, thought I'd see if you've ever tried it...

Can I assign a margin of say... 4 pixels to the BODY, and also assign a border of 1px solid #c0c0c0... to create a thin grey line 4px from the edge of the screen... around the entire page..?

(This popped into my head as a solution to my border problem, recent post here:
http://www.frontpagewebmaster.com/m-205574/tm.htm )


:)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Deb - body with borders? - 6/11/2004 16:47:58   
nevermind....

I was able to test, and it doesn't appear to work... :p

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to bobby)
d a v e

 

Posts: 4167
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: Deb - body with borders? - 6/11/2004 16:53:09   
you can shove everything in a div and put a border on it, then put the margin on the body?!

_____________________________

David Prescott
Gekko web design

(in reply to bobby)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Deb - body with borders? - 6/11/2004 17:10:45   
that's not working for some reason... that's why I was investigating an alternative...

See the link above for more on my CSS disability.. :)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to d a v e)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Deb - body with borders? - 6/11/2004 18:58:32   
(Sorry I didn't see your post till now, I was offline most of the day:))
Have you tried looking in different browsers with this?

I'm going to play around with this to see if I can get it to work over here. Have you tried clearing your cache? I'm sure you validated by now.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to bobby)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Deb - body with borders? - 6/11/2004 19:05:52   
Bobby, I just did what you were suggesting on my pc, and it worked!

pasting in code just as I have it for you.
<!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" xml:lang="en" lang="en">
<head>
<title>Bobby</title>
<meta name="language" content="en" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style type="text/css">
body {
margin: 4px;
border: 1px solid #c0c0c0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<p>testing testing testing</p>


I'm not sure if this is what you are after,I hope I read your question correctly.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to c1sissy)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Deb - body with borders? - 6/21/2004 23:16:05   
Deb -

Thanks, that's almost exactly what I tried and it didn't work...

I think I'm gonna have to start over on the CSS... I've done something in it that isn't working properly.

I'll post back and let you know. I should have a chance to work on this again later in the week.

:)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Deb - body with borders? - 6/22/2004 8:55:50   
Let me know how it works out as I did it on my machine and got a perfect border!

Also, just make sure that you have all t's crossed and i's dotted. Just one silly missing thing messes it all up.

If you copy and paste that it should work. Do a test one off the page that you are working on. I'll be anxious to hear how it works for you.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to bobby)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Deb - body with borders?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts