•
•
•
•
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
![]() |
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
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.
-->sometimes i wanna take my toaster in a bath<-- •
•
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation:
Rep Power: 0
Solved Threads: 32
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
------------
in css file
----------
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
~Mitch Ratcliffe
•
•
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation:
Rep Power: 0
Solved Threads: 32
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
~Mitch Ratcliffe
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.
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
•
•
•
•
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<-- •
•
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation:
Rep Power: 0
Solved Threads: 32
•
•
•
•
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
•
•
•
•
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).
•
•
•
•
Obvious from your avatar.
Last edited by Nichito : Jan 28th, 2008 at 10:58 pm.
-->sometimes i wanna take my toaster in a bath<-- ![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax apps bbc blog bluetooth broadband business celebration crash development digg domain domains download explorer firefox funds google gradient graphics home html ie 7 ie7 internet investments malware map microsoft money mozilla network networking news online phishing portfolio registration report science security server site software stocks terrorism w3c web windows
- Error message every time i close my internet explorer window (Web Browsers)
- Internet explorer won't connect (Viruses, Spyware and other Nasties)
- CCapp1.exe damn thing! (Viruses, Spyware and other Nasties)
- Damn red circle (Viruses, Spyware and other Nasties)
- weird internet searching problem i have left after removing the trojan.downloader.uj (Viruses, Spyware and other Nasties)
- Windows Explorer restarting constantly (Viruses, Spyware and other Nasties)
- explorer pop up problem (Viruses, Spyware and other Nasties)
- Slow Internet Explorer 6 Response Time (Windows NT / 2000 / XP / 2003)
- urgent help n3eded about internet explorer (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS question regarding hover images
- Next Thread: Image Gallery + CSS- not working



Linear Mode