|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() Group: Members
Posts: 69 Joined: 18-November 06 Member No.: 33,593 |
Post
#1
Nov 30 2006, 06:45 AM
I have had a go at making a website using CSS to dictate the layout (no tables used) and it works quite nicely in firefox but when i open it in IE it completely mangles the whole layout. Can someone tell me some techniques to prevent this and maybe point me to some helpful pages. Thanks. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 4,903 Joined: 24-July 05 From: Linux, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:67.30 |
Post
#2
Nov 30 2006, 06:58 AM
First of all, there are some good references at the w3schools.com site. http://w3schools.invisionzone.com/index.php?showtopic=7567 Secondly, there are some fairly knowledgable folks here. Post a help request in the HTML sub-forum of the computer Forum. Provide a link to your page and the css code and let us see what you have done so far. It makes it a bit easier if the css is in the html page, but if it is in an external file, that's okay, too. IE has a problem with Margins and Padding, sort of. If you don't have a correct Doc Type Declaration, IE goes into Quirks mode and guesses at your layout, so lets see some code and we'll help you work through this. Also, describe as best you can, the problems as you see them, so we know what to correct and modify. |
![]() Group: Members
Posts: 1 Joined: 30-November 06 Member No.: 34,344 |
Post
#3
Nov 30 2006, 08:10 AM
Yes thats right, since ie6 is so outdated you need to fix the errors for ie. One way you can do it is javascript and make ie users use a different stylesheet to the other crowds. Another good thing to do is too check if your css code is valid by going to http://jigsaw.w3.org/css-validator/, this should fix some of your problems.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 992 Joined: 11-July 04 From: NL Member No.: 75 |
Post
#4
Nov 30 2006, 03:37 PM
It's quite crap that there are so many different browsers and all return different errors to your website, look at www.qla6.com in Internet Explorer and in Firefox or Opera as example. Anyway the best way to fix problems like this is to keep trying, look at your code and see if all commands you use are supported by all the browsers which will be seeing your web site, and believe me, getting your site work on every browser is a huge pain in the *bottom* which could have been avoided by the company's who made the browsers themselves...
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 7,255 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 myCENT:47.70 |
Post
#5
Nov 30 2006, 09:12 PM
I know the feeling currently working on my own little css design right now, Hopefully once I have finish this site and tweaked it to all three browsers I will have a tutorial up for it. Like Florisjuh said it takes time and alot of patience to get it, sometimes if you use the right tags the problem fixes itself. thats just a few weeks worth of work My Css file will be hitting the 10KB mark amd close to 400 lines of code REMOVE LINK FOR SEO AND NO LONGER A VALID LINK Best thing to do is work one browser and then copy the files and then work them for the next browser and so on. Also I recommend this link as well these are a bunch of tools you can use to help get a cleaner design. http://www.trap17.com/forums/index.php?sho...c=42607&hl= This post has been edited by Saint_Michael: Jan 20 2009, 05:15 AM |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 138 Joined: 30-September 06 From: Iasi, Romania Member No.: 30,851 |
Post
#6
Nov 30 2006, 09:37 PM
-first of all, work with Firefox (or Opera) as your testing browser, as these respect the web standards, NOT Internet Explorer, as many people think -then, validate your markup & css code, it might solve the problem (partially, at least) -post your problems here and we`ll try to help you...there are several known IE bugs regarding rendering of css... |
![]() ![]() ![]() ![]() Group: Members
Posts: 69 Joined: 18-November 06 Member No.: 33,593 |
Post
#7
Dec 1 2006, 01:22 AM
This was just a test site i made a while ago where i had problems with the layout. Maybe you can tell me where i went wrong so i don't end up repeating my mistakes. Site: http://paulmason.awardspace.com/ CSS: http://paulmason.awardspace.com/design.css Thanks guys. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 4,903 Joined: 24-July 05 From: Linux, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:67.30 |
Post
#8
Dec 1 2006, 01:31 AM
First of all, get rid of one of the Body tags. Second, the Input requires a "name=". Third, different Browsers set various margins and padding for elements differently, so I usually set them equal to 0 in the body tag of the css and that inherits throughout the page unless I change them for an element. That might make a difference. And I see that you are setting negative margins on a lot of things. Let the Document Flow define your positions is the best way to handle them. I rarely need negative margins or absolute positioning. Run the URL through the w3c validator to see what the errors are. And the css through jigsaw. w3c validator CSS validator |
![]() ![]() ![]() ![]() Group: Members
Posts: 69 Joined: 18-November 06 Member No.: 33,593 |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 5,876 Joined: 21-September 07 Member No.: 50,369 |
Post
#10
Feb 18 2008, 05:25 AM
how to change mozilla firefox according to internet explorer Ie And Firefox Layout Differences I have create one web page layout in css based but internet explore run my web page is correct but mozilla firefox not correct output why? Please guide me. -reply by rakesh |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
15 | bttfpromo | 13,579 | 27th October 2009 - 10:10 AM Last post by: shadowx |
|||
![]() |
17 | -maddzicks- | 11,732 | 5th August 2009 - 08:25 PM Last post by: sandeep95 |
|||
![]() |
2 | encryptedwrath | 456 | 30th October 2008 - 07:18 PM Last post by: encryptedwrath |
|||
![]() |
0 | Trystim | 3,490 | 20th September 2004 - 02:52 PM Last post by: Trystim |
|||
![]() |
101 | solankyno1 | 19,451 | 7th September 2009 - 11:37 AM Last post by: nnsoccer |
|||
![]() |
4 | BoSZ | 9,037 | 21st October 2004 - 09:43 PM Last post by: Jeremie |
|||
![]() |
14 | jamesdm | 7,146 | 10th November 2004 - 04:52 PM Last post by: Taupe |
|||
![]() |
2 | logophobia | 3,075 | 10th November 2004 - 04:08 PM Last post by: melkonianarg |
|||
![]() |
14 | ashiezai | 6,289 | 19th November 2004 - 10:40 AM Last post by: H R |
|||
![]() |
2 | gta | 3,738 | 13th November 2004 - 02:45 AM Last post by: gta |
|||
![]() |
5 | gta | 12,812 | 20th May 2009 - 06:45 AM Last post by: leojack |
|||
![]() |
0 | shyam | 3,027 | 13th November 2004 - 10:05 AM Last post by: shyam |
|||
![]() |
21 | spawn_syxx9 | 14,608 | 26th January 2009 - 07:17 AM Last post by: puneye |
|||
![]() |
1 | faceofdie | 6,096 | 17th November 2004 - 06:47 PM Last post by: serverph |
|||
![]() |
10 | serverph | 1,412 | 15th July 2007 - 12:47 AM Last post by: homespeaker |
|||
|
Open Discussion | Time is now: 6th November 2009 - 07:39 PM |
Web Hosting Powered by ComputingHost.com.