PDA

View Full Version : CSS: converting HTML(absolute,margin)


mattover-matter
03-23-2003, 09:04 AM
Hello, This is one of the few questions I have not figured out by myself. Here are my questions:
1){
How do I convert absolute positioning to CSS?
}

2){
How do I convert "cellspacing="0" cellpadding="0" , from a table, into CSS?
}

redhead
03-23-2003, 09:56 AM
well, to get rid of the padding (or set it to something else) you could use

td {
padding:0px
}

there is not an obvious answer (or obvious enough for me anyways ;)) about the cellspacing, but by searching this forum i found this thread:

http://www.codingforums.com/showthread.php?threadid=10709&highlight=cellspacing

check it out :thumbsup:

meow
03-23-2003, 10:31 AM
1? Huh? Absolute positioning IS CSS. :confused:

2. border-collapse: collapse
http://www.w3.org/TR/REC-CSS2/tables.html#propdef-border-collapse
http://www.w3.org/TR/REC-CSS2/tables.html)