Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-05-2004, 05:25 PM CSS and IE Problem
Unknown.

Posts: 1,693
Trades: 0
Ive created a menu where the links use css.. Whats supposed to happen is when you hover the background, text and border change..

It works fine in Firefox but with IE the border only appears on the left bottom and right sides not the top...

The code is..

HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<style type="text/css">
.navbar {
background-color:#CDCFD8;
font-size:10px;
text-align:center;
height:25px;
}
.navbar a {
font:10px Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
color: #000000;
border: 1px solid #CDCFD8;
padding: 3px;
}
.navbar a:hover{
color: #E6E6E6;
background-color: #CC0000;
border: 1px solid #000000;
padding: 3px;
}
</style>
</head>
<body>
<table width="100% border="0">
<tr>
<td class="navbar">
<strong><a href="#" target"_top">Home</a></strong> | 
<strong><a href="#" target"_top">Other Link</a></strong> | 

<strong><a href="#" target"_top">Another Link</a></strong>
</td>
</tr>
</table>
</body>
</html>
and an example @ http://www.xionet.co.uk/temp/css.htm

I hope someone can help I really need to solve this as most the visitors will be using IE..

Thanks

--James

Last edited by Dark-Skys99; 11-05-2004 at 05:28 PM..
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2004, 06:54 AM
Extreme Talker

Posts: 160
Trades: 0
Try giving the .navbar class a padding of say 10px.
Also I noticed your table width value is not closed with a double quote.
ElectricSheep is offline
Reply With Quote
View Public Profile
 
Old 11-06-2004, 07:37 AM
Unknown.

Posts: 1,693
Trades: 0
Thanks.. But I wanted to keep the padding 3 so it doent fill the whole of the row height...

But managed to fix it now by adding the height:11px to the link classes

--James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS and IE Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.26288 seconds with 12 queries