Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > CSS Question...

Reply
Thread Tools

CSS Question...

 
 
Kian
Guest
Posts: n/a
 
      07-25-2003
Hi there,

I would like to transfer my table's style to CSS. The table is as below...

< Table WIDTH="100%" CELLPADDING="4" CELLSPACING="0" BORDER="0">

Can somebody here show me how to use CELLSPACING style in CSS?

table.Outer
{
width: 100%; /*WIDTH="100%"*/
padding: 4;/*CELLPADDING="4"*/
???????? /*CELLSPACING="0"*/
border: 0;/*BORDER="0">*/
}

Thanks,
Kian


 
Reply With Quote
 
 
 
 
Sid Ismail
Guest
Posts: n/a
 
      07-25-2003
On Fri, 25 Jul 2003 02:14:32 GMT, "Kian" <(E-Mail Removed)> wrote:

: Hi there,
:
: I would like to transfer my table's style to CSS.

It is time to do a CSS tutorial. Read about padding and margins (and also
borders, I suppose):
http://www.westciv.com/style_master/...s_on_tutorial/

Sid

 
Reply With Quote
 
 
 
 
Lauri Raittila
Guest
Posts: n/a
 
      07-25-2003
In article <co0Ua.37335$(E-Mail Removed) gers.com>,
Kian wrote:
> Hi there,
>
> I would like to transfer my table's style to CSS. The table is as below...
>
> < Table WIDTH="100%" CELLPADDING="4" CELLSPACING="0" BORDER="0">
>
> Can somebody here show me how to use CELLSPACING style in CSS?
>
> table.Outer
> {
> width: 100%; /*WIDTH="100%"*/
> padding: 4;/*CELLPADDING="4"*/


You meaned padding:4px; unit is must when non zero value.

> ???????? /*CELLSPACING="0"*/
> border: 0;/*BORDER="0">*/
> }


border-spacing:0px . But that don't work on IE. use
border-collapse:collapse instead.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Layout question - how to duplicate a table layout with CSS Eric ASP .Net 4 12-24-2004 04:54 PM
confused - html validates, css validates but validate css from the html causes errors Titus A Ducksass - AKA broken-record HTML 6 11-15-2004 12:59 PM
Set CSS property equal to another CSS property? Noozer HTML 10 10-13-2004 09:20 PM
Is there a way to set the a CSS property to be explicitly the same as another CSS property? Joshua Beall HTML 1 12-10-2003 07:21 PM
print.css and screen.css tom watson HTML 1 09-09-2003 02:48 PM



Advertisments