By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,395 Members | 1,882 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,395 IT Pros & Developers. It's quick & easy.

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

P: 2
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
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,892
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

P: 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 5K+
P: 7,435
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.