![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there Not sure if anyone can help me, I am working on a site for my university, and am having a bit of trouble with css positioning. I am very new to css and do not know very much about it. Here is the link: http://homepages.feis.herts.ac.uk/~b...ix/matrix.html Basically, the problem is that the ticks on the grid look perfectly placed in IE but wrong in Firefox, and when I edit it to match Firefox, it looks strange in IE. Any ideas? |
| Paul |
#3
| |||
| |||
|
|
In article 4d83e9db-a7de-48f0-8ebb-3bcbd3292... (AT) c65g2000hsa (DOT) googlegroups.com>, *mehstg1319 <meh... (AT) gmail (DOT) com> wrote: Hi there Not sure if anyone can help me, I am working on a site for my university, and am having a bit of trouble with css positioning. I am very new to css and do not know very much about it. Here is the link: http://homepages.feis.herts.ac.uk/~b...ix/matrix.html Basically, the problem is that the ticks on the grid look perfectly placed in IE but wrong in Firefox, and when I edit it to match Firefox, it looks strange in IE. Any ideas? There are a fair few validation errors for the html via http://validator.w3.org/ But never mind this for now. Why are you not using an html table, something that is particularly appropriate, that is known to be very cross browser friendly in many ways? Up the text size and see how your page goes into fits (in FF, View menu, Text size, Larger a couple or more clicks). In your lists you are doing things like width: 80px; What do you expect will happen when the text, your html text ticks (which are not and cannot be pixeled successfully) don't fit in and worse. I have spent some effort trying to convince various folks that some lists are at bottom tables. But this is taking things too far in some opposite conceptual direction! Use a table and you won't then even have to specify widths for the cell. They will shrink and grow to fit. Why have you forsaken the benign magic of tables for the sorcery of lists and floating. They don't even have the advantage of floats by wrapping. Paul -- dorayme- Hide quoted text - - Show quoted text - |
#4
| ||||
| ||||
|
|
On 16 Apr, 11:04, dorayme wrote: In article yaddayaddapointlesslylongbutabridged...oups (DOT) com>, mehstg1319 wrote: Here is the link: http://homepages.feis.herts.ac.uk/~b...ix/matrix.html Basically, the problem is that the ticks on the grid look perfectly placed in IE but wrong in Firefox, and when I edit it to match Firefox, it looks strange in IE. |
|
There are a fair few validation errors for the html via http://validator.w3.org/ But never mind this for now. Why are you not using an html table, something that is particularly appropriate, that is known to be very cross browser friendly in many ways? Up the text size and see how your page goes into fits (in FF, View menu, Text size, Larger a couple or more clicks). In your lists you are doing things like width: 80px; What do you expect will happen when the text, your html text ticks (which are not and cannot be pixeled successfully) don't fit in and worse. Use a table and you won't then even have to specify widths for the cell. They will shrink and grow to fit. Why have you forsaken the benign magic of tables for the sorcery of lists and floating. They don't even have the advantage of floats by wrapping. First of all, thanks alot for taking the time to help me. I have done as you said |
|
and redesigned the grid to use standard tables. There still seems to be some discrepancies between how the site looks in IE and Firefox. |
|
new version is uploaded here: http://homepages.feis.herts.ac.uk/~b...le/matrix.html Any ideas |
#5
| |||
| |||
|
|
I am working on a site for my university, and am having a bit of trouble with css positioning. http://homepages.feis.herts.ac.uk/~b...ix/matrix.html |
#6
| |||
| |||
|
|
Basically, the problem is that the ticks on the grid look perfectly placed in IE but wrong in Firefox, and when I edit it to match Firefox, it looks strange in IE. Any ideas? There are a fair few validation errors for the html via |
#7
| |||
| |||
|
|
mehstg1319 wrote: On 16 Apr, 11:04, dorayme wrote: In article yaddayaddapointlesslylongbutabridged...oups (DOT) com>, mehstg1319 wrote: Here is the link: http://homepages.feis.herts.ac.uk/~b...ix/matrix.html Basically, the problem is that the ticks on the grid look perfectly placed in IE but wrong in Firefox, and when I edit it to match Firefox, it looks strange in IE. If by "ticks" you mean the question marks I see in FF and the empty squares I see in IE6, then I guess you're talking about their vertical alignment with the left-hand labels. Yes? There are a fair few validation errors for the html via http://validator.w3.org/ But never mind this for now. Why are you not using an html table, something that is particularly appropriate, that is known to be very cross browser friendly in many ways? Up the text size and see how your page goes into fits (in FF, View menu, Text size, Larger a couple or more clicks). In your lists you are doing things like width: 80px; What do you expect will happen when the text, your html text ticks (which are not and cannot be pixeled successfully) don't fit in and worse. Use a table and you won't then even have to specify widths for the cell. They will shrink and grow to fit. Why have you forsaken the benign magic of tables for the sorcery of lists and floating. They don't even have the advantage of floats by wrapping. First of all, thanks alot for taking the time to help me. I have done as you said albeit only partially and redesigned the grid to use standard tables. There still seems to be some discrepancies between how the site looks in IE and Firefox. You do know that they are *always* going to be different for most non-trivial pages, don't you? They are, after all, different browsers. new version is uploaded here: http://homepages.feis.herts.ac.uk/~b...le/matrix.html Any ideas Make the /whole/ table a table, including the text labels on the left. Also, I would say it is time to make your code validate (dorayme's remark notwithstanding). Any time you're bashing your head against differences between IE and FF, remember to check your code validity. It may not solve the problems you're having, but it almost never hurts. |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Right, have redesigned the page from the ground up, and all shows as valid XHTML/1.0 Transitional |
|
I haven't added any of the javascript to the page yet as I just want to get the page working properly!!! |
|
One thing I am not happy with is that two of the Div's are absolute positioned, which I do not like.... Both boxKeyPersonel and boxMoreInfo are absolute positioned, but I cannot figure a way of getting them to sit next to boxAbout properly, if I use inherit, the box drops down below boxAbout. |
![]() |
| Thread Tools | |
| Display Modes | |
| |