473,513 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Many Browsers' Problem-It bothers me

7 New Member
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/
Attached Files
File Type: zip IE7.0-menus.zip (60.1 KB, 76 views)
Nov 26 '07 #1
4 1326
drhowarddrfine
7,435 Recognized Expert Expert
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.
Nov 26 '07 #2
PeakConsulting
18 New Member
there will always be problems with html/css used on different browsers :(
Nov 28 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
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.
Nov 28 '07 #4
PeakConsulting
18 New Member
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
Nov 28 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

10
1857
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") ...
12
2561
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...
12
1693
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...
24
1969
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
2
2004
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...
6
2215
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"...
8
3874
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...
13
1978
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...
16
1980
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...
8
2227
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...
0
7175
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...
0
7391
Oralloy
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,...
0
7553
jinu1996
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...
1
7120
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...
0
7542
tracyyun
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...
0
5697
agi2029
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,...
0
4754
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...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.