IE CSS problem - again!
- Started
- Last post
- 13 Responses
- Atkinson
http://www.caferoyal.org. Good in Safari and FF, IE kills it. I need to fix the logo - IE gives it a blue border, nice. Also the seach bar if off line and 'view cart' is on the next line - all these should be on the same line. Whoever lets me know the fix that works gets a free zine, not that that's much of a bribe but's it's all I have!
- Atkinson0
oh, some stickers and a badge too, and a card. Hm, still not much of a bribe I know.
- acescence0
#bar a {border:none;}
- doesnotexist0
border = none
- doesnotexist0
in the image command I always put image.jpg" border=none or zero
- trooper0
re nav not ligning up probably should re-work your ul's like this
<ul><li><a
href="">text</a></li><li><a
href="">text</a></li></ul>because ie doesnt like li's on different lines and likes them run in together
it would help if the css was inline dude.
- ender790
or #bar a img {border:none;}
i think that would take the outline off of the image link
- trooper0
img{border:none}
- acescence0
<div class=”navbar”>
^ not proper single-quote characters there
- trooper0
why have ul inside a div called navbar? why not just <ul id=navbar> one of my pet peeves
- Atkinson0
thanks for these, not noing what any of this stuff means makes it tricky though! I'm ok at chopping up existing code but I can't read or write it if that makes sense. That's where the prob has arrisen - me messing with it! I've added the border: none thing, so I'll check IE later and see if that's worked. As for the menu, I've no idea what all that means, sorry, and thanks. Could you post the code as it should be, with my code included please? No worries if not, I know I'm asking a lot here!
- ender790
about your navigation, try this:
give your #nav a width of 870px.
take the margin-left: 700px off of #search, and replace it with float:right;see if that helps the menu item to stay on one line in ie.
- cafeful with floats though as they can make things hop around when the browser is resized7point34
- yeah thats why I used the margin, think Ive been told that before?Atkinson
- good point, 7point34.ender79
- give it a try. i think it'll work. i played around with some dummy code, and it did what it was supposed to do.ender79
- Atkinson0
ok tried that, could someone with IE take a look please if you have a sec?
- trooper0
dude... save your css inline and help us to help you!