Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Table outline/framing
Old 01-20-2005, 08:05 PM Table outline/framing
PhilR714's Avatar
Average Talker

Posts: 18
Trades: 0
I am trying to creat a page where the outermost table has a colored frame around it. When I use "border" I get the desired effect but it also creates lines inside of the table around nested tables and cells. I am using Dreamweaver MX. This problem is driving me crazy and I have seen it on other sites so it must be able to be accomplished. As an example you can see the effect on the site www.paulawhite.org. You can see a shadowed frame around the main area of the page which gives it some dimension. Any help would be greatly appreciated.
PhilR714 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-21-2005, 07:41 AM suggestion
karmatosed's Avatar
Skilled Talker

Posts: 52
Location: geddington, UK
Trades: 0
Okay you can do this one of 2 ways -
1. put a table in a table ie; have a table of 1 row and 1 column and set the border on that then put the content in the middle of this.
2. go down the css route - this gives you greater control and you can even get shading, dotted border, 3d effect - whatever you want. i've given you a few links to get started with :

http://www.tizag.com/cssT/border.php

http://codepunk.hardwar.org.uk/acss02.htm

hope this helps.
__________________
" An optimist believes we live in the best of all possible worlds. A pessimist is sure of it! "
karmatosed is offline
Reply With Quote
View Public Profile Visit karmatosed's homepage!
 
Old 01-21-2005, 01:42 PM
PhilR714's Avatar
Average Talker

Posts: 18
Trades: 0
Thank you very much. The tizag.com site was very helpful. The only problem I have with the code is that if I nest a table, it takes on the border proerties of the outer table. Can you tell me a way around that?
PhilR714 is offline
Reply With Quote
View Public Profile
 
Old 01-21-2005, 10:10 PM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
post up the code so i can read it
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 01-22-2005, 03:20 PM
PhilR714's Avatar
Average Talker

Posts: 18
Trades: 0
Below is the code from the tizag site. I realized that I can use "in line" code in the table tag of the table I want to modify as follows...style="border: 12px solid black"...which did the trick. What do you think of doing it this way? I would like to substitute an image file that is shaded in place of the color but I have not figured that one out yet. Any idea on the correct coding. Thank you for all your help. It is greatly appreciated.

<style>

h2 { border-bottom: 3px solid red; }
p { border: 1px solid black; }
table { border: 8px outset green; }
td { border: 3px dotted green; }

</style>
</head>
<body>
<h2>CSS Borders</h2>
<p>This paragraph has a black border.</p>
<table>
<tr><td>This table has an outset border</td></tr>
<tr><td>and each cell has</td></tr>
<tr><td>a dotted border.</td></tr>
</table>
</body>
</html>
PhilR714 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Table outline/framing
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43359 seconds with 12 queries