User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 422,810 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,354 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 589 | Replies: 9
Reply
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 26
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

damn internet explorer

  #1  
Jan 25th, 2008
hey guys... i'm having serios trouble with programming for ie... since i navigate only in mozilla (which in my opinion is more practical, and, in essence, better), i didn't notice my programming didn't render as i pretended in ie, and i don't know where the problem is...

i tested my file in my localhost and by uploading it to geocities and it still has the same problem... what is happening?

here are my files... don't worry, they're clean
Last edited by Nichito : Jan 25th, 2008 at 2:11 am.
Attached Files
File Type: zip AC_Sitio.zip (83.8 KB, 2 views)
-->sometimes i wanna take my toaster in a bath<--
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: damn internet explorer

  #2  
Jan 25th, 2008
Hi
whenever u r designing u'r website, alway see that in IE , FF ,Op like browser so that later u dont have problem.

Solution:
----------
do this
1.put ur table nav_bar inside a div element with id mu123

2. give style to mu123 as:
text-align:center
3.see the result
in html file
------------
<div id='mu123'>
<table  cellspacing="0" cellpadding="0" id="nav_bar" >
................
................
................

in css file
----------
#mu123{
	text-align:center;
}
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: damn internet explorer

  #3  
Jan 25th, 2008
code for html file(it didnt came properly):

<div id='mu123'>
<table  cellspacing="0" cellpadding="0" id="nav_bar" >
................
................
................
</table>
</div>
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: damn internet explorer

  #4  
Jan 25th, 2008
You have some busted code:

1. Where are the doctype and html tags?

2. The title tag must be first in the head section.

3. The lack of the doctype and html tags forced the browsers into quirks mode.

4. Remember that putting surrounding styles (margin, border, padding) and defined block object sizes (absolute or relative heights and widths) in the same block tag will ALWAYS cause incompatibilities between IE and FF. FF puts the surrounding styles outside the defined block size, IE puts them inside.
Last edited by MidiMagic : Jan 25th, 2008 at 11:14 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 26
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: damn internet explorer

  #5  
Jan 26th, 2008
Originally Posted by MidiMagic View Post
4. Remember that putting surrounding styles (margin, border, padding) and defined block object sizes (absolute or relative heights and widths) in the same block tag will ALWAYS cause incompatibilities between IE and FF. FF puts the surrounding styles outside the defined block size, IE puts them inside.


what should i do then? put all the object's characteristics inside the css?

btw: what is quirks mode?
Last edited by Nichito : Jan 26th, 2008 at 4:54 pm.
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 26
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: damn internet explorer

  #6  
Jan 28th, 2008
i still don't understand where he problem is... i changed all the table, td, and tr specifications into the css... but still nothing...

should identify the browser to have different designs for both browsers?
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: damn internet explorer

  #7  
Jan 28th, 2008
hi
try my solution...or tell me if any prblm in that
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 26
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: damn internet explorer

  #8  
Jan 28th, 2008
it solved my alignment problem... but what about my hovering buttons issue?

thanks, by the way...
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: damn internet explorer

  #9  
Jan 28th, 2008
Originally Posted by Nichito View Post
what should i do then? put all the object's characteristics inside the css?

Nest two block objects (e.g. div), one with the defined size, and the other with the surrounding styles. That way, you can control which one is inside in an browser-independent way.

btw: what is quirks mode?


It's what the browser does when it doesn't recognize a specific doctype. Usually it reverts to emulating an early version of the browser (e.g. Netscape 5).

sometimes I wanna take my toaster in a bath

Obvious from your avatar.
Last edited by MidiMagic : Jan 28th, 2008 at 10:32 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 26
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: damn internet explorer

  #10  
Jan 28th, 2008
Nest two block objects (e.g. div), one with the defined size, and the other with the surrounding styles. That way, you can control which one is inside in an browser-independent way.

what i did is what DangerDev suggested... creating an id to text-align:center and assigning it to a div... though, if i remove the padding-left from the nav_bar id, when i open it in FF it doesn't align it to the center...

the rest of the styles are in the nav_bar id and they work perfectly... except for the image change on hover in IE7's case...

It's what the browser does when it doesn't recognize a specific doctype. Usually it reverts to emulating an early version of the browser (e.g. Netscape 5).
i never learned using doctypes... i'll give it a look...
Obvious from your avatar.
>_<
Last edited by Nichito : Jan 28th, 2008 at 10:58 pm.
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 9:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC