PDA

View Full Version : Getting a border around my site


itchyfeet
Jun-19-2005, 03:15 AM
I would like a border around my entire page, like on the brilliant site:

http://digitaldaze.smugmug.com/

(i saw this on the co-branding thread).

Could someone please tell me the code? Also, as in with the digitaldaze website, how do i have different colours for inside and outside the border.

How would I need to amend the code if I just wanted the border around the main section (i.e. not the header or footer to be included).

Thanks guys!

Barb
Jun-19-2005, 05:26 AM
I would like a border around my entire page, like on the brilliant site:

http://digitaldaze.smugmug.com/

(i saw this on the co-branding thread).

Could someone please tell me the code? Also, as in with the digitaldaze website, how do i have different colours for inside and outside the border.

How would I need to amend the code if I just wanted the border around the main section (i.e. not the header or footer to be included).

Thanks guys!

Hi :)

First off, thank you so much for the nice complement!

Since most of what I do is by mistake, LOL, let me see if I can help. This is the code at the very top of my header html in the customize section:

<center><table width="700" border="2" border color="#A7733C">
<tr>

The border number can be more or less, depending on the size you want. I'm using a background image on my page, thus, the different color outside the border. I defined my background color inside the border in my banner, which I created as a table.

As I said, everything I do is by trial and error, and occasionally, it works out for me ... hehe. Let me know if I can answer anything else. I'll do my best!

Mike Lane
Jun-19-2005, 11:04 AM
I learned this from brilliant photon....

In your header put the start of a table and make certain definitions about it (size, position, background, whatever).

In your footer, close that table.

So your header could be

<table style=&quot;border:2px dotted red&quot;>
<tr>
<td>

....all the other stuff in your header...

And at the end of your footer

... your current footer stuff...

</td>
</tr>
</table>

I like to use styles rather than the old depreciated formatting...

itchyfeet
Jun-25-2005, 10:22 AM
Thanks, works perfectly! Elliot