It is currently Fri Mar 29, 2024 4:33 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Firefox vs IE misalignments
PostPosted: Thu Nov 02, 2006 5:58 pm 
Newbie
Newbie

Joined: Thu Nov 02, 2006 5:46 pm
Posts: 1
I recently decided to try and change my website to have a css layout instead of the table one I currently have.

I have one slight problem though, it's trivial but really bugging me. In Firefox the two white bars down the side of my page reach all the way to the footer. However in IE there is a gap between white bar and footer for a reason I cannot work out.

The page is: http://www.dave-anski.co.uk/testing/index.html.
The css is: http://www.dave-anski.co.uk/testing/css/styles.css.

I was wondering if anyone knew why, and what could be done. Any other comments would also be appreciated.

_________________
Dave Anski


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 9:26 am 
Getting Started
Getting Started

Joined: Mon May 22, 2006 8:20 am
Posts: 90
Location: Australia
Looks the same to me in both firefox and IE.

_________________
- Phill


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 08, 2006 6:27 pm 
Newbie
Newbie

Joined: Fri Dec 08, 2006 8:30 am
Posts: 2
=EDITED= Please do not post that link here. :evil:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 9:54 pm 
Newbie
Newbie

Joined: Sat Feb 24, 2007 1:21 pm
Posts: 4
if you are using PHP as script, you can add this code:
Code:
<?php

$nav = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';

   if (stristr($nav, "msie"))
   {
      echo "ie-css.css";
   }
   else
   {
      echo "css.css";
   }
   
?>


you must creat two css.css to fit IE and the other browsers.
hope it could help you

_________________
Fantasy@Darktalker


Top
 Profile  
 
 Post subject: Small Cool IE Hack for CSS problem
PostPosted: Wed Jul 25, 2007 2:57 pm 
Newbie
Newbie

Joined: Wed Jul 25, 2007 8:08 am
Posts: 7
Try this little hack below. Look at the width line.

IE will use the #width: 500px; and _width: 500px; while other browsers will use the width: 456px; line.

Not sure how well this works over all versions but it works for me. :-)

#content {
float: left;
color: #333;
border: 1px solid #ccc;
background: #F2F2E6;
margin: 0px 5px 5px 0px;
padding: 10px;
height: 500px;
width: 456px;
#width: 500px;
_width: 500px;
display: inline;
text-align: left
}


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 12, 2007 8:40 pm 
Newbie
Newbie

Joined: Sat Aug 11, 2007 5:30 pm
Posts: 20
think u need a background-color: #F2F2E6; so it works on IE6 & 7 not sure but thats a trouble ive come across before :)

_________________
Ethical Hacker
http://encription.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 12, 2008 4:08 pm 
Newbie
Newbie

Joined: Tue Feb 12, 2008 3:32 pm
Posts: 8
man.. i've never been able to solve these alignment issues in Mozilla and IE...

_________________
Expert and On Target Link Popularity Service. Free to join and Fast paying,SEO Affiliate Program.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011