Click to See Complete Forum and Search --> : do u know this piece of css code?


html20009876
07-21-2007, 12:49 PM
<table cols="2" cellPadding="2" rules="rows" border="1" frame="below" width="609" cellspacing="1" bordercolor="#C0C0C0" height="241">

this is html code I copied from Ms help file, it looks good for my pages.

I need to code it into css file because I have multiple pages and tables.

i don't know css code for table:

cellPadding="2"
rules="rows"
frame="below"
cellspacing="1"

can u help me?
thx

WebJoel
07-21-2007, 01:04 PM
-Don't know some of those CSS rules... they do not even look like real HTML either... What WYSIWYG editor created these? :confused:

In CSS, you would move away from TABLE anyway and use other selectors to do the same thing

html20009876
07-21-2007, 01:28 PM
I ask for: How?

felgall
07-21-2007, 05:56 PM
Some books that might help answer your question.

HTML Utopia - Designing without tables using CSS (Sitepoint)
Build Your Web Site the Right Way using HTML & CSS (Sitepoint)
CSS - The Definitive Guide (O'Reilly)
CSS Cookbook (O'Reilly)

or any other similar books.

It is not possible to answer a question that requires an answer that would be hundreds of pages long in a forum. If you have a more specific question that requires a much shorter answer then you may get an answer in the forum.

WebJoel
07-21-2007, 06:45 PM
It's the weekend. Relax. :) Besides, yelling won't help.
btw: -if I do not know the code to be HTML nor CSS, -what do you want me to do, ...guess?
"...I copied from Ms help file". Okay. That could be part of the problem. Did you 'highlight/copy & paste' this, or typed it from memory? I am telling you again that I do not recognize a few of those valuenames. :confused: rules="rows"? That is something that I have never seen used before... :confused:

You can be the biggest help to yourself by explaining what you want, showing us enough of the code that you already have (or a URL to site, if online) and explaining what isn't working, and maybe also telling what browser you are using/what HTML-editor or WYSIWYG-editor you are using, and etc.
-And by not screaming at those whom could chose to help you, or not. :)