I'm trying to generate a tabbed menu system that will wrap to the next line
when necessary.
I tried using the css shown on this website http://www.sitepoint.com/print/accessible-menu-tabs
It works fine for a single row but as soon as it goes to a new row, the
format of the first tab on the new row goes wrong in IE6 though not in
Firefox 1.0.
The original markup is generated by an asp.net repeater control but a static
version of the problem can be found here http://homepage.ntlworld.com/peter.h...lem/index.html
Do you have any ideas how I can fix this,
Thanks,
Peter 8 5735
The solution proved to be rather basic:-
Enclose the menu system in <ul> <li> tags.
For the <li> tag
display: inline;
float: center;
ul {
list-style: none;
padding: 0px;
margin: 0 10px 0 0;
font-family: "Trebuchet MS", sans-serif;
text-align: center;
line-height: 20px;
}
ul li {
font-weight: bold;
float: center;
display: inline;
position: relative; /*** IE6 needs this to display the links ***/
}
ul li span{
white-space: nowrap;
}
Cheers,
Peter
"Peter Hoyle" <pe*********@nt lworld-NOT.com> wrote: float: center;
No such thing in css 2.x.
--
Spartanicus
>>float: center; No such thing in css 2.x.
Spartanicus
Thanks for the information - actually I can't see it in css 1.x either.
It works for the moment but I'll keep a look out for a more valid method,
Peter
"Peter Hoyle" <pe*********@nt lworld-NOT.com> wrote: float: center; No such thing in css 2.x.
Thanks for the information - actually I can't see it in css 1.x either.
Duh, css1 is a subset of css2.
It works for the moment
No it doesn't, get rid of it, it doesn't do anything.
Btw, configure your news client to snip sigs when following up, or do it
manually.
--
Spartanicus
float: center;
Removed as informed.
Seems that ul{text-align: center} which I inadvertantly added at the same
time, was providing the wanted effect!
Thanks again,
Peter
"Peter Hoyle" <pe*********@nt lworld-NOT.com> wrote: Removed as informed.
You're supposed to remove *sigs* when following up, quoting the minimal
relevant bit what you are replying to *should* be left in.
What follows is a sig:
--
Spartanicus
On Mon, 28 Feb 2005 17:00:18 +0000 Spartanicus wrote: "Peter Hoyle" <pe*********@nt lworld-NOT.com> wrote:
Removed as informed.
You're supposed to remove *sigs* when following up, quoting the minimal relevant bit what you are replying to *should* be left in.
What follows is a sig: -- No this is not your signature it is my signature..so there.
Now could you tell us how to do that in Outlook Express?
Not even my fidolook plugin can remove the signature afaik.
"Richard" <An*******@127. 001> wrote: On Mon, 28 Feb 2005 17:00:18 +0000 Spartanicus wrote:
You're supposed to remove *sigs* when following up, quoting the minimal relevant bit what you are replying to *should* be left in.
Now could you tell us how to do that in Outlook Express? Not even my fidolook plugin can remove the signature afaik.
Google for OEquotefix
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net > <http://steve.pugh.net/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David |
last post by:
I have a problem that I cannot delete components that are placed on a
Tabbed page in Visual Basic.Net 2003. (OS = Windows 2000 Professional)
The form uses a Tab Control with several pages. I have a Panel on the page
and then some combo boxes, labels and text boxes.
For some reason, I cannot delete any of these controls from the form (not
even the Tab control istelf).
The Delete and Cut options in the right click menu have been ghosted...
|
by: Usenet |
last post by:
I've got a problem with my css when the user makes the menu's wrap
above each other.
At www.vowleyfarm.co.uk if you close up the browser narrow enough
that the boxes stack above each other, the top level menu items of
boxes lower down the page "cut through" the drop down from a higher-
up-the-page menu.
Is this a z-order (?) issue?
|
by: gil |
last post by:
I would like to display a Union Collective Agreement in HTML format and
keep it as true as possible to the pdf version.
The document uses Article Numbers such as 1.01, 1.02 which are not
available in list numbering.
but does use sublists with alpha and roman numbering that should be easy
enough to code.
What I want to do, is code to this pattern
|
by: Sjef Janssen |
last post by:
I try to get a tabbed display work both in IE (6 and 7) and Firefox. The
last does give a problem. What's going wrong here? I'm totally puzzled.
<!doctype html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w4.org/1999/xhtml" xml:lang="nl" lang="nl">
<head>
<title>Tabbed display</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<style>
|
by: Don Miller |
last post by:
I have a one-level static menu control with 18 menu items. When displayed in
a browser, the menu items do not wrap and the menu extends well past the
browser window.
Is there a property to control wrapping for a menu so that it automatically
wraps to be one, two, three, etc. rows of menu items depending on the width
of the browser window?
There is a property "Item Wrap" but it only wraps the text within the item,
and I've tried making...
| |
by: mjohnson0321 |
last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of the browsers I have tested it on (IE6, IE7, Firefox, Opera and Safari). It is probably something simple, but I can't find it!
Here is the CSS (using external style sheets):
style-temp.css (Main style sheet for the site):
* {
font-family:...
|
by: Angus |
last post by:
I have had a look at
http://javascript.internet.com/navigation/cascade-menu.html
Which is roughly what I want to do.
Roughly the menu looks like this:
Menu #1 Menu #2 Menu #3 Menu #4
|
by: Brian Kendig |
last post by:
I'm trying to make a web page with a restaurant menu on it. Each line
on the menu is the name of a dish (left-justified) and that dish's
price (right-justified), with a dotted line between them. I'm doing
something similar to this menu:
http://cunardrestaurant.com/images/menu6.jpg
But three things make it difficult: (1) the names of the dishes are
all different lengths, (2) the prices can be different lengths, and
(3) some of the...
|
by: dharmbhav |
last post by:
Hello all,
I am trying to develop a roll-over menu effect on a page. It works fine with all other browsers except IE6. Can some one please help me?
HTML:
<div class="menu-item-wrap">
<a href="#" class="menu-item-text">
Menu1
</a>
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |