473,545 Members | 2,291 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:bl ock" (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 1327
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
1858
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") The Gecko based browsers change this URL to read "Validation BookingNo=1234567" and of course they get a 404 Error as a result. The above code...
12
2564
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 enabled to read it. After searching for other opinions on the web, I found that some estimate that the frequency of browsers that can read JS...
12
1695
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 DOM Supported"); else if(document.all)
24
1970
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 takes care of the annoying problem caused by creating a new history entry when a page posts to itself. Only Internet Explorer will support this...
6
2219
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" href="Help.aspx">Help</A> And these are defined in Styles.css file: a.theclass:link, a.theclass:visited { display: block;
8
3877
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 both browsers. Border-styles of outset and ridge produce radically different colors (grays in this case; saturated colors produce even more dramatic...
13
1980
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 testing much in that!! I also have Safari 1.0 (v85). What other browsers do I need to install? I don't know what Mac people tend to use. Also, does...
16
1985
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 controls the strip's scrolling according the mouse position. This strip seems to work just fine on IE 6, IE 7, Opera, Firefox and Safari for...
8
2232
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 that removing the value tag instead of just writing empty would resolve the problem, but the value tag is already absent from my fields. PS : Just...
0
7465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7398
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7805
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7752
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5325
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4944
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1878
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
701
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.