CSS - New Site:<li>nav Not Working In Ie7
New site under development and a <li> nav menu isn't working in IE7. This has totally flumoxed me and there's a bit on the web about it, but anything I have tried has not worked.
three60design.com/sky_site/home.htm Also am trying to reduce the distance from the heading "Services" to the start of the content. Any ideas on both issues??! BTW I have validated XHTML and my CSS and the error remains.... Many thanks in advance Gerry Similar TutorialsHello We have a website that is working perfectly fine in IE. But when viewed in firefox...every thing is messed up. I just joined on the project and coming from college environment i think it is essential to get the site workin in firefox. However, i dont have much exp. with css. current i have downloaded EditCSS extension for firefox so that i can views the css and dynamically make changes. The login page when viewed in IE works fine but in firefox...the footer comes inside the header. While looking at the css file and playing around iwth it..i notices that this block of the css is creating problems. Please help? [code] div.container { position : fixed; height : 768px; width : 1024px; margin:0px; padding:0px; font-size: 14; } [\code] When i take this block out...then the footer moves below a little but still not all the way to the bottom of the page. Please help Hi, At my site webpage http://www.pt2fansite.com/demo/monsters.pl there is a list on the middle where after the name of monster the colors changes that table has Code: style="margin-left: 6; padding-top: 2px;" but once i putted it all together it stoped working and is no longer giving the space to it.... What could be possible making it not work ? i have tried to put it into my style.css file and out of it and both ways it does not work. thanks for any help Please let me know if i've posted in the wrong forum... and I apologize in advance in case I have. I've built a site using Apache and PHP. On my local laptop, (which is windows xp professional) everything looks great and my styles are being picked up. When i copy my code over to our unix server, none of the styles are being picked up. I know that Unix is case sensitive but the part thats "failing" is the proper case. I'm not sure what else I can check for.... here's the code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <title>test.ca</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /> </head> <body bgcolor="#FFFFFF" text="#404040" link="#0000FF" vlink="#990099" MARGINWIDTH="1" MARGINHEIGHT="1" TOPMARGIN="1" LEFTMARGIN="1" RIGHTMARGIN="1"> <link type="text/css" href="style/menu.css" rel="stylesheet"> <link type="text/css" href="style/gencontent.css" rel="stylesheet"> And in my gencontent.css, i have the following entry for the BODY tag: Code: body{ list-style: none inside; font-family: verdana, arial, helvetica, sans-serif; background-color: #D2E2F0; } OK, I have tested all browsers both Mac and PC, and the only issue I have is with the AOL browser. You can see the site here Can anyone tell me how to trouble shoot CSS for the AOL browser? thanks - Upon initial load, you see a red block over the images. Why does it do that and how can I fix it? http://www.kubicle.com/beta/ Hi, I am working on moving my tables based site to a tableless css layout. I just wondered if anyone out there could please help, by viewing my site with a Mac, to see if the header image appears. The URL is: http://www.jimpix.co.uk/ecards2/default.asp Another site I made for someone has a header image, defined via the 'background' css property for one of the DIVs, and I have been told it doesn't appear on a Mac. That site is: http://www.somewhereinbetween.biz/ I am concerned my site will suffer from the same problem with a Mac. It looks okay in IE and Firefox. Thanks Jim Hey all. I have not done a great deal of web development, and whatever I have done has been with tables. I have seen a great many debates on the whole table vs div topic, and so this time thought I'd put together a site with divs + css rather than tables + css. so I have a few questions. here is the very simple code I've got so far. Code: <?php include("header.php"); ?> <div id='container'> <div id='header'> Header </div> <div id='rootmenu'> menu </div> <div id='docbody'> <div id='content'> content </div> <div id='sidemenu'> side </div> </div> </div> <div id='footer'> Footer </div> <?php include("footer.php"); ?> and the css file: Code: html, body { height:100%; } #container { width: 100%; height: 100%; margin: 0 auto 0 auto; margin: 0px auto 0px auto; } #header { height: 10%; width: 70%; background: #000; margin: 0px auto 0px auto; } #rootmenu { width: 70%; background: #fff; margin-bottom: 5px; margin: 0px auto 0px auto; } #docbody { width: 70%; height: 85%; padding: 0px; margin: 0px auto 0px auto; } #content { height: 100%; width: 80%; background: #45f; float: left; } #sidemenu { height: 100%; width: 15%; background: #56f; float: right; } #footer { width: 70%; background: #333; margin: 0 auto 0 auto; } most of this is based on code I've been looking at on sites like oswd.org. I would just like to know that I'm on the right track with my divs and css before putting too much work into the site. it always sucks to realise a serious design flaw at a later time. so please, could I get some suggestions on what I need to change and any important things I should know? cheers. Hi Any comments, especially CSS wise would be muchly appreciated... URL One thing I did notice was that when you click on a link to go to a page with more content that the one you were on before, that the entire layout shifts...any ideas anyone? thanks! Modo Hey guys. I've been looking for this site that I should have bookmarked when I found but have lost. I can TRY and describe it as best I can. The main background color was white with, depending on the style you've set, a glass of wine or mug of beer fairly large in size and with a low opacity. The styles were simple. Purple or yellow. Wine or beer. Mostly black text. I forget how it was you were able to change them, but he used it in some examples. The menu had list items similar to the naving convention: liquid 2 column nf fixed 3 column nfnh liquid/fixed 3 column etc. The header was the whole wording of whatever the menu items were. Each page he showed examples using css, xhtml and sometimes javascript with the code on the page. At the bottom of each example it had a group for user comments. Some were empty. I don't remember any logos at all on the site other than the wine and beer. I think the url was something like: www.site.com/nameNO~/ I found it the same day I found the "seabold why tables are stupid" site. I remember reading a solution to a problem that I've encountered but I don't remember the code, I was just skimming the site. I tried finding other solutions, or the same solution somewhere else with no luck. Thanks So I am just getting into designing with CSS, and really enjoying it. I put up this site for a friend, its my first coded by hand. I did it all with BBedit on a mac, and it looks fine on Safari and Firefox. However, as you can see, it looks terrible on IE, totally unusable, and I would accept any advice on how to fix it. The menu came from seco consultants and uses whatever:hover to work in IE, though in this case it dont work. The layout is all screwed up too. Anyone want to offer some advice? Here's the site: dobsonfarm.com/connaught Thanks very much, Robin Turner hello, ive made a site for a client but for some reason when they first see it it moves up and then after they go back its fine. they use an old IE so i cant see why it does on my computer and its fine on mozzilla to. www.designerbagsboutique.co.uk is the website, can anyone help? Hi I need css help to make it a 3 column and add google adsense to my site its a music portal my18friends.com Here is a new template I am working on for my site (only "Home", "Events" and "People" work, at the moment). It displays as designed in Firefox but it looks absolutely terrible in IE6. I am aware that there are several ways of hacking IE6 to make it behave differently, however I'm not entirely sure of where in particular I should be applying these. I am currently getting back into creating websites and learning new ways to make them. I like using Photoshop to create the graphics, but is there any way that I can use CSS to make it so that on all my pages the main portion on the site remains the same, such as the header, footer and side bars? Appreciate the help. BTW... the site address is Orpheus Designs . I've been trying to work this for 3 hours now, and I need help!! My problem is that I get cursors on 3 of my links but not the other two. Link to the site is http://borgweb.se/beta <- try the menu css is: Code: body { min-width:1024px; background-color: #f5f3ec; margin-right: 0px; margin-left: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; } #header { height:240px; width:100%; background-color: #1e1303; background-image: url(images/topback.png); background-repeat: no-repeat; background-position: 50%; margin-right: auto; margin-left: auto; } #header-logo{ max-width:1024px; position:relative; width:1024px; height:240px; background-image: url(images/bw_logo.png); background-repeat: no-repeat; display: block; margin-right: auto; margin-left: auto; } #menu { background-image: url(images/menu.png); height: 76px; width: 75px; float: right; position: relative; top: 80px; right: 20%; } #home { height: 12px; position: relative; display: block; cursor: pointer; } #home a { background-position: 75px; } #aboutme { height: 12px; position: relative; top: -3px; cursor: pointer; } #portfolio { height: 12px; position: relative; top: -5px; cursor: pointer; } #blog { height: 12px; position: relative; top: -8px; cursor: pointer; } #contact { height: 12px; position: relative; top: -10px; cursor: pointer; } #container { width: 1024px; margin-right: auto; margin-left: auto; display: block; float: left; } html is: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="header"> <div id="header-logo"> <div id="menu"> <div id="home" onclick="location.url('#');"></div> <div id="aboutme"></div> <div id="portfolio"></div> <div id="blog"></div> <div id="contact"></div> </div> </div> </div> </body> </html> Hey here's the address to my first site using Css layouts. http://funnyguys99.tripod.com/index.htm Please help me fix the logo so it adapts to different resolutions, and I can't figure out how to get that blue bar to the very bottom?!! Please help I'm a big newbie Has anyone got any advice/experience on how to manage the css issues related to a site with upwards of 7, 000 pages. The client wants to have at least 60% of the total pages in the site to be bespoke in terms of design and layout and obviously this will create some very big challenges in terms of planning and implementing the css. The reason why they want so many bespoke pages is because a site with that many pages would make for a very boring user experience if there was just one design and layout site wide. Any suggestions or advice would be great Cheers I want to add a box that contains content and I want the box background to be quite dark, but just a bit transparent to show some of the background through it. I may or may not want it to have a border... I haven't decided. The box will contain text and possibly links and photos as well. Could someone help me figure out how to create the box? Each section of this web page will contain a separate picture with the same content box but it's location will change to suit the picture. One section for instance will only contain photos. In the photo section, I would like to add an icon on either side of the box that you can click to change to the next photo in the series. Any help on this would be awesome as well. The blog section of the web page will be linked to an off site RSS feed from Tumblr and that content will be displayed inside one of these boxes as well. I'm not sure how I can go about having the content be scrollable within the box. Any ideas? That's it for now but I'm sure I will have more questions. I am using Adobe Dreamweaver to build this site and so if anyone knows how to do this stuff within the program, that would be great.... or I can manually add the code in the "code" window of the program. Thanks. Hi there I have a small problem with my web site on IE, and Im sure it something to do with the css, any help will be appreciated. SEE BELOW FOR DETAILS MY WEBSITE Code: @charset "ISO-8859-1"; body {margin:0;padding: 0px;font-family: Verdana, sans-serif;font-size: 0.75em;text-align:center;background-image:url(../images/FaiGurFrontPageBg3.jpg);} .wrapper { width:914px; margin-left:auto; margin-right:auto; background-color:#FFF;} .mainimg { background-image:url(../images/LOL4.jpg); width:914px; height:239px;} .aboutimg { background-image:url(../images/LOL6.jpg); width:914px; height:239px;} .mainimg { background-image:url(../images/LOL4.jpg); width:914px; height:239px;} .mainimg { background-image:url(../images/LOL4.jpg); width:914px; height:239px;} .imgfist { background-image:url(../images/FistsInfo.jpg); width:914px; height:174px;} .imgfoot { background-image:url(../images/FootInfo.jpg); width:914px; height:174px;} .logform {width:914px; height:28px; text-align:left; background-color:#930; color:#FFF;} .logform form {width:770px; float:left; margin:0 0 0 0; padding:0 0 0 0;} .form1 {width:526px; margin-left:auto; margin-right:auto; } .form1 table {margin:0 0 0 0;} .form1 form { margin:0 0 0 0;} .regpic {background-image: url(../images/Reg%20Pic.jpg); width:526px; height:122px;} .term {font-size:11px;} #wrapper2 { background-image:url(../images/TermsPage.jpg); width:914px; } .menubar { width:914px; padding-left:78px; background-color:#933; height:30px; padding:0; text-align:center; } .menubar ul { margin:0 auto 0 auto; padding:0 0 0 0; text-align:center; display:inline; } .menubar ul li { display:inline; height:30px; float:left; list-style-type:none; font-size:12px; margin:0; text-align:center; padding-top: 0; padding-right: 10px; padding-bottom: 0; padding-left: 10px; border-right:thin; border-right-color:#999; border-right-style:solid; } #wrapper2 { background-image:url(../images/TermsPage.jpg); width: 918px; height: 1548px;} .menubar ul li.first { border-left:thin; border-left-color:#999; border-left-style:solid; } .cent {margin-left:60px; margin-right:auto; text-align:center;} .menubar ul li a { text-decoration:none; padding:6px 0 0 0; margin:0 0 0 0; display:block; height:30px; color:#FFF;} .menubar ul li a:hover { text-decoration:none; padding:6px 0 0 0; margin:0 0 0 0; display:block; height:30px; color:#fff; background-color:#666} .flashdiv2 { overflow:hidden; margin:0 0 0 0 ; } .FlashVid { float:left; overflow:hidden; margin:0 0 0 0;} .leftbar { float:left; background-image:url(../images/RightbarNew.jpg); width:76px; height:630px; } .content { width:762px; height:630px; margin:0 0 0 0; padding:30px 0 0 0; float:left; background-color:#FFF; } .rightbar { float:left; background-image:url(../images/LeftbarNew.jpg); width:76px; height:630px; } .conttitle {font-family: Arial, Helvetica, sans-serif;font-weight: bold;font-size: 18px;text-align:center;} .contbody {font-family: "Comic Sans MS", cursive;font-size: 18px;text-align:left;} .con {height:750px;} .footer {background-color:#FFF;margin-left:auto; margin-right:auto; width:914px;} .clear { clear:both} Hi there. Please have a look here. Could you please report any prob you come into and the browser you're on? Check out the layout section. Thank you in advance :) |