I have a page ( www.eastex.net/ben/NewETN/index3.asp) that displays OK in IE,
but not in Netscape. I used a combination of padding-top and height
attributes to get a total height on four cells. Netscape seems to not
respect the padding-top, and only goes by the height, resulting in the cells
being too short.
What options do I have in CSS? I would like to be able to specify the
height by using a definite attribute (I thought height was the answer, but
my text then goes to the top of the cell, and I want it centered).
Please Help!!! You can go to the page to see what I'm talking about.
Thanks,
Ben
Jul 20 '05
16 2419
Ben wrote: Ok, I abviously know a lot less about CSS than originally thought. I used the first chapter of Eric Meyer on CSS (showing how to convert from HTML layout to CSS layout). I assumed that tables must be used still, but can be a lot simpler and the only formatting needed was the cellspacing.
[snip]
They are neither mandatory nor prohibited. They are simply a technique for you
to use if they suit your purpose at any time.
But, indeed, if you use them, make them simple and control them via CSS.
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
Ok, how would I position the Email Login bar and cells underneath it using
CSS? You can see what I have so far at: www.eastex.net/ben/NewETNcss/index.htm
The panes on the right need to stretch all the way to right of the browser,
but the left side starts at 557px. This stuff gets confusing fast!
--
Ben
"Ben" <ben at eastex dot net> wrote in message
news:10******** *****@corp.supe rnews.com...
| I have a page ( www.eastex.net/ben/NewETN/index3.asp) that displays OK in
IE,
| but not in Netscape. I used a combination of padding-top and height
| attributes to get a total height on four cells. Netscape seems to not
| respect the padding-top, and only goes by the height, resulting in the
cells
| being too short.
|
| What options do I have in CSS? I would like to be able to specify the
| height by using a definite attribute (I thought height was the answer, but
| my text then goes to the top of the cell, and I want it centered).
|
| Please Help!!! You can go to the page to see what I'm talking about.
|
| Thanks,
| Ben
|
|
How am I supposed to post my replies in a newsgroup?: http://allmyfaqs.com/faq.pl?How_to_post
[top-posting fixed, but quote marks may be a bit off]
Ben wrote: www.eastex.net/ben/NewETN/index3.asp
Brian wrote... it appears, you didn't bother validating your code
http://validator.w3.org/check?uri=ht...N%2Findex3.asp
Ben wrote:
Ok, I abviously know a lot less about CSS than originally thought.
Well, this is not a question of CSS, it is the HTML, which is more
important. Your CSS had no errors. Your HTML had lots. The problem
there is that even good CSS can go bad when the HTML has errors. Think
of it as a nice coat of paint on a house with a crumbling foundation.
I used the first chapter of Eric Meyer on CSS (showing how to convert from HTML layout to CSS layout).
A good reference.
I assumed that tables must be used still, but can be a lot simpler and the only formatting needed was the cellspacing.
You can, but I don't recommend it. I recommend dumping layout tables.
Markup the data correctly -- headings in <h1> or <h2 or...; lists in
<ul> or <ol>; paragraphs in <p>; etc. -- then apply the css.
But regardless of what markup you use, it *must* be validated if you
want a fighting chance at getting your css to work. So the question is,
do you want references for HTML and validation?
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
Ok, how would I position the Email Login bar and cells underneath it using
CSS? You can see what I have so far at: www.eastex.net/ben/NewETNcss/index.htm
The panes on the right need to stretch all the way to right of the browser,
but the left side starts at 557px. This stuff gets confusing fast!
--
Ben
"Ben" <ben at eastex dot net> wrote in message
news:10******** *****@corp.supe rnews.com...
| I have a page ( www.eastex.net/ben/NewETN/index3.asp) that displays OK in
IE,
| but not in Netscape. I used a combination of padding-top and height
| attributes to get a total height on four cells. Netscape seems to not
| respect the padding-top, and only goes by the height, resulting in the
cells
| being too short.
|
| What options do I have in CSS? I would like to be able to specify the
| height by using a definite attribute (I thought height was the answer, but
| my text then goes to the top of the cell, and I want it centered).
|
| Please Help!!! You can go to the page to see what I'm talking about.
|
| Thanks,
| Ben
|
|
How am I supposed to post my replies in a newsgroup?: http://allmyfaqs.com/faq.pl?How_to_post
[top-posting fixed, but quote marks may be a bit off]
Ben wrote: www.eastex.net/ben/NewETN/index3.asp
Brian wrote... it appears, you didn't bother validating your code
http://validator.w3.org/check?uri=ht...N%2Findex3.asp
Ben wrote:
Ok, I abviously know a lot less about CSS than originally thought.
Well, this is not a question of CSS, it is the HTML, which is more
important. Your CSS had no errors. Your HTML had lots. The problem
there is that even good CSS can go bad when the HTML has errors. Think
of it as a nice coat of paint on a house with a crumbling foundation.
I used the first chapter of Eric Meyer on CSS (showing how to convert from HTML layout to CSS layout).
A good reference.
I assumed that tables must be used still, but can be a lot simpler and the only formatting needed was the cellspacing.
You can, but I don't recommend it. I recommend dumping layout tables.
Markup the data correctly -- headings in <h1> or <h2 or...; lists in
<ul> or <ol>; paragraphs in <p>; etc. -- then apply the css.
But regardless of what markup you use, it *must* be validated if you
want a fighting chance at getting your css to work. So the question is,
do you want references for HTML and validation?
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
Alright, I got everything validated through W3C! However, I'm still using
tables simply because I could not get it looking right with CSS. That will
have to be a future correction. I also put the javascript in a an external
file.
Anyways, just wanted to say thanks for your help, and the links were useful.
--
Ben
"Brian" <us*****@juliet remblay.com.inv alid> wrote in message
news:10******** *****@corp.supe rnews.com...
| How am I supposed to post my replies in a newsgroup?:
| http://allmyfaqs.com/faq.pl?How_to_post
|
| [top-posting fixed, but quote marks may be a bit off]
|
| Ben wrote:
| > www.eastex.net/ben/NewETN/index3.asp
|
| Brian wrote...
|
| >> it appears, you didn't bother validating your code
| >>
| >> http://validator.w3.org/check?uri=ht...N%2Findex3.asp
|
| Ben wrote:
|
| > Ok, I abviously know a lot less about CSS than originally thought.
|
| Well, this is not a question of CSS, it is the HTML, which is more
| important. Your CSS had no errors. Your HTML had lots. The problem
| there is that even good CSS can go bad when the HTML has errors. Think
| of it as a nice coat of paint on a house with a crumbling foundation.
|
| > I used the first chapter of Eric Meyer on CSS (showing how to convert
| > from HTML layout to CSS layout).
|
| A good reference.
|
| > I assumed that tables must be used still, but can be a lot simpler
| > and the only formatting needed was the cellspacing.
|
| You can, but I don't recommend it. I recommend dumping layout tables.
| Markup the data correctly -- headings in <h1> or <h2 or...; lists in
| <ul> or <ol>; paragraphs in <p>; etc. -- then apply the css.
|
| But regardless of what markup you use, it *must* be validated if you
| want a fighting chance at getting your css to work. So the question is,
| do you want references for HTML and validation?
|
| --
| Brian (remove "invalid" from my address to email me)
| http://www.tsmchughs.com/
Alright, I got everything validated through W3C! However, I'm still using
tables simply because I could not get it looking right with CSS. That will
have to be a future correction. I also put the javascript in a an external
file.
Anyways, just wanted to say thanks for your help, and the links were useful.
--
Ben
"Brian" <us*****@juliet remblay.com.inv alid> wrote in message
news:10******** *****@corp.supe rnews.com...
| How am I supposed to post my replies in a newsgroup?:
| http://allmyfaqs.com/faq.pl?How_to_post
|
| [top-posting fixed, but quote marks may be a bit off]
|
| Ben wrote:
| > www.eastex.net/ben/NewETN/index3.asp
|
| Brian wrote...
|
| >> it appears, you didn't bother validating your code
| >>
| >> http://validator.w3.org/check?uri=ht...N%2Findex3.asp
|
| Ben wrote:
|
| > Ok, I abviously know a lot less about CSS than originally thought.
|
| Well, this is not a question of CSS, it is the HTML, which is more
| important. Your CSS had no errors. Your HTML had lots. The problem
| there is that even good CSS can go bad when the HTML has errors. Think
| of it as a nice coat of paint on a house with a crumbling foundation.
|
| > I used the first chapter of Eric Meyer on CSS (showing how to convert
| > from HTML layout to CSS layout).
|
| A good reference.
|
| > I assumed that tables must be used still, but can be a lot simpler
| > and the only formatting needed was the cellspacing.
|
| You can, but I don't recommend it. I recommend dumping layout tables.
| Markup the data correctly -- headings in <h1> or <h2 or...; lists in
| <ul> or <ol>; paragraphs in <p>; etc. -- then apply the css.
|
| But regardless of what markup you use, it *must* be validated if you
| want a fighting chance at getting your css to work. So the question is,
| do you want references for HTML and validation?
|
| --
| Brian (remove "invalid" from my address to email me)
| http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Edward Diener |
last post by:
In the tutorial on functions there are sections on default arguments and
keyword arguments, yet I don't see the syntactic difference between them.
For default arguments the tutorial shows:
def ask_ok(prompt, retries=4, complaint='Yes or no, please!'):
while for keyword arguments the tutorial shows:
def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):
|
by: rez |
last post by:
I find it rather frustrating that Netscape 4.x is "no longer
supported:"
http://help.netscape.com/products/client/communicator/reflib.html
Same seems true with IE.
How am I ever supposed to make my scripts multi-browser, when they
don't bother giving me basic
documentation?
|
by: Kkiely |
last post by:
what is the difference?
|
by: MozillaCensorsMe |
last post by:
Hello,
While I haven't finished my wonderful tutorial to save the world, I do
have a simple question.
What's the difference between h1 and the title tag?
For me it seems as though both can be used interchangebly. For
example, the articles on my site (andkon.com) have the same title as
h1. Comments?
|
by: Guru |
last post by:
I am using a string which has <tr> tags inside it.
I want to do a greedy search on it.
For eg.. if that string contains,
<nothing><tr>bla</tr><tr>blablabla</tr><tr>hi</tr></nothing>
I want to extract the things inside <tr>..</tr> tags.
Like,
<tr>bla</tr><tr>blablabla</tr><tr>hi</tr>
| |
by: JJ_377 |
last post by:
What is the reason for the difference between the way Netscape 7.1 (NS)
makes a cookie and Internet Explorer 6 (IE) makes one in the following
case:
The following JavaScript cookie assignment statement (with variables
name="CookieName" and strContent-"cookieValue"):
document.cookie = name + "=" + strContent + ";"
results in the following results in IE and NS:
|
by: JJ_377 |
last post by:
Why won't Netscape do the intended in the following? IE is able to
render this page as intended. It is is a "self-posting" ASP form with a
JavaScript validation function: if the form fails the JavaScript
validation function, then the form should not post and an alert should
be issued as indicated below.
The *first* alert in the Validate function works in NS, but the rest of
the code does not and therefore I wonder about the way I am...
|
by: Better but still clumpsy |
last post by:
I have the three following scripts.
var pat_piece=/(\w{2})-(\w{2,3})/;
item=="kpgn9">
var piece=item.split(pat_piece);
Netscape is able to split it correctly while IE isn't. What should
pat_piece look like if I only want item to be splitted any word
like WN-a10 to two?
|
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: 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |