duandou8120 2017-04-07 11:53
浏览 63

如何将CSS样式应用到我的第二页[about.php]?

My File names: 1.) about.php 2.) styles.css

The same stylesheet is also applied to index.php .

I want to style the section part of the page. I tried it by styling the [Eg.], .section-info{color:#555;}

but it didn't helped. Also should I change the stylesheet name to styles.php? Thanks In Advance.

<?php

/* Website Header */

    include ("include/header.php");
    
?>

<!-- Website Page-2 Main Content -->

<div class="wrapper">

                
            <section>
                <div class="section-info">
                    <h2>About Us</h2>
                        <p>blah...blah...bllah....</p>
                </div>
                
            </section>
           
    </div>
                    
   
 <?php
    /* Website Footer */
    
    include ("include/footer.php");
?>

</div>
  • 写回答

2条回答 默认 最新

  • dongqiyou0303 2017-04-07 15:08
    关注

    Try to give it different class or inline style.

    评论

报告相同问题?

悬赏问题

  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)