DIGIT-ARC read-only archive · snapshot: July 23, 2026

Problem in CSS

3 posts · originally from https://geek.digit.in/community/threads/problem-in-css.144000/

R
rv1990 Original post #1
Jul 19, 2011 at 2:28 PM
Hey Guys this is RV here ..
I was doing CSS for a website...The CSS worked well in Internet Explorer
whereas the same CSS file didnt worked in Opera 11.10.
Please help me in finding the solution.
:x
Zangetsu
Jul 19, 2011 at 3:00 PM
The CSS worked well in Internet Explorer
whereas the same CSS file didnt worked in Opera 11.10.

Buddy just these words don't explain what the problem?
could u just post the code snippet of CSS.
and how u actually implemented the CSS.

that would be more helpful to both of us :-D
R
rv1990 #3
Jul 23, 2011 at 8:08 AM
ok i will be posting that code...

here

CSS file
*********************************************
html,body{
margin:0;
padding:0;
}
h1
{
margin:0;
padding:0;
}
body
{
font-family:Arial,Helvetica,Verdana,Sans-Serif;
font-size:"12px";
color:"#666666";
background:"#ffffff";
}
#page-container
{
width:760px;
margin:auto;
}
#main-nav{

height:50px;
}
#main-nav dl
{
margin:0;
padding:0;
}
#main-nav dt
{
float:left;
}
#main-nav dt a
{
text-decoration:none;
display:block;
color:eek:range;
padding-right:50px;
padding-left:50px;
font-size:18px;
text-align:center;
}
#main-nav dt a:hover
{
background:eek:range;
color:white;
}
#header{
height:150px;
background:#db6d16;
}
#header h1
{
margin-top:10px;
margin-left:380px;
}
#side-bar{
float:right;
width:280px;
line-height:18px;
}

#content
{
margin-right:280px;
line-height:18px;
}
#content h2
{
color:eek:range;

}
#side-bar .padding{
padding:25px;
}
#content .padding{
padding:25px;
}
#footer
{
clear:both;
height:66px;
font-family:Tahoma, Arial, Helvetica, Sans-Serif;
font-size:10px;
color:#c9c9c9;
}
#footer a{
text-decoration:none;
color:#c9c9c9;
}
#footer a:hover
{
color:#db6d16;
}
#footer #altnav
{
text-align:right;
float:right;
width:350px;
}
.hidden{
display:none;
}
#content h2
{
margin:0;
padding:0;
padding-bottom:15px;
}
#content p
{
margin:0;
padding:0;
padding-bottom:15px;
}
*******************************
The problem is opera is not able to render it....
jus solve this problem please