Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-16-2005, 08:47 PM   PM User | #1
meygan
New to the CF scene

 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
meygan is an unknown quantity at this point
specializing tables(or frames)

Im working on a site, and Im trying to have my tables or frames look like this site http://usera.imagecave.com/jammar190/00.jpg

(bottom part of the page ^)

How would you set them coordinates and make them fit all the pages inside? and set backgrounds? Basically, how do u make the tables look like that

future thanks
meygan is offline   Reply With Quote
Old 07-17-2005, 03:27 AM   PM User | #2
phmayor
New Coder

 
Join Date: Jul 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
phmayor can only hope to improve
frame table question

there are a lot of ways to do that and it gets very complicated, especially to try and explain it by typing here. Can't you look at the source code of the page and see how they did it? That would be the best way.
phmayor is offline   Reply With Quote
Old 07-17-2005, 03:42 AM   PM User | #3
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,769
Thanks: 8
Thanked 127 Times in 125 Posts
harbingerOTV will become famous soon enough
whats the actual address for that page?
harbingerOTV is offline   Reply With Quote
Old 07-17-2005, 03:59 AM   PM User | #4
meygan
New to the CF scene

 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
meygan is an unknown quantity at this point
i was going to but its now a graphic in old layouts is there some kind of code that can help me?
meygan is offline   Reply With Quote
Old 07-17-2005, 04:17 AM   PM User | #5
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
<!--
body{background:#85bae6;font-family:verdana,sarial,sans-serif; color:white;}
td{width:100px; height:100px;border:2px solid white;text-align:center;background-color:#94a8ab;}
td.wide{width:175px;}
td.thin{width:80px;}
-->
</style>

<title>Multiple Table Cells</title>
</head>
<body>
<table border="0" cellspacing="4" cellpadding="4">
<tr>
<td>Text goes in here, not much though...</td><td>Lorem Ipsum Dolor Sit Amet</td><td>More cells.</td><td>1234567891011121314151617181920212324252627282930 These stretch to fit more stuff if you reallly need it</td><td>Junk</td><td class="wide">This is wider  (Images?)</td><td class="thin">This is thinner</td>
</tr>
</table>
</body>
</html>


Play with that.

Edit: changed the code to look more like that layout

Last edited by Ranger56; 07-17-2005 at 04:48 AM..
Ranger56 is offline   Reply With Quote
Old 07-17-2005, 07:23 AM   PM User | #6
jimrthy
New to the CF scene

 
Join Date: Jul 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
jimrthy is an unknown quantity at this point
No!

Just stop!

Please, do not use tables for your layout. I know they're simple and easy. That is the way of the Dark Side. Use CSS. Really. Tables are evil.

Well, except for doing what they're actually supposed to do: display tabular information.

I should start a consulting service based around weaning people from their table-layout addiction.
__________________
custom web applications
jimrthy is offline   Reply With Quote
Old 07-17-2005, 07:30 AM   PM User | #7
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
Quote:
Originally Posted by jimrthy
Just stop!

Please, do not use tables for your layout. I know they're simple and easy. That is the way of the Dark Side. Use CSS. Really. Tables are evil.

Well, except for doing what they're actually supposed to do: display tabular information.

I should start a consulting service based around weaning people from their table-layout addiction.

I don't use tables for design, but it was just a really fast way to do what they wanted.
Ranger56 is offline   Reply With Quote
Old 07-17-2005, 07:41 AM   PM User | #8
zro@rtv
Regular Coder

 
zro@rtv's Avatar
 
Join Date: Feb 2005
Location: on the network
Posts: 433
Thanks: 0
Thanked 1 Time in 1 Post
zro@rtv is an unknown quantity at this point
use css not tables

maybe something more like this will lead your toward the right direction:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
<!--
body{background:#85bae6;font-family:verdana,sarial,sans-serif; color:white; text-align:center;}
.auto {margin:0 auto;}
.clear {clear:both;}
.box {float:left; width:200px; height:200px; margin:10px;}
#main {width:600px; height:500px; }

.blk {background:black;}
.r {background:red;}
.b {background:blue;}
.g {background:green;}
-->
</style>

<title>use css not tables</title>
</head>
<body>

<div class="auto" style="width:700px;">

<div id="main" class="blk auto"> Loren ipsum dollar sit amet</div>

<br class="clear" />
<div class="box r auto">Loren ipsum dollar sit amet</div>
<div class="box b auto">Loren ipsum dollar sit amet</div>
<div class="box g auto">Loren ipsum dollar sit amet</div>

</div>


</body>
</html>
__________________
._-zro
zro@redtv
zro.redtv.org

"If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
-Tim Berners-Lee, Weaving the Web, 1999
zro@rtv is offline   Reply With Quote
Old 07-25-2005, 08:44 PM   PM User | #9
meygan
New to the CF scene

 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
meygan is an unknown quantity at this point
thanks alot u guys!!
meygan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:32 PM.


Advertisement
Log in to turn off these ads.