NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page adding a border around css content...

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-06-2005, 02:12 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: May 2005
Posts: 4
matthewsa1 is an unknown quantity at this point
 



adding a border around css content...


I am very new to css and this is the first layout i have done using just css. I figured out how to set up a simple 3 column page. However, I am now faced with a problem. I wanted some sort of boarder to surround all my content and I have no idea how to do that. Here's a link to the layout i did using css:
????: NamePros.com http://www.namepros.com/programming/88193-adding-a-border-around-css-content.html

http://www.girlsofcs.com/test1/index.htm


here's a link to the original layout i did using tables. notice the boarder around the content, this is what i am trying to create using the css.

http://www.girlsofcs.com/index.php

any help would be greatly appreciated
matthewsa1 is offline  
Old 05-06-2005, 02:18 PM   #2 (permalink)
no one lives forever
 
StudioWorks's Avatar
Join Date: Apr 2004
Location: NamePros
Posts: 8,092
StudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to behold
 



put the content in a div and place a border on it ..
__________________
epagini.com mexicorealty.net softwarepit.com yadasoftware.com
StudioWorks is offline  
Old 05-06-2005, 02:45 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: May 2005
Posts: 4
matthewsa1 is an unknown quantity at this point
 



i tried doing that but i'm not sure how.. if you look at the code i have a div named whole in which all the content is that there. In the properties of whole i added "border:1px" and that didnt work and in the actuall <div id="whole" line i put border=1px and that didnt work either...
matthewsa1 is offline  
Old 05-06-2005, 02:51 PM   #4 (permalink)
MD
NamePros Member
Join Date: Apr 2005
Posts: 175
MD is on a distinguished road
 



I'm afraid that you're still using tables for the layout with some CSS help. I suggest you read on designing layouts with CSS only without any old-fashioned tables involved.
__________________
- MD
MD is offline  
Old 05-06-2005, 03:13 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: May 2005
Posts: 4
matthewsa1 is an unknown quantity at this point
 



i know i am still using some tables for the content boxes. i just did this because it was the easiest way i knew how to make those boxes. however, the tables arent causing any problems now with the main layout set up in css. however, i still just need to know how i would go about adding a border around all that content. I'd like the border to be an image so i can make it a nice effect rather than just a single line. would i have to add more div's on either side or what? thanks
matthewsa1 is offline  
Old 05-06-2005, 08:03 PM   #6 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



I don't see any borders in either page.

You also can't use an image as a border, it must be either:

1. solid
2. dashed
3. dotted
4. outset
5. inset
6. ridge
7. double, or
8. groove

Example code: border:1px solid #000000;

I suggest you don't use any tables in you page either, you might as well learn to structure the whole page with CSS. Read through this article: http://www.hotdesign.com/seybold/index.html
Rowan W is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Making Money With Your Own Content Rich Website trishan Content For Sale 13 04-05-2005 11:29 PM
IE CSS issues with my site scuzzo84 Web Design Discussion 2 03-28-2005 09:16 PM
Chapter 18 Other Content WebForging Webmaster Tutorials 3 03-20-2005 04:15 PM
Adding on[MouseEvent] to css... zink Web Design Discussion 1 01-06-2005 06:03 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:55 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger