- This topic is empty.
-
AuthorPosts
-
June 3, 2008 at 10:51 am #22740buckycat7Member
Least surprising subject line of the day I’m sure…
I have a bug in IE6 and below that I can’t seem to find an answer, I’m hoping this is really easy and it’s just because of my lack of sleep over the past 5 days in trying to finish up a site is the reason I can’t figure it quickly. I’m attaching a screen shot of the problem in IE6 because I really doubt there is a lot of people on this forum with it still installed.
As you should be able to see my problem is the menu bar rounded "cappers" where there is a white line between the menu and were the image for the rounded corners start.
Here is the CSS I used:
Code:.left_end{margin: 0px; padding: 0px; height: 25px; width: 12px; background: url(‘images/left.jpg’) no-repeat; float: left;}
.right_end{margin: 0px; padding: 0px; height: 25px; width: 12px; background: url(‘images/right.jpg’) no-repeat; float: right;}
ul#dropnav {margin: 0; list-style: none; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; color: #fff; background: url(images/menubg.jpg) repeat-x; height: 25px; padding-top:1px;}Then here is the HTML:
Code:Not the best way to do it, but I needed to do something quickly. Any ideas?
June 3, 2008 at 11:09 am #47743koewnetMemberWhat about setting left/right-padding on ul#dropnav to zero (0)? Like this:
Code:ul#dropnav {margin: 0; list-style: none; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; color: #fff; background: url(images/menubg.jpg) repeat-x; height: 25px; padding: 1px 0 0;}Then ul#dropnav will have top-padding of 1px and the rest will be 0 px.
Also remember that the <li>-items will have default paddings/margins if you do not set them yourself.
June 3, 2008 at 12:00 pm #47745buckycat7MemberAll of the margins and paddings are reset in my code. Sorry that I didn’t note that, but I tried that left and right padding to 0 already and still end up with the same bars.
June 3, 2008 at 2:02 pm #47749buckycat7MemberThat didn’t work either.
June 3, 2008 at 11:13 pm #47755buckycat7MemberI can’t post a link to it because it’s only setup on my company’s local development server. So thats way I tried to post everything that was needed and all of the details with the code and the zoomed in screen shot.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.