Log In · Register

 
 
Closed TopicStart new topic
my page is messed up on ie?
miszxjojo
post May 9 2009, 12:31 PM
Post #1


Senior Member
*****

Group: Member
Posts: 354
Joined: May 2007
Member No: 526,982



everythings fine on firefox.
but when i looked at it on internet explorer,
my contents on the right..
what can i do to fix it?

my cousin said that my page looked fine last week.
and last week was when i added the lytebox thing...
 
theerinkal
post May 9 2009, 01:22 PM
Post #2


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



Can you give us a link to your page please?
 
miszxjojo
post May 9 2009, 01:26 PM
Post #3


Senior Member
*****

Group: Member
Posts: 354
Joined: May 2007
Member No: 526,982



lov3burst.net
 
Mikeplyts
post May 10 2009, 02:11 PM
Post #4


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



I'm guessing your site is centered, right? Well there's a simple trick to getting through this problem, just use the code below and follow the instructions underneath it.

CODE
.CLASS_NAME {
position: absolute;
top:###px;
left:50%;
margin-left:-###px;
width:###px;
height:###px;
}


1. Ok, you got this little template above. First of all, .CLASS_NAME represents the class name of your div section. Change that accordingly.

2. position: absolute; is the method of positioning you're going to use.

3. top:###px; is how far down you want the div section to be. Replace the ### with any value you desire. Remember, the greater the number, the lower you go.

4. left:50%; is how far to the right we're going, and this case, we want to go 50% right. Do not change this property.

5. Now here's our little problem fixer. margin-left:-###px; is how far to the left you're going and this property works along with the left:50%; property to center it in both browsers and it also centers it on any resolution. Change the ### to half of your div's width.

6. Replace the ### in the width property to the width of your div.

7. Replace the ### in the height property to the height of your div.


Now save the file and you're done! Good luck. _smile.gif
 
alek
post May 10 2009, 03:53 PM
Post #5


Member
**

Group: Official Designer
Posts: 10
Joined: Oct 2008
Member No: 692,614



my suggestion is using the below code to specifically change the css of your layout in ie only.
CODE
something {
    left:whatever;  //both ie and ff understand that element
    _left:whatever; //only ie understands that element

    top:whatever; //ie and ff
    _top:whatever; //only ie
}


im sure you get the idea. hope that helps. oh and for centering a div a simpler way to do it is just

CODE
.div_class {
    margin:auto;
}
 
bethennyengland
post May 13 2009, 06:32 PM
Post #6


Newbie
*

Group: Member
Posts: 4
Joined: May 2009
Member No: 727,507



Do you have backup of old page? if so, just copy and paste the tables on to the backup. If that doesn't work, get another page from your site and modify it with the information on the page that's messed up. I wish I could help more but I don't know any html or css. You can also check the w3c site to learn about coding.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: