Hi all!
I am not sure where this forum should go but I just took a guess. I have created a list using DIV and external CSS. The list looks fine in IE7 but not in Firefox. I was hoping someone can take a look at this an let me know what is the issue.
When I add more text to each list, the yellow bullets gets wacky in Firefox. It will only look good if I add just 1 line within each list. The more lines I added, the more it looks out of place.
Here is the HTML code:
Here is the external CSS:
I am not sure where this forum should go but I just took a guess. I have created a list using DIV and external CSS. The list looks fine in IE7 but not in Firefox. I was hoping someone can take a look at this an let me know what is the issue.
When I add more text to each list, the yellow bullets gets wacky in Firefox. It will only look good if I add just 1 line within each list. The more lines I added, the more it looks out of place.
Here is the HTML code:
Code:
<head>
<style type="text/css">
ul {list-style: none;}
li {color:#fc0;line-height:1.2;}
li span {color:#000; display:inline-block; vertical-align:top; padding-left: 4px;}
</style>
</head>
<body>
<div id="sage1" class="paragraph1"> knldknlskdnflskd sldknfsldk flskdn flksnd lfkn sldkfn lkn lsdknf lskddnf lksdf lksdn fls.
<div class="list">
<ul >
<li style="height: 3em;">?<span> oidjfosijdfoisjdfoij dfjos dfojs dofj sodif osdjfosidj fosijdf ois dfojosidjf.</span></li>
<li style="height: 4em;">?<span> sdfsdfsdf odjfo sijdij osidj fos oijod fsoi doi fosdfosdfrf f oif sod eoi o vidfv odifv oij oisdofi soidjf osidj foisdj o ojfojsdoifj osdi osdosodfosodofs odfsodfosidjfoisjdf oisjdos .</span></li>
<li style="height: 4em;">?<span> sdfsdfsdf odjfo sijdij osidj fos oijod fsoi doi fosdfosdfrf f oif sod eoi o vidfv odifv oij oisdofi soidjf osidj foisdj o ojfojsdoifj osdi osdosodfosodofs odfsodfosidjfoisjdf oisjdos .</span></li>
<li style="height: 4em;">?<span> sdfsdfsdf odjfo sijdij osidj fos oijod fsoi doi fosdfosdfrf f oif sod eoi o vidfv odifv oij oisdofi soidjf osidj foisdj o ojfojsdoifj osdi osdosodfosodofs odfsodfosidjfoisjdf oisjdos .</span></li>
<li style="height: 4em;">?<span> sdfsdfsdf odjfo sijdij osidj fos oijod fsoi doi fosdfosdfrf f oif sod eoi o vidfv odifv oij oisdofi soidjf osidj foisdj o ojfojsdoifj osdi osdosodfosodofs odfsodfosidjfoisjdf oisjdos .</span></li>
<li style="height: 4em;">?<span> sdfsdfsdf odjfo sijdij osidj fos oijod fsoi doi fosdfosdfrf f oif sod eoi o vidfv odifv oij oisdofi soidjf osidj foisdj o ojfojsdoifj osdi osdosodfosodofs odfsodfosidjfoisjdf oisjdos .</span></li>
</ul>
</div>
</div>
</body>
Here is the external CSS:
Code:
.shadetabs{
padding: 3px 0;
margin-left: 0px;
margin-top: 320px;
margin-bottom: 6px;
font: bold 12px Verdana;
list-style-type: none;
text-align: left;
}
.shadetabs li{
display: inline;
margin: 0;
}
.shadetabs li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 9px 45px;
margin-right: 1px;
color: #2d2b2b;
background-image: url(shadeactive2.gif);
}
.shadetabs li a:visited{
color: #2d2b2b;
}
.shadetabs li a:hover{
text-decoration: none;
color: #2d2b2b;
}
.shadetabs li a.selected{
position: relative;
top: 1px;
}
.shadetabs li a.selected{
background-image: url(shadeactive.gif);
border-bottom-color: white;
color: #FFFFFF;
}
.shadetabs li a.selected:hover{
text-decoration: none;
}
.tabcontent{
display:none;
}
.tab {
height:20px;
width:762px;
left: 17px;
position:absolute;
}
.paragraph1 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: bold;
left:25px;
top: 370px;
width: 400px;
position:absolute;
display:block;
}
.paragraph2 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: bold;
left:25px;
top: 370px;
width: 400px;
position:absolute;
display:block;
}
.paragraph3 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: bold;
left:25px;
top: 370px;
width: 400px;
position:absolute;
display:block;
}
.paragraph4 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: bold;
left:25px;
top: 370px;
width: 400px;
position:absolute;
display:block;
}
.list {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: normal;
display:block;
left:0px;
top: 43px;
position:absolute;
width: 450px;
}
.tabbluebar {
height:2px;
width:526px;
left: 0px;
top:347px;
position:absolute;
}
.tabfooter {
height:2px;
width:526px;
left: 0px;
top:814px;
position:absolute;
}
Notice that there is CSS style within the HEAD section as well as an EXTERNAL CSS.
Thanks for any advice!!!