Hi,
I am a poor developer.
I made a split menu using html tag <Ul> and <LI>, but I have some problems..
I use the style property as followed by...
.li{
,,,,
display:block;
.....
}
But it works well in IE 6.0, but doesn't work well in IE 7.0 and Firefox.
I am very fretful because for menu.
Let's assume menu's structure are followed by:
//------------------------------------------------------------------------------------------------------------
In IE 6.0
menu is the same as:
#-- AAAA AAAAAAAA <-- first line in list item1
###AAAAAAAAAAA <-- second line in list item1
#-- BBBBBBB BBBBB <-- first line in list item2
###BBBBBBBBB <-- second line in list item2
But, in IE 7.0 and Mozila Firefox
menu is the same as:
#-- AAAA AAAAAAAA
AAAAAAAAAAA
#-- BBBBBBB BBBBB
BBBBBBBBB
symbol '#' is space. Space key is ignored in edit, so I replaced.
//------------------------------------------------------------------------------------------------------------
And then css is followed by:
div#othermenu li a{
height: 25px; display: ;
line-height: 25px;
text-decoration: none;
color: #646464;
}
//------------------------------------------------------------------------------------------------------------
In above css file, if i replace the "display:" with "display:block", then double line of list item1 will be one line in IE 7.0 . That's second line in list item 1 will be piled up to first line in list item2.
My attachment zip file consists of two:
IE7.0-menu-1.jpg: "display:"
IE7.0-menu.jpg: "display:block" (menu is only ok in IE 6.0)
So, menu breaks our hompage...
I think you have no time to take care of me, but please help me....
Regards/
4 1326
Remove the 'dot' before the li.
Never use IE as a reference to how things should work, especially IE6.
Without a link or the complete markup, we can only guess at what is wrong; and a picture is not helpful.
there will always be problems with html/css used on different browsers :(
Not necessarily. Typically, the only problems lie with all versions of Internet Explorer. If you write standard markup, it will usually work in all browsers, but sometimes hacks are needed to get IE to comply. Unfortunately, some people use IE as their reference and that is when they get into trouble.
Yes, and when you get IE to comply you get problems with other browsers and so on. the work with browsers takes a lot of a developer time
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Kenneth Keeley |
last post by:
Hi,
I have been having problems with Gecko based browsers not redirecting
properly.
This is the line of code that does the redirecting:
Response.Redirect ("Validation.asp?BookingNo=1234567")
...
|
by: confused |
last post by:
After expressing my interest in expanding my new knowledge of HTML and CSS
into the wild realm of JavaScript, I was advised that it is wiser to avoid
it, since not all browsers are use it or are...
|
by: code_wrong |
last post by:
Hi, as the subject says
How many browsers must we support?
How many are there exactly?
When I run this JavaScript in Firefox and IE6:
function init(){
if(document.getElementById)
alert("W3C...
|
by: Greg N. |
last post by:
Sorry if this topic has been discussed before:
Is there any statistical data available about what percentage of
browsers run with JS disabled?
Thanks for any and all insights,
Greg
|
by: Wysiwyg |
last post by:
Has anyone found a reasonable way to emulate smartnavigation functionality
for any browser? I'd really like to avoid creating history entries when
posting back to the same page.
SmartNavigation...
| |
by: dee |
last post by:
Here is a a list of my hyperlinks in my home page:
<A class="theclass" href="Default.aspx">Home</A>
<A class="theclass" href="Search.aspx">Search</A>
<A class="theclass"...
|
by: Warren Sarle |
last post by:
Here are two screen captures: http://www.warrensarle.com/borders.gif
of this one web page: http://www.warrensarle.com/borders.php
in IE and Firefox. A border-style of solid is rendered the same in...
|
by: Alan Silver |
last post by:
Hello,
I finally got around to buying a 2nd hand Mac, so I can test pages in
the Mac-only browsers. It has IE5.2, although that hangs up every time I
try to start it up, so I guess I won't be...
|
by: Mathieu Maes |
last post by:
I have developed a page with javascript which has a filmstrip look-
alike bar and a slideshow:
http://celtecbe.apache02.hostbasket.com/pdw/media.php?id=268
It uses a "onmousemove" event, which...
|
by: logicbloke |
last post by:
Hello,
All the browsers I tested are filling two fields that aren't for logging in, both have different names from the ones on the login form, and eventhough, the browsers fill them, I have read...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |