HighDots Forums  

Table css

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Table css in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tomb
 
Posts: n/a

Default Table css - 03-25-2009 , 09:04 AM






I have a table in a div with an id, and thought I could have the border
defined in the css for #divid table{}, but in Firefox I get no border at
all. Of all things, IE is doing the right thing! Both version 6 and 7!
Here is my html and corresponding css:

<div class="loadboard" id="loadboard">
<table>
<thead>
<tr><th>Load<br>Num</th><th>Entry<br>Date</th><th
valign="bottom">Orig</th><th
valign="bottom">Dest</th><th>Pickup<br>Time</th><th>Delivery<br>Time</th><th
valign="bottom">Status</th></tr>

</thead>

remaining table elements are php generated

CSS:

#loadboard table{
border-width: 1;
border-style:solid;
margin: 0;
padding: 0;
width: 100%;
}

Ideas?

Tom

Reply With Quote
  #2  
Old   
Johannes Koch
 
Posts: n/a

Default Re: Table css - 03-25-2009 , 09:38 AM






tomb schrieb:
Quote:
#loadboard table{
border-width: 1;
1 apple? 1 Angstroem? 1 kg? Hint: px is _not_ the default unit.

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)


Reply With Quote
  #3  
Old   
tomb
 
Posts: n/a

Default Re: Table css - 03-25-2009 , 10:06 AM



Johannes Koch wrote:
Quote:
tomb schrieb:
#loadboard table{
border-width: 1;

1 apple? 1 Angstroem? 1 kg? Hint: px is _not_ the default unit.

Many thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.