473,756 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with width of input / CSS

Dear all,

my question is concerning the following html page:
http://www.omeganet.de/test/test.shtml

Could anybody tell me why the text input box (the fourth element) is
wider than the other elements if the page is displayed in IE6 and
latest Mozilla? If displayed in Opera, the input box is as wide as the
other elements - as it should be.

Thank you very much,

Peter
Jul 20 '05 #1
15 10530
On Sun, 11 Jan 2004, Peter Pfannenschmid wrote:
my question is concerning the following html page:
http://www.omeganet.de/test/test.shtml
It's rude to ask people to spend time investigating problems with a
page before you've got it to pass validation.
Could anybody tell me why the text input box (the fourth element) is
wider than the other elements if the page is displayed in IE6 and
latest Mozilla?
Sounds like the usual box-model issue, but I'm unwilling to look
closer till validation has been sorted out.
If displayed in Opera, the input box is as wide as the
other elements - as it should be.


"Should" it? I would reserve judgment on that.

I'd recommend using visible borders etc. so that you can see how the
box model is working. My own notes on that are here
http://ppewww.ph.gla.ac.uk/~flavell/...yout-diag.html

But the first priority would be to sort out the validation issues.

And then the usual litany, for pages intended for the WWW:

- don't specify font sizes in pt units (use em or percent)
- don't include verdana in font specifications
- if you specify a background colour then specify a text colour
*at the same specificity*, and vice versa. I.e always specify
either both together, or neither.

In short, you would get better results by reading this group before
posting to it.
Jul 20 '05 #2
MH
> > my question is concerning the following html page:
http://www.omeganet.de/test/test.shtml
It's rude to ask people to spend time investigating problems with a
page before you've got it to pass validation.
It's rude to tell that to people the way you do... and I find it is typical
for this newsgroup.

What you mean is this; Peter; sort this out first;
http://validator.w3.org/check?uri=ht...%2Ftest%2Ftest
..shtml
In short, you would get better results by reading this group before
posting to it.


Then why are you (AJF) posting at all?

-------
MH
Jul 20 '05 #3
[Followup set to comp.infosystem s.www.authoring.stylesheets]

Peter Pfannenschmid wrote:
my question is concerning the following html page:
http://www.omeganet.de/test/test.shtml

Could anybody tell me why the text input box (the fourth element) is
wider than the other elements if the page is displayed in IE6 and
latest Mozilla? If displayed in Opera, the input box is as wide as the
other elements - as it should be.


You should realise that the 'width' property specifies the content
width and not the box width which includes any margin, border and
padding in addition.

Read all about the CSS "Box Model" [1] and "Visual formatting model
details" [2]. You may read the "Visual formatting model" [3]
section, too.
__

[1] http://www.w3.org/TR/CSS21/box.html
[2] http://www.w3.org/TR/CSS21/visudet.html
[3] http://www.w3.org/TR/CSS21/visuren.html

--
Stanimir
Jul 20 '05 #4
"MH" <no****@nowhere .no> wrote in
news:bt******** **@news1.tilbu1 .nb.home.nl:
> my question is concerning the following html page:
> http://www.omeganet.de/test/test.shtml

It's rude to ask people to spend time investigating problems with a
page before you've got it to pass validation.


It's rude to tell that to people the way you do... and I find it is
typical for this newsgroup.

What you mean is this; Peter; sort this out first;
http://validator.w3.org/check?uri=ht...et.de%2Ftest%2
Ftest .shtml


Good idea, but Alan's point still stands. Validation of HTML source can be
performed by a machine whose "intelligen ce" couldn't even hope to come up
to that of an orangutan. And that means that asking apes who evolved more
recently than orangutans (e.g. humans) to debug invalid HTML is in fact
rather insulting. This is a forum populated by volunteers whose time isn't
free. Those of us who are willing to offer advice do so with the
understanding that all problems that could be detected by someone with less
intelligence than the average human have in fact been detected and
corrected. Believe it or not, that amounts to nothing more than treating
typical humans with respect; it would be awfully disrespectful to assume
that a poster was incapable of validating his HTML. An old song by the
Staples Singers comes to mind...
Jul 20 '05 #5
"Eric Bohlman" <eb******@earth link.net> wrote in message
news:Xn******** *************** ********@130.13 3.1.4...
| ..An old song by the
| Staples Singers comes to mind...

Which one?

Let's Do it Again - noobs
Use What You Got - use the validator
People Get Ready - use the validator
Why Am I Treated So Bad - Applicable to anybody
in the conversation who feels hard done by.
Getting too Big for Your Britches - .....
Gotta Serve Somebody - Which ..we don't,
but sometimes it seems like it.
Simple Man - ....

;-)

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Jul 20 '05 #6
"Andrew Thompson" <an******@bigNO SPAMpond.com> wrote in
news:Vd******** ********@news-server.bigpond. net.au:
"Eric Bohlman" <eb******@earth link.net> wrote in message
news:Xn******** *************** ********@130.13 3.1.4...
| ..An old song by the
| Staples Singers comes to mind...

Which one?


Respect Yourself
Jul 20 '05 #7
On Sun, 11 Jan 2004 18:06:34 +0100, MH <no****@nowhere .no> wrote:
It's rude to tell that to people the way you do... and I find it is
typical
for this newsgroup.

What you mean is this; Peter; sort this out first;
http://validator.w3.org/check?uri=ht...%2Ftest%2Ftest
.shtml


That's what he said. In his own way.

There are rules to Usenet. One is, read the group through before posting.
Get to know what's expected before you ask for help. In probably 20% of
the help threads here on my server, someone didn't validate, and I know
that in many cases that can be the cause of the problem.

Another rule is to accept that people who are experts in answering
questions diplomatically aren't always experts in the topic, and vice
versa. Alan knows his stuff, and that's one reason this ng is so useful.
But he's not an expert in answering questions nicely. That's not what we
need here.

You cannot say Alan is wrong. He's dead nuts right. Without valid code you
cannot expect to discover the root of a problem.

While I agree that people in general need to be more gentle in the way
they go through life, that doesn't mean that we disallow a little
frustration from somebody who's a real prize around here because someone's
asking for help with broken code. In this case, I agree with Alan - it's
not time to ask the questions yet. Read the ng, see if anything you find
here helps, and then and ONLY then ask for help.
Jul 20 '05 #8
It seems "MH" wrote in comp.infosystem s.www.authoring.html in
article <bt**********@n ews1.tilbu1.nb. home.nl>:
It's rude to ask people to spend time investigating problems with a
page before you've got it to pass validation.


It's rude to tell that to people the way you do... and I find it is typical
for this newsgroup.


Then I suggest you are entitled to a refund of 200% of the money you
have paid.

If you don't like the help you get here, then don't let the door
bang you in the ass on the way out. Otherwise, accept the fact that
you don't have any right to have others do your work for you; but on
the other hand if you show a sincere effort to understand you'll
have people falling over themselves to be helpful.

If that's too complicated, try this: It's _really_ stupid to insult
people when asking them to do you a favor.

(followups reduced)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #9
Dear all,

the people who told me to sort out validation first are right, and I
agree.

I knew this rule and followed it, but I have put the wrong file
online... I started the experiment (on local machines) with the file I
put online, then validated it and corrected the errors, and then put
the first version online - very intelligent, indeed. So please accept
my apologies.

Regarding the reproach of not having read the group: I have grouped
and googled, but I had no luck in finding a solution which makes the
input "controls" the same width in Opera, Mozilla and IE (the latest
versions).

So, as now the validated file without errors is online, again the
question: Any ideas how to achieve this?

Thank you very much,

Peter
it*@omeganet.de (Peter Pfannenschmid) wrote in message news:<65******* *************** ***@posting.goo gle.com>...
Dear all,

my question is concerning the following html page:
http://www.omeganet.de/test/test.shtml

Could anybody tell me why the text input box (the fourth element) is
wider than the other elements if the page is displayed in IE6 and
latest Mozilla? If displayed in Opera, the input box is as wide as the
other elements - as it should be.

Thank you very much,

Peter

Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2402
by: Dan Weeb | last post by:
Hi All, I have struggled through this far with help from many of you so thanks. I am stuck again. I am really new to this so don't be harsh :-) There are a few problems. You can run the script here http://www.pbrown.com/research/test1.php to see the formatting issues Formatting Issues
4
4296
by: Eric | last post by:
Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works fine, however, when the checkbox is only field that has been modified/clicked the form doesn't always submit. When it does work, a Stored procedure is passed form variables and updates to the db are made. When it doesn't, its as if the form wasn't submitted, it reloads and resets the page, but...
0
1620
by: Christopher Brandsdal | last post by:
Hi! I have a anoying problem with my editor! What i want to do is make a popup that holds a string for the "hyperlink" window... I have a popup to do this before, and it works perfecty, but in order to make it work, I have to know the adress of the box I wanna put the value back in to... I have this so far :)
0
3510
by: Michael Fork | last post by:
Note: I pasted the code the attachments as plain text after the message (I wasn't able to post it with an attachment...) Attached are the XSL and XML files that I am having problems with. I am trying to extract the stock information after having downloaded the HTML and converted to XML (well-formed HTML) using XSL and XPATH and am unable. I am basing what I have done so far off of...
2
1623
by: jascraig | last post by:
Here's my dilemma. I'm working with a frameset with 3 frames (header,content,control). My control frame contains a select list with buttons for next and previous. When the next button is pushed the select list moves to the next option and the content frame changes to the next URL, and a page number is updated on the header. The code I have now works great on NS 7 and FF1. When I test it in IE, the select box updates then immediately...
2
17080
by: cbjewelz | last post by:
Hey all. So I'm having problems with cross browser alignments. I'm looking at Safari and Mozilla Firefox. I develop in Safari and so it looks perfect there however in Firefox my vertical alignments and div widths are off. It's as if firefox has a different definition of a pixel than safari. Here is the url: http://theprize.chemouni.com/testing.php. When you select the Option from the pull down, the first part of the form appears. Then when...
34
2840
by: aljamala | last post by:
I keep getting this error for the given code region (it actually highlights the line with the body tag): line 42 column 1 - Warning: <trisn't allowed in <bodyelements </head> <body style="margin: 0" onload="preloadImages();"> <table border="0" cellPadding="5" cellSpacing="0" width="100%"> <tr vAlign="top">
3
3319
by: KimberlyM | last post by:
This has been driving me crazy. I hope someone can help. The site displays perfectly in FF but all div's do not show in IE. Please help me find the problem! Thanks! Here is my css. .node-unpublished, .comment-unpublished { background-color : #594133; } .preview .node, .preview .comment { background-color : #ffffea; }
1
1875
by: bdbeames | last post by:
I have a page with google maps up and running. When a user clicks on a location from the map I would like to populate a drop down with data from the database related to that location. I have it up and working wonderful. Well that was what I thought until I tried it is IE. All that I get is an empty drop down. I know the problem is related to filling the element with the xmlHttp.responseText, but no matter how many solution I have tried as...
1
2628
by: jeddiki | last post by:
Hello, I have made a nice opt-in form and tested it in Moz FF and it looks fine. But in IE the elements don't line up properly. I think I am nearly there but can not get these elements straight - can you see what I have missed ?
0
9431
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10014
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, 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...
0
8688
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, 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...
1
7226
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6514
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();...
0
5119
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...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
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
3
2647
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.