473,605 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firefox and IE 7 and divs, etc!

Hello Styleists!

I am trying to get a page going similar to this nice tutorial at A
List Apart.

URL: http://www.alistapart.com/d/holygrail/example_1.html

This is sorta what I would like. When I navigate to the page above
using Firefox, all is well -
the left side (a div column) has text and is colored blue, the center
is white, and the right column (a div as well) is red. This is a
three-column sample, which is fairly nice. BUT!!

When I navigate to this page using IE 7! the left side is completely
gone! I discovered this by accident, when I was using the page above
(example_1.htm) as a template for one of my pages, where I have some
roll over image buttons for navigation on the left side, and all was
ok with my page (more or less) with Firefox. Then I check the page
with IE 7, and all my pretty buttons are gone!

Would some one take a look at the url above, using ie 7 and give me a
hint about fixing this?

Thanks,

eholz1
Nov 17 '07 #1
29 1893
eholz1 wrote:
>
ok with my page (more or less) with Firefox. Then I check the page
with IE 7, and all my pretty buttons are gone!
Put your test page on the web somewhere and post the URL. Do not post
code here. Before you do this, however, validate both your HTML and CSS
to make sure there aren't any syntax errors causing the problem.

--
Berg
Nov 17 '07 #2
rf

"Bergamot" <be******@visi. comwrote in message
news:5q******** ****@mid.indivi dual.net...
eholz1 wrote:
>>
ok with my page (more or less) with Firefox. Then I check the page
with IE 7, and all my pretty buttons are gone!

Put your test page on the web somewhere and post the URL. Do not post
code here. Before you do this, however, validate both your HTML and CSS
to make sure there aren't any syntax errors causing the problem.
Er, he/she did, or more to the point he/she doesn't need to.

It seems the page at alistapart:
http://www.alistapart.com/d/holygrail/example_1.html
is broken when viewed with IE7. Indeed, the left hand column is simply
missing.

I'm not too keen on alistapart examples so I won't bother diagnosing the
problem.

--
Richard.
Nov 17 '07 #3
rf

"VK" <sc**********@y ahoo.comwrote in message
news:ba******** *************** ***********@b36 g2000hsa.google groups.com...
>>Only table layout eliminates this danger.

Er, what again?
<snip drivel>

No further comment required.

--
Richard.
Nov 17 '07 #4
VK
On Nov 17, 3:04 pm, "rf" <r...@invalid.c omwrote:
>Only table layout eliminates this danger.
No further comment required.
Oh? So what is _your_ professional advise will be to OP? "IE users
will not see one third of your page and hell on them, who cares"? Or
do you have another "really working" three columns div layout to
suggest? If the first, then no comments of course, if the last then
I'm anxious to see one.

Nov 17 '07 #5
VK meinte:
>>Only table layout eliminates this danger.
Er, what again?

Again (as it's very important for commercial developers): only table
layout guarantees that the page can be viewed in all its parts by all
visitors using graphics UAs. If one wants to be stable paid for his
solutions, table layout is the only option.
Jeez... Utter crap. Randy Webb was right with his assessment of yours on
clj.

Gregor
--
http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at ::: Forum für Multivisionsvor träge
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Nov 17 '07 #6
VK wrote:

<table width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td width="15%">Men u</td>
<td width="70%">Mai n</td>
<td width="15%">Bla nk/Splash</td>
</tr>
</table>

Either an equivalent of this standard table layout in some div layout
- or stop cheating people, please.

Note: sorry exuses of the kind "different solutions require different
approaches" are dismissed in advance: I do not put any such
restriction in my sample, so please avoid them in yours.
except that:

<ul class="menu">
<li>...
</ul>

<div class="content" >
....
</div>

It far more flexible. A tiny bit of CSS will give you the same
presentation as yours above; BUT if you wish to show the menu
horizontally along the top, or float to the right, or even at the bottom
it can be done without touching the markup but just by editing the
stylesheet. Not possible with your table, you must rewrite.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Nov 17 '07 #7
VK
On Nov 18, 1:07 am, "Jonathan N. Little" <lws4...@centra lva.net>
wrote:
<ul class="menu">
<li>...
</ul>

<div class="content" >
...
</div>

It far more flexible. A tiny bit of CSS will give you the same
presentation as yours above; BUT if you wish to show the menu
horizontally along the top, or float to the right, or even at the bottom
it can be done without touching the markup but just by editing the
stylesheet. Not possible with your table, you must rewrite.
Sorry, this is an argument of a kind "our umbrella may not always open
on the rain but it is also a great tool to fix the door, remember
that" :-)

From what sky blue would one need to orient the left side menu
horizontally in the same three columns layout? Reasons could be found
of course: but too far of the real life to bother about. In any case,
what about a three columns div based layout I asked about? Particular
solutions for the content inside of containers - this is what your
post is answering to - is another lesser important problem.

P.S. Hallvarsson & Hallvarsson (a.k.a. H&H) recently posted the next
annual list of most informative, usable and accessible corporate
sites, as it does it the last 10 year.
http://www.webranking.eu/widepage.aspx?id=1215
Oh, I know that for a real WEB SPECIALIST no opinion may be important
except for his own one - if sustained by "a group of carefully
selected people" ;-) From the other side if trying to get the contract
the opinion of ciwas may get surprisingly low rating against of
H&H ;-)
Do you mind to calculate the amount of div layouts among the most
prominent corporate sites in the list?
Why do you think it is so?
What relation does it have with my previous explanations?
An intensive homework to do :-)
Nov 17 '07 #8
In article
<8c************ *************** *******@w73g200 0hsf.googlegrou ps.co
m>,
VK <sc**********@y ahoo.comwrote:
P.S. Hallvarsson & Hallvarsson (a.k.a. H&H) recently posted the next
annual list of most informative, usable and accessible corporate
sites, as it does it the last 10 year.
http://www.webranking.eu/widepage.aspx?id=1215
VK, the first on this list that came up for me was, incredibly,
one that failed the simplest of all basic criteria for a web
page, namely do not make one that does not need to be as wide as
it is. Using tables for layout is one thing, But using them
without an eye out for the simplest fluidity criteria is bad,
surely? So, without mentioning anything else, can you trust the
judgement of those who made up this list?

Please make your challenge as clear as possible. Your "only table
layout guarantees that the page can be viewed in all its parts by
all visitors using graphics UAs" is simply wrong. If you turn off
the stylesheet of a semantically well made html page, there are
no modern graphical browsers which will not display the page and
bar anyone from its content. So you are meaning something else.
Please spell it out well, it is an interesting claim but you need
to describe what it is much better.

--
dorayme
Nov 17 '07 #9
VK wrote:
>
<table width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td width="15%">Men u</td>
<td width="70%">Mai n</td>
<td width="15%">Bla nk/Splash</td>
</tr>
</table>

Either an equivalent of this standard table layout in some div layout
- or stop cheating people, please.
<div style="width:15 %;float:left;"> Menu</div>
<div style="width:70 %;float:left;"> Main</div>
<div style="width:15 %;float:left;"> Blank/Splash</div>

--
Gus
Nov 18 '07 #10

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

Similar topics

4
8777
by: drdeadpan | last post by:
Hi, Being a newbie, pardon me if this question has been answered. I was finding it difficult to search for my problem on Usenet 'cos I was having a tough time describing it.. Here gow. I have a <div> within which I have another <div> ( i.e nested divs). I find that Firefox gives me the result I want but IE 6 does'nt. IE six chops out the title. WHat suggestions/recommnedations can you guys
26
8385
by: Spondishy | last post by:
Hi, I have a problem with divs and padding in IE6 and Firefox. Basically my example that I have attached works exactly how I want in IE6, but padding is treated differently in Firefox. My example is below. http://www.villas2u.com/example/test.htm http://www.villas2u.com/example/styles.css I realise that the issue is with the padding of 10px pushing the
1
13370
by: steve | last post by:
Hi. New here. I have a xhtml with two footers at the bottom. The style sheet has. Footer1 is a div and a container for two more divs: #webmaster and #links. #webmaster floats left and #links floats right. Both #webmaser and #links has words written in the Div. The Z-index in footer1 is 200. Footer1 position is relative. Footer2 is a div and a container for two more divs #plant1 and
5
2195
by: gregmercer | last post by:
I have the following html sample, where I'd like to have a show and hide two divs, one replacing the other. Following these two divs is a third div (the bluediv) which I would like to have placed right up directly below to the first or second div, depending on which is showing. If you load the html in Firefox, and then click on the "Edit" link you can see that the first div is hidden, the second div is shown, however the third div is...
23
2018
by: ivan | last post by:
AJAX is a stupid and confusing word. People is wondering for something that programmers have used for many years. Javascript + Xml and asynchronous requests is not new. People started to speak about AJAX a lot after XmlHttpRequest was introduced, so AJAX cant'be Javasript+xml+xmlhttprequest. But if you still think so, you can't anyway call this AJAX. What is new with xmlhttprequest is the possibility to perform a synchronous request! (but...
2
4564
by: reynoldlariza | last post by:
Can somebody please help me, i tried playing around with IE6 and Firefox 2.0 browser for setting zIndexes and hide & show of divs. It seems to work to both. I tried repeatedly clicking on different divs on IE and no problem, but on firefox if I do the same, some divs just got hidden without notice. try clicking variably on different divs and it will happen... How do I make this stable? ----------------------------- <HTML> <HEAD>...
5
5889
by: eholz1 | last post by:
Hello Group, I am developing a web site using CSS. I have a div that has a vert scroll bar in it. The div works just fine (scroll up and down, etc). I have regular text (using <ptags) in the div, as well as an unordered list - with 3 or 4 list items. The display of text in the scroller div is just fine in firefox. When I look at the same page using IE 6 - my li text is larger (font size) than the text in the <ptags.
0
2128
by: atarumorooka | last post by:
Hello, yes..it must be hard to try and help someone else coding but today is a full week of sadness and stress for IE CSS rendering and I need your help. Here you have a link that looks nice with Opera and Firefox but it shows problems with IE6 (I've no idea with IE7): http://www.fitcisl.it/fit/index.asp Here I copy the css code with the hope that someone knows a hack so to make it compatible with all the browsers. Thank you! Ataru
2
15549
by: esteuart | last post by:
I need to get the right combination for a div to clip any text inside and allow vertical alignment. I only have this problem in FireFox. I have 3 divs nested within each other. The outer div has display of table, the first inner div has display of table-cell and the inner-most div has the text. The outer div has a set width and height. So here's the problem: Without the inner divs having a width and height set, the overflow:hidden doesn't...
1
4187
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being aligned to the top, along with the slideshow and link buttons, you have to scroll down to see the text - how can I make IE6 display correctly? http://geekarama.co.uk/new_home.html here is the code for new_home.html and following that the CSS...
0
8001
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
7934
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8424
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
8286
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6742
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
5886
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
3912
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
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1270
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.