BooZker
Jan 15 2007, 08:57 AM
I have my site http://boozkerstweaks.trap17.com and just when i thought i had everything perfect i just had to go to my Windows computer to check it because i made it on my mac and tested it in: Netscape, Opera, Safari, and Firefox. I only had stupid IE and it displayed it horribly wrong. There is nothing wrong with the CSS. I checked the mathematics of it and it seems fine. It's like it's displaced. The header and the rest of the site are disconnected. There is also a white line down the right side of the page. I think it might have something to do with the CSS's background-color or border. This really frustrates me  this might be because i can hardly stay awake and i'm trying to fix it, but even so i just dont feel like fixing it. Does anyone know if this happens in IE6? Because i was testing it in IE7. I'm sure SM is going to be here and he will be "duh its the..."  style sheet is: http://boozkerstweaks.trap17.com/style.css
Reply
BuffaloHELP
Jan 15 2007, 09:23 AM
I think the problem is you have many classes but not enough structure--I hope that is the right expression. Try defining your body to a specific width something like CODE #body { margin: 0 auto; width: 800px; padding: 0 0; } and then define a header div as ID etc. So the basic structure of your site would be something like: HTML <body> <div id="header"> </div> <div id="content">
<div id="right_menu"> </div>
</div> </body> This way, they are all aligned within the "body" and cannot wander about. You can even do DIV for left and DIV for right and use float to divide content from menu.
Reply
BooZker
Jan 15 2007, 09:27 AM
OK i will try this. In other words though you are just saying that i should move the CSS tags in the order that they should be read and then set a specific width for the body? I wish IE wasnt the most used browser!
Reply
BuffaloHELP
Jan 15 2007, 09:36 AM
I don't think order of appearance has nothing to do with it. But looking at your css file, you have bunch of CLASS (.tag) but nothing that definds the ID tags... Since I myself is learning css, my description could be wrong. But what I know is that you need to confine your DIV's within BODY with set width.
Reply
BooZker
Jan 15 2007, 09:39 AM
hmm alright. I will go and set the header and footer divs to 758 and then main to 600 and right_side to 158 and see if this fixes the problem.
Reply
Saint_Michael
Jan 15 2007, 10:16 AM
Well after trying some stuff out I finally got it. So give me a " I LOVE YOU SM"  CODE
.main { width: 758px; background:#000066; padding: 0px; border-bottom:none; }
I predicted it was margins or padding
Reply
BooZker
Jan 15 2007, 10:24 AM
GOD! Everytime it's so simple and i can't find it. You have to give me some slack though. I have only been making graphics and sites for a little over a year now.
Reply
jlhaslip
Jan 15 2007, 06:22 PM
I find that using this code: CODE body { margin:0; padding: 0;} and then setting specific margins and paddings in the sheet helps to eliminate most problems. Each Browser has its own default settings for margins and padding, so eliminate the defaults and the browsers will all treat the page the same. As for the order of the html content on the page, I find that it is best to have the div's in the html code in the order which they appear on the page. For example, insert the float:left before the float:right for the same parent element. Otherwise, there is some confusion between browsers and the way they are rendered.
Reply
Recent Queries:--
ie6 submenu problem display - 231.77 hr back.
-
ftp using ie, cannot view jpg files - 257.24 hr back.
-
ie problems displaying advertising - 530.95 hr back.
Similar Topics
Keywords :
- Span "display: _____" Problems
block vs inline (2)
[problem] Css Unordered List Display Problems Ie6 Bug
Making unordered list under unordered list couses some padding to appe (2) I just started designing something that i thought is gonna be a really simple xHTML strict template.
Everything is right except that i thought of using unordered list, some other list under that list.
Well this is the code for the Menu that is cousing me problems CODE <div
id="lijevo"> <ul> <li>List1</li>
<li>List2</li> <li> <ul>
<li>List 2 Sublist</li> <li>
<ul> ....
Css Trouble
ul submenu displays weird in IE (7) I have asked for help in the css creator forum, but I haven't got an answer. Well some one
actually posted something but didn't work, so I will post my trouble here to see if somebody can
bring light... thanks in advance... QUOTE Menu in css, shows fine in the good browsers. I
use the suckerfish dropdown js principle to have a vertical menu with a submenu poping out. I think
I have some issues as to xhtml or css around all over the index, but the trouble I can't fix is
the submenu acting weird in IE6 and it looks like in IE7 also. When you hover over....
Height % In Ff Problems With Css
(3) Does anyone know how to make the height of a div in firefox equal to the percentage you input? For
example if I put blablabla the div container will only be as high as the text makes it, when in
internet explorer it does make it take up 100% of the page or whatever height in percentage I input
in it. by the way, html, body {} have 100% height in them, so does the container that has the div
element. Example: html,body {height:100%;} #container {height:100%;} #div {min-height:100%;} the
one called #div is the one I want with 100% height. Thanks for any help.....
Browser Issues
CSS and embeded DIVs (7) Okay so I'm redisigning my site (here: http://d-gression.trap17.com/new/index2.html) and need
help with the CSS that makes the main content. On IE it works which scares me because I'd much
rather have it work on FireFox. So here's the CSS I used: CODE BODY{
background-color:#22324f; background-image:url('./images/bg.gif'); }
DIV.frame { background-color:#07571f; border:solid #000000 2px; width:740px; }
img.banner { } DIV.green { background-color:#6d966c; width:730px; } DIV.menu {
width:145px; backgroun....
Css Positioning Trouble
in FIREFOX! yet IE displays it as i want (6) Wait wait! im not complaining about firefox! i couldnt ever do it, but the fact is that for
the very darn first time IE is actually showing the thing as i want it... I have a table inside a
div, and i want the table to be right aligned, and IE6 does so (not the same for ie for mac though)
but firefox keeps it to the left, the best thing i've achieved with this is a fixed position
which does not look good while resizing...... ive also tried floating and even adding a wrapper...
so i dont know what to do... this is the site: http://www.cucea.udg.mx/cucea/gr....
Embeded Div's And Css Problems
(10) I am making a website dessign that makes heavy use of CSS and DIV's now When I view my site as
it is in IE it works almost perfect, but when I open it in Firefox the main background dissapears,
here is the site here is the site and here is the external CSS file: CODE BODY {
background-color:#ffffff; background-image: url(images/topimage.jpg);
background-repeat:repeat-x; } DIV.content { width:760px; position:absolute;
top:19px; left:19px; } DIV.head { width:758px; height:125px;
background-image: url....
css scripting problems need help
NEED HELP (5) for some unknown reason the scroll bar info will not kick in it eithers makes the page doe wierd
things or nothing at all and i know i got it right so whats need help QUOTE BODY {
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; margin:
0px; padding: 0px; background-color: #2d3851; } h1 { font-family: Times New Roman, serif;
font-size: 26px; font-weight: normal; color: #e9f2fc; } h2 { font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #333333; } p { font-family:....
Looking for Ie, Problems, Again
|
|
Searching Video's for Ie, Problems, Again
|
advertisement
|
|