I am still struggling with an unordered list
( http://www.xs4all.nl/~hogen/TaalVlinder/).
The top navbar contains 4 divs with each an ul,
and no padding or margins.
But I get far too much white to the left and right of the lists, especially
noticeble in the two right hand menu's 'flora & fauna' and afkortingen
etc.'
I tried to solve the problem by setting text-align:left on the list, but
that does not seem to have any effect, not when set on the li, nor when
applied to the ul as a whole, nor to both.
Any idea where I go wrong?
Could it have to do with the width of the divs containing the menu's being
set in html rather than with css? I have tried fiddling with that, but got
nowhere.
Your help will be most welcome.
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail] 28 3874
A.Translator wrote: I am still struggling with an unordered list (http://www.xs4all.nl/~hogen/TaalVlinder/).
The top navbar contains 4 divs with each an ul, and no padding or margins.
A look with Mozilla dom inspector suggests that things have gone awry.
I see boxes for meny layer 2 and 3 not containing any text, but
overlapping the content. What do you want? Where do you want the
menus? You're using lots of position: absolute. That is more
complicated than perhaps you realize. Keep it simple (kiss).
But I get far too much white to the left and right of the lists, especially noticeble in the two right hand menu's 'flora & fauna' and afkortingen etc.'
Any idea where I go wrong?
You need to simplify the menu.
Other things to consider:
don't misuse tables for layout
don't set text size below 100% for the body. And don't set anything
below 85-90%, and even then only for a few words of text (e.g.,
copyright notice)
do choose colors for a greater contrast (grey on white is difficult to
read)
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/
On Sun, 01 Feb 2004 16:04:23 GMT, Brian wrote: A look with Mozilla dom inspector suggests that things have gone awry. I see boxes for meny layer 2 and 3 not containing any text, but overlapping the content. What do you want? Where do you want the menus? You're using lots of position: absolute. That is more complicated than perhaps you realize. Keep it simple (kiss).
Thank you very much for the trouble you took. Really appreciate it, but
cannot understand what you mean about menu layers in Mozilla not
containing any text.
I have Mozilla 1.5 as my standard browser and it is - alas! - the only
browser things show up in as intended.
I try to keep things simple, believe you me!
don't misuse tables for layout
I did consider that, but it doesn't agree with the other axiom: keeping
things simple...
do choose colors for a greater contrast (grey on white is difficult to read
Good point. I will reconsider because of your comment. This is only a
test-layout. Mind you: it is not a commercial site, but an informational
one targeted at a very specific group - i.e. my colleagues.
First I need to address the menu-problem. You remark on my usage of
position absolute: you are right. I learnt that method following a
particular tutorial, but do not really grasp it. On the other hand: I do
not *really* understand most of the things that do work!
Thanks again, I'll try and keep things simple, while trying to find out why
you don't see any text in menulayers 2 and 3.
--
Groet, Adriana. [throw rubbish out if you want to reach me by e-mail]
A.Translator wrote: On Sun, 01 Feb 2004, Brian wrote:
A look with Mozilla dom inspector suggests that things have gone awry. I see boxes for meny layer 2 and 3 not containing any text, but overlapping the content. What do you want? Where do you want the menus? You're using lots of position: absolute. That is more complicated than perhaps you realize. Keep it simple (kiss). but cannot understand what you mean about menu layers in Mozilla not containing any text.
I have Mozilla 1.5 as my standard browser and it is - alas! - the only browser things show up in as intended.
FYI, I'm using Mozilla 1.3/Win2k. don't misuse tables for layout
I did consider that, but it doesn't agree with the other axiom: keeping things simple...
I beg to differ. Nested tables (3 layers deep, as I recall) is not
simple. What I saw was a navigation on the left, and content on the
right. That's 2 div elements. Plus a 3rd if you want some navigation
above the content (the menus that I cannot see).
Dump all the table markup. Put the nav in a div, or in several divs if
you need to. Put the content in a separate div. Validate your html
(you don't have alt specified on your images, but otherwise the code
seems ok on quick inspection). After that, start working on your
positioning/floats etc.
I'll try and keep things simple, while trying to find out why you don't see any text in menulayers 2 and 3.
If you have Mozilla, open the dom inspector (ctrl-shift-i). Select
divs and watch the borders blink. That should help you troubleshoot.
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/
On Sun, 01 Feb 2004 19:47:10 GMT, Brian wrote: I did consider that, but it doesn't agree with the other axiom: keeping things simple...
I beg to differ. Nested tables (3 layers deep, as I recall) is not simple. What I saw was a navigation on the left, and content on the right. That's 2 div elements. Plus a 3rd if you want some navigation above the content (the menus that I cannot see).
I may give it a try, once I've got the confidence, but you are obviously
much more experienced than I am. There seems to be a pro-and anti table
debate going on that is way over my head.
You are right of course about alt's not being defined and so on, but please
bear in mind this is only a mockup - not the definitive version. I will
start again once I've got the menu's going - in all versions of Moz too...
Thanks again.
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]
A.Translator wrote: On Sun, 01 Feb 2004, Brian wrote: [re tableless layout] I may give it a try, once I've got the confidence
Your choice. But if I were you, I would not try to learn nested table
layout, *then* learn css, which is quite a different way of doing
things. It's been a couple of days, and my memory is failing me -- is
this a personal site? If so, then it seems like a good way to learn
proper html with css. Start with just the necessary markup (<p>, <ul>,
etc.). Group things into <div> where appropriate. Add *no* styling.
Validate the html. When all's well there, load it up in a browser for
the basic rendering. Decide what you don't like, and use css to change it.
If this is a professional site, and time is important, you may need to
get something up more quickly.
There seems to be a pro-and anti table debate going on that is way over my head.
Not quite. There is no anti-table advocates. They are useful for
presenting tabular data in a flexible, portable way. But I'd caution
against using *any* html element -- <table>, <blockquote>, etc. -- to
achieve formatting effects that those elements have in graphical
browsers. Presentation is something that HTML does not do well, and no
surprise, since it was not designed as a desktop publishing language.
You are right of course about alt's not being defined and so on, but please bear in mind this is only a mockup - not the definitive version.
I see. From looking at your code, it seems pretty solid. And the only
validation issue was missing alt attributes. That leads me to believe
that you may be more capable then you think you are at learning css.
That said, I cannot say that it is a cakewalk.[1] But it is possible
to get the hang of it.
[1]Your sig makes me think you are German? A "cakewalk" in (American?)
English means something very easy. We Americans seem to really like
our dessert metaphors.
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/
On Tue, 03 Feb 2004 03:49:42 GMT, Brian
<us*****@juliet remblay.com.inv alid-remove-this-part> wrote: [1]Your sig makes me think you are German? A "cakewalk" in (American?) English means something very easy. We Americans seem to really like our dessert metaphors.
The "cakewalk" was a game played at parties about a hundred-plus years ago
or so. Couples would strut across the room with the most stylized, even
silly, walk possible, and the declared winners would take home a cake. The
basic walk was derived from African tribal dances where the body was slung
back. Slave owners picked up the tratition from their slaves, and the
cakewalk became a parody of "society" people strutting around. As the
elite who were being imitated had it pretty easy, the word "cakewalk"
refers to anything which requires no effort to do.
Neal wrote: The "cakewalk" was a game played at parties about a hundred-plus years ago or so. Couples would strut across the room with the most stylized, even silly, walk possible, and the declared winners would take home a cake.
I found that rather interesting. Thanks! :)
--
Brian (follow directions in my address to email me) http://www.tsmchughs.com/
Neal <ne*****@spamrc n.com> wrote: On Tue, 03 Feb 2004 03:49:42 GMT, Brian <us*****@julie tremblay.com.in valid-remove-this-part> wrote:
[1]Your sig makes me think you are German? A "cakewalk" in (American?) English means something very easy. We Americans seem to really like our dessert metaphors.
The "cakewalk" was a game played at parties about a hundred-plus years ago or so. Couples would strut across the room with the most stylized, even silly, walk possible, and the declared winners would take home a cake. The basic walk was derived from African tribal dances where the body was slung back. Slave owners picked up the tratition from their slaves, and the cakewalk became a parody of "society" people strutting around. As the elite who were being imitated had it pretty easy, the word "cakewalk" refers to anything which requires no effort to do.
If you've seen "Meet Me In St. Louis", you've seen Judy Garland and
Margaret O'Brien do a cakewalk to the song "Under the Bamboo Tree".
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
On Tue, 03 Feb 2004 03:49:42 GMT, Brian wrote: A.Translator wrote: On Sun, 01 Feb 2004, Brian wrote: [re tableless layout] I may give it a try, once I've got the confidence Your choice. But if I were you, I would not try to learn nested table layout, *then* learn css, which is quite a different way of doing things.
I am quite confident with some aspects of css, but have great difficulty
with using it to positioning elements. I am learning, though, thanks to
several books and people like you.
Is this a personal site?
Yes. I am a translator by profession (although retired) who designs only
non-commercial sites for very specific groups. I want my sites to
validate, though!
If so, then it seems like a good way to learn proper html with css.
Your encouragement may change my mind. I am going to have another go at
changing the lay out and get rid of the table-structure. I am using tables
for other pages, though, where I have lists of words (columns with English
on the left and their translation on the right hand site). That is proper
usage, is it not?
Presentation is something that HTML does not do well, and no surprise, since it was not designed as a desktop publishing language.
Point taken.
That said, I cannot say that it is a cakewalk.[1] But it is possible to get the hang of it.
Thanks again for the encouragement. One does need to be reminded once in a
while that it is at all possible ;-) [1]Your sig makes me think you are German?
I am Dutch. We are friends now but until very recently Dutch people would
get very upset about being mistaken for Germans...
(thanks for the explanation of 'cakewalk' - as a translator I am very
interested in language).
--
Groet, Adriana. [throw rubbish out if you want to reach me by e-mail] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xerxes |
last post by:
Hi,
I need help in setting up a page where the text wraps around an image.
Right now, I am using table, with text in one <td> and the image in the
adjacent <td>. The problem is when the text is longer than the height of
the image, I get all this dead space below the image with the text just
going vertically down in its own <td>.
Can I use style sheet to position the image and the text so that the
text can start taking up the whole page...
|
by: Macsicarr |
last post by:
Hi All
Wonder if you could help me.
I have created a CMS system that allows the user to enter text and pic
'tags' for their own About us page, eg
text.... text.... text.... text.... text.... text.... text.... text....
text.... text.... text.... text....
text.... text.... text.... text.... text.... text.... text.... text....
|
by: Arif Çimen |
last post by:
Hi to everybody,
I have chnged a button text in design mode. But After compiling and
executing the program
the text of the button do not change to new value.
Any Ideas?
Thaks for helps.
|
by: jweinberg1975 |
last post by:
I would like for users to be able to select from a small number of options
that come from a little drop down menu which then closes.
..
http://www.geocities.com/jweinberg1975/dropdown_on_text00.html
..
In order to see the behavior you should "mouseover" the white-on-black text
segment that says "omnis dolor repellend"
..
the thing is that I don't want for the whole space in the paragraph to be
empty. I just need for the little menu to...
|
by: bbepristis |
last post by:
Hey all I have this code that reads from one text file writes to
another unless im on a certian line then it writes the new data however
it only seems to do about 40 lines then quits and I cant figure out why
any help would be much apprechiated
1.
Dim line_num As Integer
2.
Dim filename2 As String
3.
| |
by: jonniethecodeprince |
last post by:
Hi all,
I have trouble getting an array of data stored in a separate javascript file i.e. a file called books.js into a table of data for a .xhtml file.
There are 50 Records in this file.
There are 5 colums of data I wish to display.
I want to display these records in groups of 10.
Based on the fact that the records I want are located in a separate file, how can I get these details to show on the form and manipulate the data to...
|
by: Neil |
last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text
feature does not support: a) full text justification; b) programmatic
manipulation.
I was hoping that someone might know one way or the other whether that was
true or not, or could point me to an article or help text that would. What I
have seen so far online and in Access 2007 help seems to confirm the above.
But that (or at least (b)) seems incredible that it...
|
by: JosAH |
last post by:
Greetings,
Introduction
At the end of the last Compiler article part I stated that I wanted to write
about text processing. I had no idea what exactly to talk about; until my wife
commanded me to "clean up that mess you never use anyway and please dump the
rest of it in the attic or simply throw that junk away".
I want to make a statement here:
|
by: bluemountain |
last post by:
Hi there,
Iam new to python forms and programming too
I had a text file where i need to extract few words of data from the header(which is of 3 lines) and search for the keyword TEXT1, TEXT2, TEXT3in entire file(file consisting of 150 lines) that is related to a particular id and get the sum of the, WRITES of TEXT1, TEXT2, TEXT3
ex: input file will be as below
Windows 2000 text text text text text text text
|
by: dpw.asdf |
last post by:
I have been searching all over for a solution to this. I am new to
Python, so I'm a little lost. Any pointers would be a great help. I
have a couple hundred emails that contain data I would like to
incorporate into a database or CSV file. I want to search the email
for specific text.
The emails basically look like this:
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |