convert table to CSS

Hi!

I would greatly appreciate specific help in converting this HTML table to CSS rules.
Also, the table is currently horizontally centered on the page.
TIA

<table border="0" width="450">
     <tr align="left">
          <td>
            <ul>
               <li>H-Sphere Control Panel</li>
               <li>Webalizer and AWStats</li>
               <li>FrontPage Extensions</li>
               <li>Site Studio Site Creator</li>
               <li>Webmail</li>
               <li>Email Virus Scan and SpamAssassin</li>
               <li>Subdomains</li>
               <li>Daily Backups</li>
            </ul>
          </td>
          <td>
            <ul>
               <li>Autoresponders</li>
               <li>Email Aliases</li>
               <li>XML</li>
               <li>Databases
               <ul>
                    <li>Microsoft Access</li>
                    <li>MSSQL</li>
                    <li>MySQL</li>
                    <li>and so <u>much more</u>.</li>
               </ul>
            </ul>
          </td>
     </tr>
</table>
TrueBlueAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gurvinder Pal SinghCommented:
try
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
</HEAD>

<BODY>
	<div style='width:450px'>
		<div style='float:left'>
            <ul>
				<li>H-Sphere Control Panel</li>
				<li>Webalizer and AWStats</li>
				<li>FrontPage Extensions</li>
				<li>Site Studio Site Creator</li>
				<li>Webmail</li>
				<li>Email Virus Scan and SpamAssassin</li>
				<li>Subdomains</li>
				<li>Daily Backups</li>
            </ul>
		</div>
		<div style='float:left'>
            <ul>
               <li>Autoresponders</li>
               <li>Email Aliases</li>
               <li>XML</li>
               <li>Databases
               <ul>
                    <li>Microsoft Access</li>
                    <li>MSSQL</li>
                    <li>MySQL</li>
                    <li>and so <u>much more</u>.</li>
               </ul>
            </ul>
		</div>
	</table>
</BODY>
</HTML>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Adesso21Commented:
This should do the trick
<style>
	ul {
		float:left;
		padding : 0 0 0 1em;
	}
	div {
		width : 450px;
		margin-left: auto;
		margin-right: auto;
	}
</style>
<div>
	<ul>
		<li>H-Sphere Control Panel</li>
		<li>Webalizer and AWStats</li>
		<li>FrontPage Extensions</li>
		<li>Site Studio Site Creator</li>
		<li>Webmail</li>
		<li>Email Virus / SPAM</li>
		<li>Subdomains</li>
		<li>Daily Backups</li>
	</ul>
	<ul>
		<li>Autoresponders</li>
		<li>Email Aliases</li>
		<li>XML</li>
		<li>Databases
		<ul style="float:none;">
			<li>Microsoft Access</li>
			<li>MSSQL</li>
			<li>MySQL</li>
			<li>and so <u>much more</u>.</li>
		</li>
	</ul>
</div>

Open in new window


a note or two to add.

If you want to hard-code the width, then you can't have text that is longer than the width you specify, I shortened the Spamassasin text a bit....

Dont't forget to always close the tags you open, in this case it was a missing li

The beauty of making it this way is that your content now has no styles, so if you want to change the layout in future, you don't have to change the list HTML at all, only the CSS. If you make this load from a external file, even better :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.