So, as per Beauregard's suggestion, I have delved into the world of
percentages and more fluid design for my next project. I am going along
okay so far and have already determined that I will be doing a
conditional comment for a separate Stylesheet for IE but I am having a
problem now in Firefox, Safari, and Opera.
If you would like to see my problem, please visit http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE (except for the annoying little
gap at the very bottom of the wrapper of the page which I will figure
out when I do a separate stylesheet I hope), but in any of the other
browsers there is this really annoying gap above the menu. The code is
so simple so far, not really much padding or margin to anything and I
have tried tweaking just about everyone and changing the floats of all
elements that do float, adding floats to those I didn't initially float.
I have been perplexed for days.
I don't normally post until I am down to my last hair...so if anyone has
a moment and wants a challenge or even just wants to rant about how bad
my my code looks, I'd be deeply appreciative.
I hope you are all enjoying the onset of Spring...
Peace 6 1552
In article
<0u************ *************** ***@posted.fing erlakestechnolo gygroup>,
BMc <be******@yahoo .comwrote:
So, as per Beauregard's suggestion, I have delved into the world of
percentages and more fluid design for my next project. I am going along
okay so far and have already determined that I will be doing a
conditional comment for a separate Stylesheet for IE but I am having a
problem now in Firefox, Safari, and Opera.
If you would like to see my problem, please visit
http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE (except for the annoying little
gap at the very bottom of the wrapper of the page which I will figure
out when I do a separate stylesheet I hope), but in any of the other
browsers there is this really annoying gap above the menu. The code is
so simple so far, not really much padding or margin to anything and I
have tried tweaking just about everyone and changing the floats of all
elements that do float, adding floats to those I didn't initially float.
I have been perplexed for days.
I don't normally post until I am down to my last hair...so if anyone has
a moment and wants a challenge or even just wants to rant about how bad
my my code looks, I'd be deeply appreciative.
I hope you are all enjoying the onset of Spring...
Peace
The most elementary test of a fluid design concept is upping and downing
the text size and your page breaks on this. True, it takes more than a
click or two up, but still, it should not really break given your
material.
Your "Would you like to..." text is almost unreadable because of it lack
of contrast with the background.
Your HTML does not validate. But you will be able to fix the few things
easily.
And as for your big space, what can you expect when you have a fixed
height like that for #header? You could try 7em instead but I have not
examined your html and css much.
--
dorayme
BMc wrote:
So, as per Beauregard's suggestion, I have delved into the world of
percentages and more fluid design for my next project. I am going
along okay so far and have already determined that I will be doing a
conditional comment for a separate Stylesheet for IE
Why? I don't see anything out of the ordinary that would require it.
Personally, I never have needed IE-only stuff.
but I am having a problem now in Firefox, Safari, and Opera.
If you would like to see my problem, please visit
http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE
No, sorry I can't. Don't have IE.
(except for the annoying little gap at the very bottom of the wrapper
of the page which I will figure out when I do a separate stylesheet I
hope), but in any of the other browsers there is this really annoying
gap above the menu. The code is so simple so far, not really much
padding or margin to anything and I have tried tweaking just about
everyone and changing the floats of all elements that do float,
adding floats to those I didn't initially float. I have been
perplexed for days.
Your style sheet is still filled with pixels. Er, px measurements. My
general rule is to never use pixels for anything other than image sizing
and borders. Use em units for almost all margins, padding, and so forth,
and percentages for font sizes.
The container for the menu: try a height of around 3em.
I would change the width of the wrapper to 90%.
Be sure to look at it with all kinds of varied sized browser windows,
from around 600px to whatever your monitor can do.
--
-bts
-Friends don't let friends drive Windows
BMc <be******@yahoo .comwrote in news:0uqdnXy47t S- RK************* *****@posted.fi ngerlakestechnolo gygroup:
So, as per Beauregard's suggestion, I have delved into the world of
percentages and more fluid design for my next project. I am going along
okay so far and have already determined that I will be doing a
conditional comment for a separate Stylesheet for IE
This is very rarely required. It's usually possible to make IE work with
standard CSS. It is only when IE does the exact opposite of what you require
that such stuff is needed.
problem now in Firefox, Safari, and Opera.
Yep. Increase your font size. Narrow the browser window to less than 1000
pixels. Big problems :-) http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE
No, it doesn't. See above.
but in any of the other
browsers there is this really annoying gap above the menu.
Unordered lists have a top margin by default. That is what you are seeing.
I hope you are all enjoying the onset of Spring...
The onset of Spring was six months ago :-)
--
Richard.
BMc wrote:
>
If you would like to see my problem, please visit
http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE (except for the annoying little
gap at the very bottom of the wrapper of the page which I will figure
out when I do a separate stylesheet I hope), but in any of the other
browsers there is this really annoying gap above the menu.
The menu wraps to a second line for me in both FF and IE6 at a viewport
width of just less than 1206px. That's *before* I upsise the text at all.
Regarding the space at the bottom of the wrapper (it's in both IE6 and
FF, BTW), is it from this
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
perhaps?
You want ul {margin:0;} to see the fix to the menu spacing thing in FF.
>
Peace
And to you.
--
John
Pondering the value of the UIP: http://improve-usenet.org/
On 2008-05-19, BMc <be******@yahoo .comwrote:
So, as per Beauregard's suggestion, I have delved into the world of
percentages and more fluid design for my next project. I am going along
okay so far and have already determined that I will be doing a
conditional comment for a separate Stylesheet for IE but I am having a
problem now in Firefox, Safari, and Opera.
If you would like to see my problem, please visit
http://myweb.fltg.net/users/bethmcgee/index.html
As you can see, it looks lovely in IE (except for the annoying little
gap at the very bottom of the wrapper of the page which I will figure
out when I do a separate stylesheet I hope), but in any of the other
browsers there is this really annoying gap above the menu. The code is
so simple so far, not really much padding or margin to anything and I
have tried tweaking just about everyone and changing the floats of all
elements that do float, adding floats to those I didn't initially float.
I have been perplexed for days.
You've got a default top margin on UL (probably 1.12em, from the default
stylesheet).
That's collapsing with the top margin of the containing div and
resulting in the gap.
IE gets this wrong (in strange ways, Gérard T has some tests of
something similar).
To fix it for Firefox and Opera etc. either add something like:
..menulist ul { margin-top: 0 }
or, if you want to keep the margin but stop it collapsing:
..menulist { padding-top: 1px }
You probably want the former since if you use the latter there isn't
room for the text any more since you only gave it 36px. Better not to
set height: 36px on the div. Just leave it alone and it will be the
correct height for the stuff in it anyway. More tolerant of different
font sizes that way.
Tip: It's OK to set width but you should hardly ever need to set height
on anything.
BMc wrote:
If you would like to see my problem, please visit
http://myweb.fltg.net/users/bethmcgee/index.html
As Ben said, it's a "Collapsing Margins" problem.
Read up on it in CSS 2.01 and perform a search on it for further
explanations.
An easy way to confirm if a problem is due to collapsing margins is to
temporarily add this line to your stylesheet:
* {margin:0 !important;}
--
Gus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: The Master |
last post by:
Ok I went through and deleted code until I discovered the culprit. I
then went back to my original style sheet and removed the CSS
declaration that caused the floating to brake in safari 1.2. Once I
removed it, the floating worked as expected in safari, but broke it in
opera 7.5. The interesting part is the style declaration that causes
safari to brake is the declaration I had used to fix the bug in Opera
7.5 originally.
As far as I...
|
by: Mark Szlazak |
last post by:
The following code fails in Firefox to get at selected text in the
right-side textarea. Any help would be appreciated.
<html>
<head>
<script>
var agt = navigator.userAgent.toLowerCase();
var safari = ((agt.indexOf('safari') != -1) && (agt.indexOf('mac') !=
-1))? true:false;
var opera = (window.opera)? true:false;
|
by: Bob Skutnick |
last post by:
Greetings,
I'm hoping someone has experienced a problem I'm having:
I have an existing ASP application (working fine) that
uses an SSL server certificate. My user community is made
up of both PC's and Macintosh computers.
I've re-written this application in ASP.NET for a number
of reasons and now find that my Mac users are having
problems with the application. SSL works just fine for PC
|
by: Simon Wigzell |
last post by:
document...focus() will scroll the form to move the
specified text field into view on everything I have tried it with except
Safari on the MAC. The form doesn't move. Any work around? Thanks.
|
by: John |
last post by:
Hi
Suppose I want a header containing an image floated left and a list of
horizontal links floated right.
So I float the image left. I then do the following with the list:
ul = float: right
li = display: inline
li a = display: block; float: left
| |
by: BMc |
last post by:
I just want to take a moment to say thank you to so many of you who
posted a response to my request for help about the problem with THE GAP
(see below?)!
Your suggestions were not only a solution to the problem, but they were
given in a way that encouraged further learning about the subject and
gave me more information that helped me move forward today.
I have actually gotten the page to work with the same style sheet for
ff, opera,...
|
by: Jorge |
last post by:
Based on the table shuffling code of the recent cljs thread "Randomize
HTML Table Rows from JavaScript " (http://tinyurl.com/56g37t), I get
this results :
e.replaceChild() (SAM's code) :
FF2 : 1x
FF3: 1.3x
Opera 9.5 : 4.8x
Safari r34469 : 8.4x
|
by: dhtml |
last post by:
Title says it. If I use a for in loop on an HTML collection, I get
length twice.
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>length twice</title>
</head>
<body>
<form action="javascript:;" id="form1">
|
by: limelites |
last post by:
In IE7, FF, Chrome and Safari, everything looks great but in Opera the display of the additional images in my product page looks awful.
This is a site that does attract foreign visitors who do use Opera, so it does matter.
Opera Version 9.64
Platform Vista
Zen Cart 1.3.8a
Site URL is www.limelites.co.uk
|
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: 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: 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?
| |
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
| |