我把这个标志放在我的网页设计的左上角,页面的其余部分是在表格的帮助下设计的,因为这种风格的标志在表格格式中是不可能的,我做了一个 2 div 的包装整个布局和另一个用于徽标.. 包装 div 是相对的,徽标 div 是相对的,并且以某种方式将徽标放置在我希望在页面中看到的位置.. 但问题是导航栏链接不起作用一旦徽标位于导航栏上方..
第二个问题是在为其提供顶部和左侧属性之前在其放置的位置留下一个空白区域!如果我定位标志的方式是错误的!或者如果有任何其他选择请建议..提前谢谢!干杯!
网页是:http://www.aravind123.0fees.net/products.html
CSS:
#mainwrap{
postion:absolute;
width:1000px;
margin: 0 au``to;
margin-top:0px:
vertical-align:top;
z-index:99;
}
body {
background-image: url(Images/bg.jpg);
background-repeat:repeat-y;
top: auto;
}
.text1 {
font-family: "Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size: 14px;
color: #FFF;
text-decoration: none;
}
.text2{
font-family:"Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size:12px;
color:#333;
text-decoration:none;
text-align:center;
}
p{
font-family:"Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size:12px;
color:#333;
text-decoration:none;
text-align:center;
}
#logo{
position:relative;
bottom:-90px;
left:-50px;
z-index:50;
}
a:hover{
color: #000;
}
.logo{
border:none;
}
.offer{
font-size:28px;
vertical-align:middle;
}
.text11 { font-family: "Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size: 14px;
color: #FFF;
text-decoration: none;
}
.text111 {font-family: "Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size: 14px;
color: #FFF;
text-decoration: none;
}
.text1111 {font-family: "Copperplate Gothic Bold";
src: url('Copperplate-Gothic-Bold-Regular.ttf');
font-size: 14px;
color: #FFF;
text-decoration: none;
}