A better approach might be to create a class, call it .task. Then the 
rule might be td .task {background-color:blue;text-align:center;}.

And then your HTML would be:
  <td width=640px" class="task">

Greg Morphis wrote:
> Hey, I'm trying to build a daily schedule view which will have
> schedules from 6am - 10pm.
> I'm not sure if this is the correct approach so I'm asking for help...
> 
> I was thinking of using a table with 3 columns, 1 column for the name,
> 1 column for job title and 1 column for their daily schedule. I was
> thinking of using spans for the various tasks that the users will have
> throughout their day.
> <table width="790px;" border="1">
> <tr>
>       <td width="75px">Pat Smoot</td>
>       <td width="75px">CSR</td>
>       <td width=640px"><span
> style="left:0px;width:140px;background-color:blue;text-align:center;">Work</span></td>
>       
> </tr>
> </table>
> the border is just for viewing..
> I believe what I need to use is absolutle positioning however when I
> add that to the inline CSS statement, the width works but the span is
> moved out of the cell table element.
> I'm no CSS wiz, I'm just a beginner and hoping one of you can suggest
> some sites to look at, tutorials or code snippets.
> 
> Thanks!
> 

-- 
Joe Huggins MSW, MSCIS
University of Colorado Health Sciences Center
Clinical Science Program
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to