CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 29th, 2003, 04:32 AM
darthbagger darthbagger is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 darthbagger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
rowspan, colspan css problem

Hello, Im trying to define a style for a table data cell that states the colspan and rowspan properties. I am using an embedded style sheet as follows:


Code:
<head>
<style>

#header_layout{column-span: 3; row-span: 2;}
</style>
</head>
<body>

<table>
<tr><td id = "header_layout">Footer goes here</td></tr>
</table>
</body>


This however has no effect on the page. What am I doing wrong?

Last edited by darthbagger : October 29th, 2003 at 04:36 AM.

Reply With Quote
  #2  
Old October 29th, 2003, 09:32 AM
dustyreagan's Avatar
dustyreagan dustyreagan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Austin
Posts: 126 dustyreagan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 40 m 3 sec
Reputation Power: 5
I don't think column-span and row-span are valid styles.

I was thinking maybe you could alter the spans as objects.
Something like this:
Code:
<table id="test" cellspacing="2" cellpadding="2" border="1">
<tr>
	<td  id="row2" rowspan="3">test1</td>
	<td>test2</td>
</tr>
<tr>
	<td>test3</td>
</tr>
<tr>
	<td>test4</td>
</tr>
</table>
<script>
row2.rowspan = "1";
</script>

But I don't think this is possible either.

If you used ASP or something similar, you could set the span values as variables.

I could be way off though, I've never tried what you are doing.

Good luck
Dusty

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > rowspan, colspan css problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway