Forum Moderators: not2easy

Message Too Old, No Replies

please help with css formatting..... td?

i have a script and im unsure how to use it.

         

ezyid

10:07 am on Dec 21, 2004 (gmt 0)

10+ Year Member



hello there, i have the following news script for my site

<No site specifics, thanks. See TOS #13 [WebmasterWorld.com]>

i cannot format this text with my newbieness of css,
so what have i done? i had a look at the sites css file and they formatted their page by the following:

td { font: normal 80% arial, verdana, helvetica, sans-serif; color: 000000; }

now will this effect what im trying to setup? i mean aparntly im supposed to create my page like....

<h1>Main Page Heading here<h1>
<div class="content">
<h2>content heading<h2>

<h3>Sub heading</h3>

<p>paragraphs of text..blah blah</p>
<p>paragraphs of text..blah blah</p>

</div>

will editing the td tag effect this?
i mean i want to have a page that will dislay correctly on most if not all browsers.

does anybody have any ideas how i can make this script work without having to use the td code?

thankyou verymuch!

[edited by: SuzyUK at 11:09 am (utc) on Dec. 21, 2004]

SuzyUK

11:19 am on Dec 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ezyid..

no site specifics allowed.. If you want to format their (or any) script using CSS you need to find out what HTML code the script is generating.. the fact that you've already found a reference to a <td> means this particular script is likely generating a table.

You should find out if the table or <td> has any classes or ID's applied to it, that way you should be able to fit it in with your existing site design.

You can't change what HTML the free script may be generating, but you may very well be able to format the generated code with CSS, like that line of code you found in their site..

That pseudo code that was suggested for laying out your page is just that ~ a suggestion ~ because you were asking about how to use elements other than <hn> elements. a <table> is just another element you can use if required, there is nothing that says you must not use tables in your page.

Suzy

Hint: I know that link was to an asp script so I suggest you go the actual page which was linked and view the source to see what HTML it is generating