Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Ie Problems Again, Every browser displays it right except IE
BooZker
post Jan 15 2007, 08:57 AM
Post #1


Mad Scientist of 2006
*********

Group: [HOSTED]
Posts: 750
Joined: 27-April 06
From: Washington State in the USA
Member No.: 22,661
T17 GFX Crew



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 dry.gif 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..." laugh.gif

style sheet is: http://boozkerstweaks.trap17.com/style.css

This post has been edited by BooZker: Jan 15 2007, 08:57 AM
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jan 15 2007, 09:23 AM
Post #2


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



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.
Go to the top of the page
 
+Quote Post
BooZker
post Jan 15 2007, 09:27 AM
Post #3


Mad Scientist of 2006
*********

Group: [HOSTED]
Posts: 750
Joined: 27-April 06
From: Washington State in the USA
Member No.: 22,661
T17 GFX Crew



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!
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jan 15 2007, 09:36 AM
Post #4


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



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.
Go to the top of the page
 
+Quote Post
BooZker
post Jan 15 2007, 09:39 AM
Post #5


Mad Scientist of 2006
*********

Group: [HOSTED]
Posts: 750
Joined: 27-April 06
From: Washington State in the USA
Member No.: 22,661
T17 GFX Crew



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.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Jan 15 2007, 10:16 AM
Post #6


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,419
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



Well after trying some stuff out I finally got it. So give me a " I LOVE YOU SM" laugh.gif

CODE


.main {
width: 758px;
background:#000066;
padding: 0px;
border-bottom:none;
}


I predicted it was margins or padding biggrin.gif
Go to the top of the page
 
+Quote Post
BooZker
post Jan 15 2007, 10:24 AM
Post #7


Mad Scientist of 2006
*********

Group: [HOSTED]
Posts: 750
Joined: 27-April 06
From: Washington State in the USA
Member No.: 22,661
T17 GFX Crew



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.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 15 2007, 06:22 PM
Post #8


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,965
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Embeded Div's And Css Problems(10)
  2. Browser Issues(7)
  3. Height % In Ff Problems With Css(3)
  4. Css Trouble(7)
  5. [problem] Css Unordered List Display Problems Ie6 Bug(2)
  6. Span "display: _____" Problems(2)