Transform HTML table with CSS

S

Sarah

Hi! I've a table:

<table cellspacing="0" cellpadding="0" width="200" bgcolor="#ffffff"
border="0">
<tbody>
<tr>
<td colspan="3"><img src="Include/SxBar/Sx_Top.jpg" width="200" border="0"
/></td>
</tr>
<tr>
<td width="5" rowspan="2" valign="top"><img height="192"
src="Include/SxBar/Sx_VerticalSxBar.jpg" width="5" border="0" /></td>
<td width="190"><img height="30" src="Include/SxBar/Sx_TopBar.jpg"
border="0" /></td>
<td width="5" rowspan="2" valign="top"><img height="192"
src="Include/SxBar/Sx_VerticalDxBar.jpg" width="5" border="0" /></td>
</tr>
<tr>
<td valign="top" align="middle" height="162">
</td>
</tr>
<tr>
<td colspan="3"><img
src="Include/SxBar/Sx_Down.jpg" width="200" border="0" /></td>
</tr>
</tbody>
</table>


this html draw a box where I will insert some informations in the <td>

for example I will insert images/text/other tables

<tr><td valign="top" align="middle" height="162">
text text text text text text
</td></tr>


Now I would like to traduce the HTML code above in XHTML ... somebody can
help me??

I would like to know what insert in the external CSS and how modify the HTML

Thansk for help me!!!
 
S

Sarah

I've read but I can't apply it :-((

Can you help me??
But again, why do you want to do this at all?

Because I would like have an XHTML document and saparate content (HTML) from
layout (CSS)... why your question??
 
A

Andrew

Hi! I've a table:
snip>>>>>>>>>>>>


Now I would like to traduce the HTML code above in XHTML ... somebody can
help me??

Hi Sarah,

I cannot help you with the table but I can help you with your
glorious typo which brought back some memories of Shakespeare's
Othello:

.................................in Aleppo once,
Where a malignant and a turban'd Turk
Beat a Venetian, and traduc'd the state,
I took by the throat the circumcised dog,
And smote him thus. [stabs himself]

Sorry for the [OT] comment but I have not seen the word 'traduced'
used in any other context before :)

Andrew
 
D

dorayme

"Sarah said:
I've read but I can't apply it :-((

Can you help me??


Because I would like have an XHTML document and saparate content (HTML) from
layout (CSS)... why your question??

Out of a suspicion you have no good reason, confirmed by your
remark about separating style from content. It is routinely
separated using HTML. Where does XHTML come into this? Why do you
think it does? I am just trying to save you the trouble of going
up a wrong road.

How is helping you to convert to XHTML (beyond referring you to
many good tutes on this) going to help you separate style from
content?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top