467,910 Members | 1,699 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How to link an HTML page to a Div tag in another?

Hey guys,

I'm kinda new to HTML/CSS. I am making a website in Dreamweaver 8. I'm having trouble doing something, and I don't even know if it is possible. I made a page using CSS and DIV tags to define each pane. Now the center (main) pane will show whatever page you want to display (ie. Home, Media, Contact, etc.). I made each page as a separate HTML file (ie. Home.html, Contact.html, Media.html, etc.), is there a way to link each of these pages to the main pane (div tag) so I can keep all other panes unchanged (menus, banner, etc.) and just display the content in the mentioned center pane? Thanks!
Apr 4 '07 #1
  • viewed: 1728
Share:
3 Replies
Expert 1GB
Hey guys,

I'm kinda new to HTML/CSS. I am making a website in Dreamweaver 8. I'm having trouble doing something, and I don't even know if it is possible. I made a page using CSS and DIV tags to define each pane. Now the center (main) pane will show whatever page you want to display (ie. Home, Media, Contact, etc.). I made each page as a separate HTML file (ie. Home.html, Contact.html, Media.html, etc.), is there a way to link each of these pages to the main pane (div tag) so I can keep all other panes unchanged (menus, banner, etc.) and just display the content in the mentioned center pane? Thanks!
The best way to do this is with server side includes. You make the menu header etc.. an included file so you only have to update one place when you change a menu or whatever. Do you have any server side scripting available? PHP or ASP?
Apr 4 '07 #2
I'm actually not familiar with those, but I do have Dreamweaver, so if there's a crash course I could get from you (or if you could copy the script), I would be very thankful.
Apr 5 '07 #3
drhowarddrfine
Expert 4TB
What you want to look into is <frames> and <iframes>. I don't encourage that because there are inherent problems with those but it may be what you want.
Apr 5 '07 #4

Post your reply

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

Similar topics

2 posts views Thread by Dennis M. Marks | last post: by
8 posts views Thread by CHouck | last post: by
26 posts views Thread by Harrie | last post: by
7 posts views Thread by Sean | last post: by
19 posts views Thread by Martin Eyles | last post: by
13 posts views Thread by Casimir Pohjanraito | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.