hey people
i am building a website that has a leftbar which has some links.
i added the code and the div of the leftbar and everything was very fine until i tried to lunch the site on firefox and safari.
in opera and IE it is fine but in firefox and safari the links apear like this:
ProfilePhotos
Blog!Friends
GroupsPages
Events
while it is supposed to be like this:
Profile
Photos
Blog!
Friends
Groups
Pages
Events
the code is this:
<a href="profile.php?uid=<?php echo $id; ?>" title="Go to your profile" id="list">Profile</a><BR><BR>
<a href="photos.php?uid=<?php echo $id; ?>" title="Go to your photos" id="list">Photos</a><BR>
<a href="blog.php?uid=<?php echo $id; ?>" title="Go to your Blog!" id="list">Blog!</a><BR>
<a href="friends.php?uid=<?php echo $id; ?>" title="Your Friends" id="list">Friends</a><BR>
<a href="groups.php?uid=<?php echo $id; ?>" title="See your Groups" id="list">Groups</a><BR>
<a href="pages.php?uid=<?php echo $id; ?>" title="See Your Pages" id="list">Pages</a><BR>
<a href="events.php?uid=<?php echo $id; ?>" title="Your Events" id="list">Events</a><BR />
and it is located in a divs with the id left and lft_bar
the css is:
#left_bar {
background-color:#333333;
color:#FFFFFF;
font-size:18px;
float:left;
width:24%;
height:auto;
}
please tell me what shall i do to solve this.
any help will be greatly appreciated!