K I have a question concerning HTML/Dreamweaver...
I'm trying to make a website (done it before but this is going to be my nicest one)... I have a photo that I 'mapped' to make into a menu (linked)..
I need/want to put a table to the right of it, but I don't want the menu to be part of the table, or in a table at all whatsoever.
How would I go about doing this? Someone told me I must put a table within a table, however this results in having to include the menu in the table, which I would prefer to avoid.
<head>
<style>
div.table_holder
{
float:right;
}
div.menu_holder
{
float:left;
}
</style>
</head>
<body>
<div class="table_holder">
TABLE GOES HERE
</div>
<div class="menu_holder">
MENU GOES HERE
</div>
</body>
__________________
If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.
Step 1: Learn. Step 2: Search. Step 3: Post here.
Last edited by whizard; 12-12-2006 at 11:56 PM..
Reason: typo
__________________
If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.
Step 1: Learn. Step 2: Search. Step 3: Post here.
You probably haven't accounted for the room needed for these floated sections to sit next to eachother.
To get this to work you'll need to think about giving the various sections fitting dimensions, at least widths: floating an element makes it "shrink wrap" its contents unless a specific width is supplied.
So: think about whether you want to layout to have a fixed width, or have it adapt to the available window width; also, does the menu need a fixed width (considering it's based on a sliced-n-diced image I would expect so) or not?
By the way: how proficient are you in HTML and CSS?