OK, it's time to try the experts :)
I've been doing most of my development work in Firefox because of Firebug. Then, when my projects are fully debugged, sleek and refined I load them in IE and I am humbled without fail. This last project was/is especially painful ;)
Please visit this site: IdeaMill: tableFilter
This demo is a couple of months out of date, unfortunately, but it does demonstrate the specific problem I need your help with quite well. When you click on the menu link in firefox the menu looks ok - suggestions are always accepted with gratitude, btw. In IE however, there are large gaps between the menu items, likely involving the "separator" class. I've tried a number of things to resolve it but I haven't had much luck. Can you help me come up with some cross-browser CSS to solve this?
BTW, the menu is initially aligned incorrectly - that's fixed now, but the fix is in the not-quite-ready version. Just hit reload and you should be ok if you're caching images.
Thanks in advance...
11 2043
I've been doing most of my development work in Firefox because of Firebug.
You should be doing it in a modern, standards-compliant browser. Firefox is the perfect choice. Firebug is a bonus.
I load them in IE and I am humbled without fail.
It is IE that is humbled and strains to act like modern browsers.
I don't see any difference between FF and IE6/7 and I don't see any separator class.
There is definitely a difference - open the "menu" by clicking on the menu link in the paging row. In IE 6/7 I see gaps in the menu, unlike in FF. Also, in FF I have nice borders on my table rows and padding is different.
Since there may be multiple menus in the table and colors may differ the separator class is created dynamically - view the CSS in firebug from firefox to see it. It ends up looking like the following:
.seminarList_p_menu li.separator {
border-color:#700000 rgb(152, 0, 0) rgb(152, 0, 0) rgb(112, 0, 0);
border-style:solid;
border-width:1px;
height:3px;
line-height:3px;
}
Oh yes, make sure you click the GO button first... I forgot to mention that the first time. A lot of the elements are created dynamically.
You should be doing it in a modern, standards-compliant browser. Firefox is the perfect choice. Firebug is a bonus.
It is IE that is humbled and strains to act like modern browsers.
I don't see any difference between FF and IE6/7 and I don't see any separator class.
Double check the link you gave us. There is no "menu link" or "paging row".
I'm sorry - that link is to a demo of one of my jquery (javascript) plugins that adds multi-column sorting, filtering and paging to any simple table with one line of code. You have to poke the GO button to see the menu and paging row because they don't exist yet. Note to self: improve that demo page...
Hit the "Go" button to see it build, then you will see the menu.
More info here: http://ideamill.synaptrixgroup.com/?page_id=16
I'm still not sure I'm seeing the gap. Do you mean vertically between rows?
In your CSS, change <style> to <style type="text/css">
Sorry, I'm just having a heck of a time finding that area in the markup. I guess it's generated by javascript. I do see 2px padding or margin around some <li> items in there but they don't show in FF. Set those to zero and see what happens.
IEs dev toolbar is not at all helpful with this and I'm unable to save the page in a way that I can edit it.
This is one of the hazards with dynamic CSS :/ I'm calculating complementary colors on the fly for the 3D effects in the menu, then creating the CSS rules that need to use those colors within the document's embedded stylesheet using javascript. That's why you're not seeing any of this in the source. That tablefilter plugin is meant to work with any table, regardless of layout or style so it has to generate a great deal of the structure after it sees what it has been handed. The code used to launch the demo on that page is as simple as: <input onClick='$("table").eq(0).tableFilter();' type="button" value="Go"> That javascript means "find me all the tables on the page and put them in an array, then grab only the first table and pass it to the tableFilter plugin". TableFilter handles the rest. Specifying the first table isn't really necessary - I stuck that in there to show someone how they could target a single table on a page with 4 tables without using an element ID by using the .eq(n) function.
The easiest way to see the dynamic CSS output that I've found is to use the CSS tab in firebug. Just choose the htm file from the source list rather than one of the css files.
Sorry, I'm just having a heck of a time finding that area in the markup. I guess it's generated by javascript. I do see 2px padding or margin around some <li> items in there but they don't show in FF. Set those to zero and see what happens.
IEs dev toolbar is not at all helpful with this and I'm unable to save the page in a way that I can edit it.
The IE dev toolbar does actually show those styles. There is a trick, though: - Close down the toolbar
- shift-reload the page
- hit the go button to regenerate the table
- open the ie dev toolbar
You should see the dynamic styles such as .p_menu LI, .p_menu LI:hover and .p_menu LI.separator near the bottom if you view: CSS selector matches. You can also find the table in the DOM tree and view: source elements + style
IE wraps text in some cells, making some rows thicker than others. On the other hand ff does not. Is this what you are seeing?
Jared (not quite a guru)
That might explain the strange padding. I'll play with that. Thanks for the response.
IE wraps text in some cells, making some rows thicker than others. On the other hand ff does not. Is this what you are seeing?
Jared (not quite a guru)
I'm gone all week except for spot checkins. One thing I forgot to have you try is adjusting line-height for the drop down. This is part of an IE bug.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Alex |
last post by:
I'm sure that the following is possible, I just need a little help
please.
I have a object which I declare as a application object "gObj".
I need to use "gObj" with all sessions. I need...
|
by: Bung |
last post by:
Hi,
I have a tricky sql statment I have to write (tricky for me) and I am
stuck. I'm having trouble with the following problem.
Table1 (Column a, Column b, Column c)
Table2 (Column a, Column...
|
by: Ike Naar |
last post by:
Consider the following code:
#include <stdlib.h>
struct s
{
/* ... */
struct s * next;
};
|
by: knocte |
last post by:
I am using the XmlDocument class to generate a XML document "on the
fly", I mean, build it in memory so as to extract its contents with the
property "OuterXml".
I know how to create elements and...
|
by: OhMyGaw |
last post by:
Hello Excel/automation Gurus,
I am working on an application where I have to keep a centralized
database of all macros distributed to user and save the changes back on
a nightly basis back to...
|
by: Andrew Bell |
last post by:
I'm doing a uni course in the UK and one of my semesters is about
programming. This is just going to be compilied and executed with no menu
just using command promt (javac classfile.class)
I am...
|
by: NileshKorpe |
last post by:
Can you please send me link of some c++ tricky (confusing) questions
usually asked in the c++ technical interview.
Thank You
|
by: byquestion |
last post by:
Hi there xslt gurus,
i am kinda new to xslt and having difficulty to implement my some iterations. i need to recreate an xml file by using xslt. here is the sample xml file(input for xslt)
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |