Border

They have: 5 posts

Joined: Aug 2005

I want to put a border around the whole thingy of content. All the divs should be surrounded by it.

conor-omuiri.com

02bunced's picture

He has: 412 posts

Joined: May 2005

just put this in your CSS files for whichever div you want:

border: 2px solid #000;

Obviously, change the colour to whatever you want Smiling

Blessings,
David

demonhale's picture

He has: 3,278 posts

Joined: May 2005

You can also use sub properties like border-left, border-right, go to w3c schools web site to learn more...

02bunced's picture

He has: 412 posts

Joined: May 2005

Yes, what he said too!

SearchBliss's picture

He has: 267 posts

Joined: Feb 2005

You can also draw the border onto your monitor with a marker.

Just kidding.

They have: 5 posts

Joined: Aug 2005

I tried Bliss' solution first but it didn't work. After I bought a new monitor, I managed to figure things out on my own. Thanks.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Could you please be so kind as to post up your solution to the problem so that others may learn from it? Thanks Smiling

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Its there already, see my post...

They have: 5 posts

Joined: Aug 2005

However, instead of demonhales suggestion of placing it in the div I wanted the border around, I put it here:

#pagewidth{
width:950px;
text-align:left; 
margin-left:auto;
margin-right:auto;
<strong>border: 1px solid #003399;  </strong>
}
'

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Its the same anyways Conor, its still a div class your using in CSS...

To teach the options that he can have so that he can be flexible in the future...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.