|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Display:inline; should be easy
Hi, I have created a horizontal navigation before with no problem, yet I am now having trouble.
Here's the site: http://www.caillouette.com/Catering/ I have the Div named "indentmenu" and the <ul class="toolbar"> Here's the style sheet: http://www.caillouette.com/Catering/style2.css and here's the navigation: http://www.caillouette.com/Catering/header_nav.inc what am i doing wrong? thanks in advance. |
|
#2
|
||||
|
||||
|
You should use a complete doctype (one that includes a URL) to get browsers to render as close to the same as possible. I recommend HTML 4.01 Strict. A doctype is not a magic fix. It is just one step in the process of fixing your page. The doctype tells the browser which rendering mode to use for the page.
Activating the Right Layout Mode Using the Doctype Declaration Fix Your Site With the Right DOCTYPE! Choosing a DOCTYPE Doctype switching Rendering Mode and Doctype Switching http://www.w3.org/QA/2002/04/valid-dtd-list.html The first step in debugging should always be making sure that your code is valid. http://validator.w3.org/ http://jigsaw.w3.org/css-validator/ What is ".indentmenu" for? I suggest you remove it. Remove the display:inline from the <ul> and give it a width. Try 350px.
__________________
Spreading knowledge, one newbie at a time. Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions IE7: the generation 7 browser new in a world of generation 8 browsers. Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Display:inline; should be easy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|