CSS-based breadcrumbs navigation and css breadcrumbs

Source: Internet
Author: User

CSS-based breadcrumbs navigation and css breadcrumbs

I imitated the following based on others' Tutorials ,:

 

Html:

   <div id="crumbs">        <ul>                <li><a href="#">Breadcrumb</a></li>        </ul></div> 

 

Css:

#crumbs ul li a {        display: block;        float: left;        height: 50px;        background: #3498db;        text-align: center;        padding: 30px 40px 0 40px;        position: relative;        margin: 0 10px 0 0;                 font-size: 20px;        text-decoration: none;        color: #fff;}    #crumbs ul li a:after{        border-top: 40px solid transparent;        border-left: 40px solid #3498db;        border-bottom: 40px solid transparent;        content: '';        position: absolute; right: -40px; top: 0;    }     #crumbs ul li a:before{        border-top: 40px solid #3498db;        border-left: 40px solid transparent;        border-bottom: 40px solid #3498db;        content: '';        position: absolute; right: 180px; top: 0;    }

 

Note: even if no character is set for the content, the content must be empty. Otherwise, the content cannot be displayed.

 


Css problems in wordpress breadcrumb navigation

Try to limit the div width of the breadcrumb part in the introduced css file.
For example:
. Breadcrumbs {width: 960px ;}
Hope you can help the landlord. wordpress has never been used. Try it.

How can I help you simplify the navigation structure of a site?

? Why? Are you confused? Why is there a zinc deficiency? Which of the following is anti-fraud protection? Which of the following has it fallen ?? Why ?? School? 5 bytes? Zheng He: What is the lag of melons? Why is jomm throwing a beep? Is the stool ready for living? Why? What is the barrier muscle protection? The ghost value has all been the Yundi value of qinghuan tongtan tongxia ?? Why is it true? What is the ultimate travel experience? What are the differences between the V and the V? What kind of work is it? Hey, what's the brain of gender? Why ???. If your website directories are stored in different folders by category, you can use PHP or javascript, but use PHP, it is more conducive to SEO search engine optimization, because this method can be easily recognized by crawlers, And the implementation method can use the PHP $ _ SERVER variable to get the URL of the page and then process it. For example, you can use str () series functions of php or ereg () series functions. Of course, you must use any of the following methods. 2. Your website uses PHP, right? Most of the data is stored in the database, right? So you have set up directory classification for MYSQL, right? Maybe even cascade ends or internal connections, right? When you read the webpage content, you can extract the category information from the database and column it to the navigation bread step by step. This approach is even easier than the first one. 3. if your database category is not very clear (of course, if this step is achieved, the quality of your website remains to be discussed ), then you should simply create a new field in your database and put the breadcrumb navigation link of the article into the record. Then you can extract it directly. 4. Is your page static? Comments from the questioner:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.