样式表问题 [英] style sheet problem

查看:90
本文介绍了样式表问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要您的帮助朋友
我在母版页上使用CSS.并为左侧容器应用CSS.
我的样式表是

i need your help friends
i am using css on the master page . and applying css for the left container.
my style sheet is

#mainBody #LeftContainer{width:205px; margin-left:5px;  float:left; margin-right:100%;  color:red; position:relative;}
#mainBody #LeftContainer .leftBoxContent{ padding:15px 0px  8px 0px; margin:0 0 0 12px; width:200px; color:red;}
#mainBody #LeftContainer .leftBoxContent .li{ padding:0 0 6px 0px; margin:13px 0 0px 12px; color:red; font-size:12px; font-weight:bold;  width:200px; }
#mainBody #LeftContainer .leftBoxContent2 .icon{ width:30px; color:red; float:left; }
#mainBody #LeftContainer .leftBoxContent2 .text{ width:150px; padding:3px 0 0 0px; float:left; color:red; font-family:verdana, Helvetica, sans-serif; font-size:18px; font-weight:bold; }
#mainBody #LeftContainer .infoBox{ padding:0 0 6px 0px; margin:20px 0 0px 12px;  width:200px; color:red; height:136px;  color:Lime; }
#mainBody #LeftContainer .infoBox .contactDetails{ padding:10px 0px 0 10px; margin-right:5px;color:red;  height:33px;}
#mainBody #LeftContainer .infoBox .noBorder{ border:none; }
#mainBody #LeftContainer .infoBox .contactDetails .icon{ width:40px; float:left; }
#mainBody #LeftContainer .infoBox .contactDetails .text{ width:140px; padding:3px 0 0 0px; float:left; font-family:verdana, Helvetica, sans-serif; font-size:18px; font-weight:bold; }



但是我在页面打开时无法正常显示.对齐方面有些不好,请帮助



But i when the page get open so it is not able to display properly . something is not good in alignment please help

推荐答案

您好,

您使用的是哪种浏览器,如果您使用的是firefox,它可能会正常工作,但是其他的则是firefox浏览器不支持嵌入式css,或者您已经创建了一个css文件并包含了该文件的母版页,或者将样式标签应用于html标签
Hello,

Which browser you are using, if you are using firefox, it might work fine but other then firefox browser is not supporting inline css either you have create one css file and include that file master page, or apply style tag to your html tag


这篇关于样式表问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆