Jump to content


IE 6 Render Help


16 replies to this topic

#1 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:<? print("StockyBeatz.net") ?>
  • Interests:Web design and the usual 14 year old stuff

Posted 02 March 2007 - 09:19 AM

At school at the moment and cant get a screen shot of my problem so heres a link:

Site

In IE 6 the right content box shows below the adverts and it needs to start at the top

I will post later with a screen shot

Any help would be apreciated ;)

Posted Image

Edited by Josh., 02 March 2007 - 09:25 AM.


#2 Brandonador

    Young Padawan

  • Members
  • Pip
  • 238 posts
  • Gender:Male
  • Location:Michigan
  • Interests:I really love computers. Especially the internet, and discovering new people's ideas, and designs. Love to look at different layouts and coded designs that people come up with. And Flickr, one of my favorite sites...

Posted 02 March 2007 - 10:34 AM

My suggestion is try cleaning up the HTML and or CSS with the W3.org code validator. You can go to that by clicking, here. This will help the overall look of your page, and help with code problems and fixes to look good in other browsers as well. ;) The validator for CSS is here, also. If you need anymore help, don't hesitate to ask. Good luck!

Brandon

#3 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 02 March 2007 - 02:09 PM

It's probably because the margin/padding settings don't equal the overall width of the site, which causes that section to go under. Play around with the margin/padding on your left and right sections and get it to fit within the overall width.

#4 _*Creative Insanity_*

  • Guests

Posted 02 March 2007 - 02:44 PM

I would say you have too much padding or margin on either the left panel or the center content panel.
I find that what works for FF does not work for IE and I normally allow another 5px for IE.. you could also use seperate style sheets and place a if statement in the header to use the IE one if IE and FF will default to the main style sheet.

I normally just make a style sheet called ie.css and place the problem selectors in that so IE can use them and in the header of the document I add:
<!--[if lte IE 6]>
<link href="css/ie.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->

Edited by Creative Insanity, 02 March 2007 - 02:45 PM.


#5 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 03 March 2007 - 06:52 AM

Ive fixed my CSS so its valid and im going to play about with the padding now :D

I have no real clue when it comes to CSS.. any chance of help fixing the padding i would really appreciate it

body{
margin-top: 0px;
text-align: center;
background-color: #ec9600;
margin: 0px;
padding: 0px;
}

#container{
margin-right: auto;
margin-left: auto;
text-align: left;
padding: 0px;
width: 731px;
background-image:url(bg.jpg);
}

#subscribe{
margin-right: auto;
margin-left: auto;
text-align: left;
padding: 0px;
width: 731px;
background-image:url(bg.jpg);
}

#banner{
	height: 137px;
	background-image: url(logo.jpg);
	background-repeat: no-repeat;
}
#banner h3{
margin: 0px;
padding: 0px;
font-size: 20px;
font-weight: normal;
}

#left{
width: 150px;
float: left;
}
.links{
padding: 20px 20px 20px 20px;
font-family: Arial, sans-serif;
font-size: 11px;
}

#right{
width: 581px;
float: right;
}
.content{
padding: 10px 10px 10px 10px;
text-align: justify;
font-family: Arial, sans-serif;
font-size: 11px;
}
.style1 {
	font-size: 14px;
	font-weight: bold;
	font-family: verdana;
	color:#FFFFFF;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.style2 {color: #FFFFFF;
		font-size: 11px;
		font-family: verdana;
}
.forminput {
		background-color:#ec9600;
		color:#FFFFFF;
		border:1px solid #ffffff;
		width:120px;
		margin-right:2px;
		margin-bottom:5px;
		font:10px "Trebuchet MS";
	}
.formsubmit {
		background-color:#ec9600;
		color:#ffffff;
		width:40px;
		border:0px;
		cursor:pointer;
		font:10px Verdana, Arial, Helvetica, sans-serif;
		margin-bottom:5px;
	}
#bannerex{
margin-right: auto;
margin-left: auto;
text-align: left;
padding: 0px;
width: 719px;
background-color: #ec9600;
border: 3px solid #FFFFFF;
}
.prev {
	color: #FFFFFF;
	font-size: 11px;
	font-family: verdana;
	text-decoration: underline;		
}
#warningbox a, #warningbox a:link, #warningbox a:visited, #warningbox a:active {
display: block;
color: #000;
width:100%;
background: #FFFFE1;
border-bottom: 1px outset;
text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#warningbox a:hover {
color: #FFF;
background: #3169B6;
}
#warningbox p{
margin:0px;
padding: 3px 10px 3px 10px;
font-size:11px;
}


#6 _*Creative Insanity_*

  • Guests

Posted 03 March 2007 - 12:46 PM

Simple calculation problem

Changes this:
#right{
width: 581px;
float: right;
}

To this and it will work:
#right{
width: 560px;
float: right;
}

Place this at the top of your css file to reset all browsers:
*{
	margin:0px;
	padding:0px;
	border:0px;
}
The reason we do this is that all browsers have a default padding and margin setting.. so as to start on a level playing field we must first zero these out.

Also not a good idea for force people to use the browser of your choice. It is best to spend time in fixing the problem so it renders in main browsers.

#7 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 06 March 2007 - 01:50 PM

Thanks :rolleyes: Also took your advice on the browser part :unsure:

To save making a new topic and clogging up the forum how would something like this effect be done:

Posted Image

#8 _*Creative Insanity_*

  • Guests

Posted 06 March 2007 - 02:23 PM

got the URL for that example?

#9 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 06 March 2007 - 02:26 PM

It is on my live mail account

but you click a link and it loads up javascript it is i think

#10 _*Creative Insanity_*

  • Guests

Posted 06 March 2007 - 02:28 PM

Oh Ok.. well then you cannot give that ah LOL I get enough spam and no need to read anymore LOL.

I am guessing that is just a popup window that centers with javascript. Should not be too hard.

#11 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 06 March 2007 - 02:36 PM

its not a popup windows its like this:

http://www.huddletog...htbox2/#example

but with text

#12 _*Creative Insanity_*

  • Guests

Posted 06 March 2007 - 02:39 PM

Oh.. lightbox. I have heard of this and never used it.. I like that.. must have a good look now and play with that and see what the limits are.. in the wise words of Arnie.. I'll be back!

#13 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 07 March 2007 - 03:21 PM

Ive learnt about the padding now, have you seen a work around?

#14 _*Creative Insanity_*

  • Guests

Posted 07 March 2007 - 03:24 PM

You could use something called thickbox.. (there is a link of that site you linked up there) and then use the iframe feature. Excellent. I am using it for one of my sites. Damn awesome idea. Like that lightbox, but just does more than just images. You can even use it for a dynamic page (which I am doing) and works a treat.

#15 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 08 March 2007 - 04:45 AM

Thanks alot dude.. I will have a play about with it

#16 Josh.

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:&lt;? print("StockyBeatz.net") ?&gt;
  • Interests:Web design and the usual 14 year old stuff

Posted 08 March 2007 - 05:12 AM

im using that thickbox now and its working fine with me.. is there anyway to have the same effects as lightbox?

#17 _*Creative Insanity_*

  • Guests

Posted 08 March 2007 - 12:22 PM

I am picking you mean the fades and such. I guess you could look at the lightbox js file and do some mixing about with the thicbox, but I think for all the extras you get with thickbox a small fade things are nothing to sacrifice really.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users