Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i need your help friends
i am using css on the master page . and applying css for the left container.
my style sheet is
CSS
#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
Posted
Updated 9-Mar-12 23:37pm
v2
Comments
Sergey Alexandrovich Kryukov 11-Mar-12 0:03am    
"Something is not good" is not informative. You need to give us HTML sample, describe what layout do you expect, what's the problem.
--SA

1 solution

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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900