467,161 Members | 1,094 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

Div Tag Into Table

im having my code by css to make drop down menu but i want to insert my menu into table this is my code :
<style type="text/css">
body {
background-color: #000000;
#list {
overflow: hidden;
border:2px #2A2A2A solid;
left: 2;
top: 2px;
#list:hover {
#list a:hover{
#list a{
color: #FFFFFF;
padding:2px 8px;
.macromedia {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
background-color: #333333;
padding: 4px;
font-weight: bold;
a:link {
color: #CCCCCC;
p{font-family: Arial, Helvetica, sans-serif;color:#FFFFFF;}

i want to insert this div tag into table to controll it how?
<div id="list">
<div align="center"><span class="macromedia">Macromedia</span>
<a href="#" >Flash</a>
<a href="#" >Flex</a>
<a href="#" >Fireworks</a>
<a href="#" >Freehand</a>
<a href="#" >Dreamwaver</a> </div>
May 1 '07 #1
  • viewed: 4969
3 Replies
Expert 4TB
Not sure I understand you but I think you are saying you want that div and its contents to be placed inside a table. Do you want each anchor inside its own cell or the whole thing inside one cell?

Why you would want to do that, I don't know. You should never use tables to layout a web page.

In any case, that's a fundamental of how tables work and can be easily found on any site that teaches html, such as w3schools.com
May 1 '07 #2
thank you for replaying but im new in html and css and i don't know to choose to my site tables or layers.
May 2 '07 #3
Expert 1GB
thank you for replaying but im new in html and css and i don't know to choose to my site tables or layers.
If you did a drop down with CSS you should have no problem laying your site out with CSS, do a google search for liquid layouts you can find some common layouts and improve upon them or you can create your own. I would stay away from layers.
May 2 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

61 posts views Thread by Toby Austin | last post: by
3 posts views Thread by Terrence Brannon | last post: by
4 posts views Thread by maricel | last post: by
4 posts views Thread by Simone Battagliero | last post: by
117 posts views Thread by phil-news-nospam@ipal.net | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.