Home > Web Front-end > HTML Tutorial > Post again - Questions about CSS DIV homepage (entry level)_html/css_WEB-ITnose

Post again - Questions about CSS DIV homepage (entry level)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:09:18
Original
1142 people have browsed it

东软首页:http://www.neusoft.com.cn/
我想做个类似于这个首页的网站页面。top.htm,main.htm,footer.htm都已经做好
请问用CSS+DIV做个index.htm如何做?要求top.htm的菜单能控制main.htm更换。
很多人说是用iframe,只能用iframe吗?我想不用iframe,因为这个页面http://www.neusoft.com.cn/的代码里找不到iframe。
请哥哥们帮忙啊,我在线等,谢谢的啦~~~~~~~~~~


回复讨论(解决方案)

另外,main.htm分左右的,要求左边页面链接控制右面页面。

你给的参考网站就是些简单的跳转而已,和iframe有什么关系吗?

div嵌入网页最终都是用iframe嵌入


   

          
  • a

  •       
  • b

  •    
   
 

I missed your navigation control main.html. I suggest you use the card option panel that comes with dwr. If you are satisfied with my answer, please give points. If you still don’t understand, you can chat with me in detail

The poster is not clear about many basic concepts. What you are talking about is a simple page
If you want to maintain it easily, use the server side. Including, for example, if asp,
you have built each included page
such as head.asp (HTM can also be used),

<div id="head"><a href='index.asp'>首页</a> <a href="product.asp">产品</a> <a href="about.asp">关于我们</a></div>
Copy after login

index.asp source code
<html><head><title>我的网站首页</title> </head><body><!--#include file="head.asp"--><div id="main"><h1>首页</h1><p>其它内容...</p></div></body></html>
Copy after login


Similarly, other pages are written similarly.
And what you said about main.htm, the link on the left controls the right. In fact, it is similar to this. As long as you use the same layout for multiple pages, when you click on it, the left side will remain unchanged, and only the right side will change, such as

You have many product pages. I might as well assume that your product pages are all static web pages, such as
product1.asp
product2.asp,
product3.asp, etc.
product1. The asp source code is
<html><head><title>我的网站首页</title> </head><body><!--#include file="head.asp"--><div id="main"><!--#include file="productCategories.asp"--><div id="right" ><h1>产品1</h1><p>更多详细内容</p></div></div></body></html>
Copy after login

where productCategories.asp is a left-side included file with the following content:
<div id="left"><a href="product1.asp">产品一</a><br/><a href="product2.asp">产品二</a><br/><a href="product3.asp">产品三</a><br/></div>
Copy after login

I missed your navigation control main.html. I suggest this. Use the card option panel that comes with dwr. If you are satisfied with my answer, please rate it. If you still don’t understand, you can chat with me in detail
How can I contact you? I don't understand DWR. How can I contact you?

I missed your navigation control main.html. I suggest you use the card option panel that comes with dwr. If you are satisfied with my answer, please give points. If you still don’t understand, you can chat with me in detail
Then you can add me to chat on QQ, 1932752998.



This is very simple and needs to be discussed in detail



  • web example




  • This is simple

    source:php.cn
    Previous article:How does jsp reference a css file_html/css_WEB-ITnose Next article:Novice solution_html/css_WEB-ITnose
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Latest Articles by Author
    Latest Issues
    Related Topics
    More>
    Popular Recommendations
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template