How to put a border???

liunx

Guest
Look what I want, I want a border to the whole layout of the site, just a 1px border with this color #404CD9.<br />
<br />
I have tried, put a border to the main table, put an iframe and then inside, the whole site... putting lines beside, but nothing seems to work well.. and I want the thing perfect, because I'm making this for my school..<br />
<br />
look the site <!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db27.htm">http://www.geocities.com/eminemsluckygrl/db27.htm</a><!-- m --><br />
<br />
look what happens with the border<br />
<!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db22.htm">http://www.geocities.com/eminemsluckygrl/db22.htm</a><!-- m --><br />
<br />
how can I put a border? :( :(<br />
<br />
dont mind the site in spanish :P<!--content-->Does the line have to be dashed? If not put the whole site in one table with cellpadding = "1" cellspacing = "0" and then set the background of that table to the color you want. You will then have a solid 1 pixel wide border around the whole site.<!--content-->put this in your body somewhere.<br />
<script language="JavaScript1.2"><br />
if (document.all)<br />
document.body.style.cssText="border:1 dashed #404CD9"<br />
</script><!--content-->thanx guys for the support.<br />
<br />
ianmh>> I can't use cellpadding = "1" because it damages the layout of the site. <br />
<br />
transmothra >> the code is good, but I want the border around the main table, not around the site. how do i do that? without actually damaging the whole layout<!--content-->ok a little lost here. you don't want the border around the site bu taround the main table. the main table is the site so what is the difference?<br />
<br />
also the one with the border is beter looking. also noticed a few things.<br />
<br />
<body onLoad="MM_preloadImages('1b.gif','../../../../../2b.gif',<br />
<br />
geocities folder structor isn't that big for users. you have way to many ../ in there.<br />
<br />
look like you already have a border aorund the table<br />
<br />
<table width="729" border="0" style="border: dotted 1 #404C9D" cellpadding="0" cellspacing="0"><!--content-->ok scoutt<br />
<br />
1st) I meant, i want the border around the images.. (?) I hope that explains :confused: like what it looks in this site <!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db22.htm">http://www.geocities.com/eminemsluckygrl/db22.htm</a><!-- m --><br />
<br />
and the code that transmothra gave me involved the whole window.. lol <br />
<br />
2nd) thats not a folder, those are rollovers, and those are in the main folder in geocities, I didnt come out with that code, Dreamweaver MX did. <br />
<br />
3rd) Thanx for the code scoutt, althought I have tried it and the site looks like this <br />
<br />
<!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db22.htm">http://www.geocities.com/eminemsluckygrl/db22.htm</a><!-- m --><br />
<br />
Thanx for your help you all! :D I'm gonna try this again, tho<!--content-->Originally posted by ThinkYoung <br />
ok scoutt<br />
<br />
1st) I meant, i want the border around the images.. (?) I hope that explains :confused: like what it looks in this site <!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db22.htm">http://www.geocities.com/eminemsluckygrl/db22.htm</a><!-- m --><br />
<br />
and the code that transmothra gave me involved the whole window.. lol <br />
well, if you wan t aboder around the images than you can use border="1" in the images tag<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"file.jpg" border="1"><br />
<br />
other than that you have to use a table and that wil be what we have told you.<br />
<br />
2nd) thats not a folder, those are rollovers, and those are in the main folder in geocities, I didnt come out with that code, Dreamweaver MX did. <br />
yes those are folders. DW was going off your folder structor on your hard drive. I know they are roll-overs but all that does it tell the system where the images are and that one is way to far down the tree and it will error out.<br />
<br />
<br />
3rd) Thanx for the code scoutt, althought I have tried it and the site looks like this <br />
<br />
<!-- m --><a class="postlink" href="http://www.geocities.com/eminemsluckygrl/db22.htm">http://www.geocities.com/eminemsluckygrl/db22.htm</a><!-- m --><br />
<br />
Thanx for your help you all! :D I'm gonna try this again, tho <br />
I didn't give you that code. that code is on your site already. it is from the second link in your first post.<!--content-->Originally posted by ThinkYoung <br />
I want a border to the whole layout of the site...so you DON'T want a border around the whole page? :confused:<!--content-->
 
Back
Top