FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Ie.why do people use it..anyway, because I have to use it...

 


Saber
I have to make a site work for all browsers, and yah... Ie is reading something differently than every thing else... not at all suprised. Anyways, it keeps on putting the content under where it should be, along the rigth side, http://academics.uww.edu/hperc/faculty.html

Any idea why? or any ways to "fix" this?

Sorry aagain for bothing you,

Saber
Stubru Freak
Try giving both side and content a position: absolute;
That might help.

Also, make your links an <ul>
cavey
It seems that in IE, the menu and content does not fit besides each other.
#Side: 110px and #Content: 689px are trying to fit inside a box of 800px. For IE this often is not enough... #Side and #Content is suddenly bigger than 800px, and #Content is pushed down. This can be fixed by making #Side or #Content smaller.

I would avoid position: absolute unless it is absolutely necessary.

Browsers have their own margin/padding on most things. The values of these margin/padding may vary on the different browsers, giving unexpected results. A solution is to set all margin/padding to zero on the top of the css-document, and then set the margin/padding yourself.

Code:
* {
margin: 0;
padding: 0;
}


Short story: 2+2 is not always 4 (110 + 689 is not always 799), make some extra room. And set the margin/padding yourself if you have a design that will fail if the pixels does not add up.

Edit: added the css-kode
Related topics

Having browser compatibility issues
W00t! Something that finally fixes IE.
what do you think about frontpage
forum inactivity
website in flash

Harry Potter
Internet Explorer 7 (beta 2 preview)
Day Night Same Time
google ad placement problems, need help
Domain

*OFFICIAL* Which Browser do you use?
(official) IE 7 Topic
Cheers from Spain!
Me, myself and I =)
Guess who? (now) 10 frih
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.