i seem to have a "big problem" / challenge. I coded a struts application without declaring a HTML doctype. I continuously checked the page in Internet explorer. Now i checked to see if it all looked ok... Well you guessed right it doesn't look ok at all. If i declare to use the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> it doesn't look to swell in internet explorer anymore.
So here's the source code :
I use the following javascript :
This js is executed onLoad but ihad to remove it because of the restrictions.
If you remove the html doctype declaration it all look better in ie. In firefox it all looks crap.
Can anybody help me out?? [ March 08, 2005: Message edited by: Ricardo Estafan ]
There are still other problems with the layout position vertically in the cell.
This is what you need to do in the future. Add one style sheet rule code at at time and seem if it does the same thing in each browser. If not comment out the lines in that section and see what causes it. Example would be just do the body, then do the next section, until you get to the end.
I personally say just the table layout and do it all with css. You should only use a table for the "Type Artist Title Label Euro " section. And divs/spans for the rest, but that is tons of work which I doubt you would want to do at this time.
It really does not mean total redesign. You can stick with a table layout, but it is hard to get them to look right. That is the trouble you are having. You can feel free to use JavaScript on your page. You could also use a div that auto scrolls.
When the content gets large it adds scrollbars. I do not know what your JavaScript code is exactly, but I don;t think that is in my book.
My book mainly deals with all of the fundamental operations in JavaScript and how to use them. There is some code in there on making menus and stuff. My book is a great reference in my mond. I wrote it and I use it to look stuff up when syntax escapes my mind!
i've fixed the two column page. I'll add the code i used for a test page. I have a question this page works fine in Mozialla. In IE it adds scrollbar to the left of the right end of the page. Now i hope you or anyone else can help me fixing this. It's just a simple two column page. Left column is the navigation column, i want this to be fixed (in all browsers ;-).
CSS:
HTML :
Thanks a lot!!!
[ March 13, 2005: Message edited by: Ricardo Estafan ]
[ March 14, 2005: Message edited by: Ricardo Estafan ] [ March 14, 2005: Message edited by: Ricardo Estafan ]
I think I'll just lie down here for a second. And ponder this tiny ad: