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.

CSS Forum


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



Reply
Old 06-25-2007, 05:43 PM Block/Inline in IE
Novice Talker

Posts: 10
Name: mark
Trades: 0
okay, i've been fiddling with this for a few hours now and i can't find a decent fix. i have a horizontal menu that uses images to keep each tab resizable. the html is pretty straightforward, just an unordered list. here is the css:

Code:
#menu_item{
  font-weight: bold;
  margin: 10px auto 0px auto;
  list-style-type: none;
  height: 30px;
  width: 800px;
  padding-left: 144px;
}
#menu_item ul {
  list-style; none;
  text-align: center;
}
#menu_item li {
  height: 30px;
  display: inline;
  list-style-type: none;
  float: left;
  margin: 0 0 0 0px;
  padding: 0 0 0 10px;
  background: url(images/menu_1.gif) #e5e5e5 top left no-repeat;
}
#menu_item li a {
  color: #000;    
  background: url(images/menu_1.gif) transparent top right no-repeat;
  padding: 6px 10px 0 0;
  text-decoration: none;
  height: 30px;
  display: block;
}
#menu_item li a:hover {
  color: #fff;
}
#menu_item li:hover {
  background: url(images/menu_2.gif) #e5e5e5 top left no-repeat;
}
#menu_item li:hover a {
  background: url(images/menu_2.gif) transparent top right no-repeat;
}
in FF and Opera its fine and displays exactly how i want (horizontal). in IE it displays as a very sloppy vertical menu. when i take the 'display: block' out it is horizontal in IE, but then a lot of the other parameters are screwed, typical IE style. any sort of hack or quick fix for this?
mmecca is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2007, 03:29 PM Re: Block/Inline in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Can we see the HTML to go with that or a link to the page ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Block/Inline in IE
 

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 0.32207 seconds with 12 queries