473,805 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DIV overflow and borders are screwy

I'm stumped. Would one of you take a look at the following site and
help me with two problems:

1. When zooming in, <div id="banner"> is the *only* block that doesn't
"expand" to fit the text & image.

2. Viewed in Firefox, Netscape and Opera, the borders for each menu
selection don't go all the way across (you'll see what I mean, I hope),
though it looks OK to me in IE 6.

The page to test is at http://wayfarer.brinkster.net/wcts/index.htm, CSS
is at http://wayfarer.brinkster.net/wcts/wcts.css. Only this page and
the CSS have been validated.

TIA

Neill

--
Wayfarer
Journeys: http://wayfarer.brinkster.net/contact.asp
Jul 21 '05 #1
2 4842
On Mon, 25 Oct 2004 23:19:14 -0400, Wayfarer <we*****@bottom .com> wrote:
I'm stumped. Would one of you take a look at the following site and
help me with two problems:

1. When zooming in, <div id="banner"> is the *only* block that doesn't
"expand" to fit the text & image.
In IE view - largest won't affect images. Page is fine here.

Try zooming in Opera, it's a mess.
2. Viewed in Firefox, Netscape and Opera, the borders for each menu
selection don't go all the way across (you'll see what I mean, I hope),
though it looks OK to me in IE 6.


Simplify a test case and post a URL. This is too complex to sort out.
Jul 21 '05 #2
Wayfarer wrote;
I'm stumped. Would one of you take a look at the following site and
help me with two problems:

1. When zooming in, <div id="banner"> is the *only* block that doesn't
"expand" to fit the text & image.
Most likely, you have some floated content there. Floats are taken out of
the flow. Float only the dove and give your box min-height so that dove
fits.
2. Viewed in Firefox, Netscape and Opera, the borders for each menu
selection don't go all the way across (you'll see what I mean, I hope),
You have some mistake somewhere, unsurprisingly. Replace 155px with 165px
where you should. Also notice, that it is BAD idea to use px when
measuring text.
though it looks OK to me in IE 6.
That is irrelevant.
The page to test is at http://wayfarer.brinkster.net/wcts/index.htm, CSS
is at http://wayfarer.brinkster.net/wcts/wcts.css. Only this page and
the CSS have been validated.


body {
font-weight: normal;
margin: 3px 3px 3px 3px;
}

First is not necessary, second shortenable

a:link {
color: #A51BAE;
}

Define background color with your color

p.sm {
font-size: 80%;
font-style: italic;
}

This paragraph should be readable. 80% + italic makes it unreadable for
most people.

#footer {
font-size: 65%;
}

If something is not meaned to be read, it is not worth putting in stie

#menu {
left: 0px;
position: relative;
padding: 0;
margin: 0;
font-size: 80%;
background: #ffffcc none;
}

These are either unnecessary or harmful.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 21 '05 #3

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

Similar topics

2
16376
by: Mark | last post by:
Could someone please give me a hand? I have created a navigation bar for a Web site I assist with. Everything works fine if I use the files while offline, i.e., the files that I created are sitting on my hard disk. But when I use the same files uploaded to the site, I get 'stack overflow at line: 28' (or line 0 if I change the advanced setting in IE options) whenever I mouseout of the navigation bar. The site is:...
2
3466
by: Hostile17 | last post by:
I've been trying to figure out a good way to make a CSS layout with nice-looking 1-pixel borders around the table cells. The only broadly compatible way to do this I know of is to have * the border of the table set to zero * the cellspacing of the table set to one * the background color set to black * the table cell background color set to white
15
4838
by: Andrew Fedoniouk | last post by:
I have a simple test document which produce the following in Mozilla and Opera: http://terrainformatica.com/w3/p2/problem1.png Internet Explorer behaves as per recommendation (I guess) Did I miss something and width of paragraph can be set less than its content (without overflow specification)? Document is here: http://terrainformatica.com/w3/p2/problem1.htm
2
2420
by: Haines Brown | last post by:
This may seem a pointless question, but I'm trying work around an inconsistency between browsers. I have a template that contains a division that holds a text that sometimes exists and sometimes not. I use top and bottom borders to separate this material from its environment: .header { font-size: smaller; border-bottom: solid black thin;
1
5849
by: Glen Vermeylen | last post by:
Hi, For a project at school we have to automate the assignment of seats in classrooms to students during the exams. The lady who previously did everything manually kept the layouts of the classrooms in an excel-document: 1 sheet per classroom, and she marked the cells which represent the seats with a border. The problem however is that she sometimes merged cells together to get a better layout.
9
2934
by: Michael Redbourn | last post by:
Hi, I just switched from FP to DW and am very very happy ! So whilst I'm mastering Dreamweaver (gonna be a while yet :-) - I thought that I'd try and find out how to add borders for browers like Firefox which don't support them. Not sure if I've explained the above well but my borders display in IE but not in Firefox.
1
3883
by: semifor | last post by:
I've been using a simple technique that works adequately, for me, to restrict a web page to the viewport. A typical page will have a header, a table wrapped in a <divwith "overflow: auto", and some footer information. A very pared down example with borders around the various elements for demonstration lives (temporarily) here: http://www.questright.com/tmp/css-scroll-table.html This works well in IE and adequately in Mozilla and...
8
3120
by: jhaydon | last post by:
I need a script where my textbox can have a transparent background and no borders around it. Every script I try the box has borders even when I say no borders. I need to also be able to have hyperlinks within the text that is within the textbox. Can anyone PLEASE help me with this? Thanks! Joy
2
30968
by: nicstel | last post by:
Hello, I'm trying to find documentation about the xlwt (py_excelerator). I want to change the border of some cells. But the only types that I found is: double and dashed. How to do a simple line and what is the all other border type name? "borders: top double, bottom double, left double, right double;" Thank You Nicolas
0
9718
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
9596
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
10613
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...
1
10368
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,...
0
6876
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
5544
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
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
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
3008
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.