CSS - Trying To Make Site Working In Css.
Hello 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 Similar TutorialsI have this proplem on my site where it looks perfect in IE but in Fire Fox it looks like cr@p. http://www.bf2editor.org/ I want my CSS to look the same way on Fire Fox how can I fix this? This is my CSS doc Code: a:link {color: black; text-decoration: underline} a:visited {color: black; text-decoration: underline} input {font-size: 12px; font-weight: bold;} body { background-color: 000000; margin:0; padding:0; line-height: 1.5em; } hr {color: black} .top{ clear: left; width: 100%; background-image: url('bar2.png'); background-repeat: repeat-x color: #FFF; text-align: center; font-style: arial; font-family: arial; } .top2{ clear: left; width: 100%; background-image: url('bar2.png'); background-repeat: repeat-x color: #FFF; text-align: center; font-style: arial; font-family: arial; } .top3{ clear: left; width: 100%; background-image: url('bar2.png'); background-repeat: repeat-x color: #FFF; text-align: center; font-style: arial; font-family: arial; margin-top: -48; } div#news { background-color: E5E5E5; width: 140px; margin-top: 30; margin-left: 22; } div#login { background-color: E5E5E5; width: 140px; margin-left: 22; margin-top: 2; } div#about { background-color: #CCCCCC; width: 797px; height: 500; margin-top: -2; margin-left: 52; } div#who { background-color: E5E5E5; width: 140px; margin-left: 22; margin-top: 2; } } div#info { background-color: 898989; width: 600px; margin-top: 1cm; margin-left: 4cm; } div#info h2 { background: url( bar.png ); color: #ffffff; background-repeat: repeat-x; } div#p { } /*Page Layout*/ #maincontainer{ width: 969px; /*Width of main container*/ margin: 0 auto; /*Center container on page*/ } #contentwrapper{ float: left; width: 100%; } #contentcolumn{ margin-left: 100px; /*Set left margin to LeftColumnWidth*/ } #leftcolumn{ float: left; width: 160px; /*Width of left column*/ height: 836px; margin-left: -990px; /*Set left margin to -(MainContainerWidth)*/ background: #898989; } .innertube{ margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/ margin-top: 0; } 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 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; } 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 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 - 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 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. 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> 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? 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 . 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 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 need css help to make it a 3 column and add google adsense to my site its a music portal my18friends.com 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 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. Hi... Can any body tell me how to make effect mentioned below. http://forums.devshed.com/archive/t-175080 Basically i am a designer, and i am new to programming. When the above mentioned page will open, there are links in blue color i.e "Firewall", "Backup", "internet", "Viruses", "VPN", etc etc. I need this type of effect for my web site, can any body tell me how to make this.... Thanks Hi, I'm working on redeveloping my site using CSS (learning CSS as I go), and for the most part it's fine. I'm having a bit of a problem getting my footer (containing links to Terms & Conditions, copyright notice, etc.) to display at the bottom of the page. I have a div called MainSection as follows : #MainSection { position: absolute; border: 1px solid #000033; top: 100px; left: 1px; width: 777px; z-index: 0; } Within that, I have 3 divs - WhereYouAre, LeftPanel and MainBodyContent, as follows: .WhereYouAre { position: absolute; width: 500px; top: 8px; left: 205px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 12px; text-decoration: none; color: #000033; } #LeftPanel { position:absolute; top: 3px; left: 3px; width: 190px; border: 1px solid #000033; } #MainBodyContent { position: absolute; border: 1px solid #000033; padding: 0px 5px 5px 5px; top: 5px; left: 200px; width: 567px; z-index: 0; } Then at the bottom, after the closing </div> for the MainSection, I have my div called BottomNav: #BottomNav{ position:inherit; margin:10px; border-top: 1px solid #000033; border-bottom: 1px solid #000033; width: 780px; left: 0px; } The BottomNav keeps appearing at the top of thepage instead of at the bottom - I've tried different values (inherit / relative, etc) to see can I get something to work, but no good so far... and I can't set the positon to absolute as the location of the BottomNav depends on the length of the MainSection. Thanks a lot for any suggestions, J. Can someone show the the CSS to make the unordered list to the right of the picture display the same way in IE as it does in FF? HERE is my link. Many thank yous from the CSS noob. |