![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi everyone. I am now trying to keep Firefox and Netscape from inserting extra space on top of an unordered list. I tried setting padding-top and margin-top to 0 but that did not keep all three browsers looking the same. The url to my page is http://geocities.com/terrance.murray/Restaurant/ Perhaps it is IE that has the wierd behaviour. -- Thanks, Terry |
#3
| |||
| |||
|
|
Do you mean the extra space on top of the blah blah-list? There is a <br> in the preceding paragraph, could that be the problem? |
#4
| |||
| |||
|
|
Do you mean the extra space on top of the blah blah-list? There is a <br> in the preceding paragraph, could that be the problem? I was referring to the blah blah list in the green area. In Firefox and Netscape I have extra space on the top of the list. It actually appears to be the same amount of space that is below the same list when viewing it in IE. |
|
-- ^ |
|
Thanks, Terry |
#5
| |||
| |||
|
|
What the margin and padding on the UL? Ah you don't know because you haven't explicitly set them. Browser have different default values. But the is the least of your problems, the 'transitional' doctype will make it a crap shoot to get constancy among browsers. Should be strict. Plus, what the UL doing in DIV with this style, "padding:0;position:absolute; left: 320px;"? That a wild guess what happens when you bump the font up a couple of times. A hint on your sig marker |
#6
| |||
| |||
|
|
I am now trying to keep Firefox and Netscape from inserting extra space on top of an unordered list. |
|
The url to my page is http://geocities.com/terrance.murray/Restaurant/ |
#7
| |||
| |||
|
|
Terry wrote: I am now trying to keep Firefox and Netscape from inserting extra space on top of an unordered list. That's the least of your worries. The url to my page ishttp://geocities.com/terrance.murray/Restaurant/ The HTML is an ugly mess of div-itis, class-itis and inline styles. CSS does not make a better web page when it looks like this. If you have any plans to continue doing this after your schooling is done, you should start over, but not before you understand something about logical, semantic mark up. Good design practices follow that. Your attempt is in the opposite direction. If what you have so far is any indication of the type or quality of instruction you've received, then you've not gotten your money's worth. You should complain to the school. -- Berg |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
-- Thanks, Terry |
|
-- ^^^^^ |
#10
| |||
| |||
|
|
What do you know. I just received the book while posting back to you. It is called: HTML UTOPIA: DESIGNING WITHOUT TABLES USING CSS by Rachel Andrew & Dan Shafer -- Thanks, Terry |
![]() |
| Thread Tools | |
| Display Modes | |
| |