Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-12-2006, 11:28 PM   PM User | #1
blahman64
New to the CF scene

 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
blahman64 is an unknown quantity at this point
Exclamation Dreamweaver or HTML help pleaseeee!

Hey people what's doin'?

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.

Thank you,
blahman64 is offline   Reply With Quote
Old 12-12-2006, 11:55 PM   PM User | #2
whizard
Senior Coder

 
whizard's Avatar
 
Join Date: Jan 2005
Location: Philadelphia, PA, USA
Posts: 1,457
Thanks: 10
Thanked 37 Times in 37 Posts
whizard will become famous soon enoughwhizard will become famous soon enough
Code:
<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
whizard is offline   Reply With Quote
Old 12-13-2006, 12:30 AM   PM User | #3
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
Hi blahman64,

I know you're in a rush and all, but you're required to read the Posting Guidelines before posting a thread. Edit your title, please.
__________________
drums | web
rmedek is offline   Reply With Quote
Old 12-13-2006, 12:30 AM   PM User | #4
blahman64
New to the CF scene

 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
blahman64 is an unknown quantity at this point
thanks, but it doesn't work.

all that does is make me place the table above the menu.
blahman64 is offline   Reply With Quote
Old 12-13-2006, 12:49 AM   PM User | #5
whizard
Senior Coder

 
whizard's Avatar
 
Join Date: Jan 2005
Location: Philadelphia, PA, USA
Posts: 1,457
Thanks: 10
Thanked 37 Times in 37 Posts
whizard will become famous soon enoughwhizard will become famous soon enough
try wrapping them both in a div:

<div class="wrapper">
<div class="table_holder">
</div>
<div class="menu_holder">
</div>
</div>
__________________
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.
whizard is offline   Reply With Quote
Old 12-13-2006, 10:31 AM   PM User | #6
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
Dimensions

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?
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:50 AM.


Advertisement
Log in to turn off these ads.