About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > General > I Found it on the Web
FAQ Members List Calendar Search Today's Posts Mark Forums Read

I Found it on the Web Cool web sites to visit. If you want to promote your web site, post the URL here. Misleading links and destructive html links will not be tolerated, please include a full description of your link. Also do not post any referal based sites or advertisements.

Reply
 
Thread Tools Display Modes
 #1 
Old 2002-09-01, 02:59
syphon detonator syphon detonator is offline
Regular
 
Default mixing pixel size and percentage in the same table

is this possible? for example i want to create a page with a 100% width table cell that is 100 pixels hight on the top of the page. under that i want a 300 pixel colum on the left with a column that takes up the rest of the screen on the right. how is this possible. every time i try this i just want to go fuck someone up because it doesnt work for shit. can someone give me some code or a link with some goddamn answers before i have to become violent on my desktop?
 #2 
Old 2002-09-01, 03:06
syphon detonator syphon detonator is offline
Regular
 
Default Re: mixing pixel size and percentage in the same table

this is what i have.



<html>
<head>
<title>Untitled</title>
</head>

<body>
<table>
<tr width="100%">
<td bgcolor="black"> this is a top table</td>
</tr>
 
<tr>
<td width="300" height="*" bgcolor="red">this is nav</td>
<td width="*" height="*" bgcolor="Green"> here is where the fucking content should be!</td>
</tr>
</table>
</body>
</html>


can someone tell me whats wrong

 #3 
Old 2002-09-03, 04:24
Ain Ain is offline
Regular
 
Default Re: mixing pixel size and percentage in the same table

Im not sure what your trying to do but I think this is it.

<html>
<head>
<title>Untitled</title>
</head>
<body>
<table border width="667" height="447">

<tr>

<td colspan=2 width="657" height="118" bgcolor="#000000">Cell 1 Top table</td>

</tr>

<tr>

<td width="138" height="321" bgcolor="#FF0000">Cell 2 Nav</td>

<td width="513" height="321" bgcolor="#00FF00">Cell 3 Content</td>

</tr>

</table>

</body>
</html>

http://hotwired.lycos.com/webmonkey/authoring/tables/




[This message has been edited by Ain (edited 09-03-2002).]
 #4 
Old 2002-09-04, 01:57
syphon detonator syphon detonator is offline
Regular
 
Default Re: mixing pixel size and percentage in the same table

not exactly. i want the top black table to be 100% across the screen. i also want cell three to strecth the remaining space of the page minus the 300 pixels of cell 2.

thanks for the help and link
 #5 
Old 2002-09-04, 06:29
Moderator
 
Default Re: mixing pixel size and percentage in the same table

why don�t you use layers and css?

code:

<html>
<head>
<title>coldarchon</title>
</head>
<body bgColor=Black text=White Link=#333333 vLink=Black aLink=White>
<div id="kopf" style="position:absolute; top:0; left:0;
width:138%; height:10%; background-color:#333333; color:#999999;
font-family:tahoma; font-size:9pt; font-weight:bold;">
this is a top table
</div>
<div id="tabelle1" style="position:absolute; top:10%; left:0;
width:300px; height:100%; background-color :DarkRed; color:#999999;
font-family:tahoma; font-size:9pt; font-weight:bold;">
this is nav
</div>
<div id="tabelle2" style="position:absolute; top:10%; left:300;
width:100%; height:100%; background-color :DarkGreen; color:#999999;
font-family:tahoma; font-size:9pt; font-weight:bold;">
here is where the fucking content should be!
</div>
</body>
</html>



with a little script you can adjust the tables. Just get the browser attributes.

*edit*

forgot to disable smilies, yes I�m a rookie ...

[This message has been edited by BSK (edited 09-04-2002).]
 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics