[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 08-22-2007, 08:43 AM   #1 (permalink)
. .. deaol.com .. .
 
Deaol's Avatar
 
Join Date: Nov 2006
Location: Desolation Snd, B.C.
Posts: 2,095
15.25 NP$ (Donate)

Deaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant futureDeaol has a brilliant future

Ethan Allen Fund
Viewing Issues

I am looking for someone to help me with a quick fix, my site views fine via Firefox/Opera but displays funky on IE. (http://an.geli.ca) The top menu is displaying oddly (at first it displayed fine, but now that articles have been submited it started shifting) This issue is ONLY with internet explorer, I viewed it with 6 and 7.

if anyone could help with fixing this issue it would be greatly appreciated (could toss some np$. rep or whatever)

Thanks in advance!

- Deaol
Deaol is offline  
Old 09-02-2007, 01:53 PM   #2 (permalink)
NamePros Regular
 
DylanButler's Avatar
 
Join Date: Jan 2006
Location: San Diego, CA
Posts: 704
0.00 NP$ (Donate)

DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold


HTML Code:
td.center { padding: 20px 40px 20px 20px; width: 100%; }
Is more than likely one culprit of this issue. I would focus on elements that have both a width/padding applied to them.

I bet changing that code to

HTML Code:
td.center { padding: 20px 40px 20px 20px; width: 100%; *width:80% /*for IE7*/ }
* html td.center { width:80%; } /*for IE5-6*/
Should fix it.

This happens a lot with tables especially, which is why you don't want to use tables for layout structure usually.

This is somewhat related to a box model bug (in IE5.5) and you can read more about that and the fix "tantek hack" here:
http://tantek.com/CSS/Examples/boxmodelhack.html

Edit: This is a better explanation of what's going on, although you may not be able to solve this one by wrapping your td in a div like they did below (because you are applying this stuff to a td, not a table).

http://archivist.incutio.com/viewlist/css-discuss/34430

If my fix doesn't work, I would next validate the code (i notice youve got over 300 errors) and change your doctype to transitional. IE is running in quirks mode right now due to the white space at the top of your document.
__________________
:great: -Dylan Butler

EXAMP - San Diego Web Design

Last edited by DylanButler; 09-02-2007 at 01:58 PM.
DylanButler is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:50 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85