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

Home Posts Topics Members FAQ

Discontinuity in background

I have a design of a frameless page on my practice website:

The idea is to have a #left navigation bar which is absolutely positioned
and which contains a series of vertical placed unordered lists of links. To
the right of the #left navigation bar is the #content section. I want the
background in the #left section to extend to the bottom of the browser

That is done in the stylesheet "side.css" by giving the {body} a border-left
of 7.7em which is solidly colored. So the apparent background of the #left
element is actually the left border of the #content element. Since the
#content element is contained in the {body}, which has a height of 100%, the
left-border of the #content does extend to the bottom of the viewport, which
is what is desired.

Here is the problem. In the #left navigation bar, precisely at the bottom of
the last (of 9) unordered lists, you can see that there is a discontinuity
in the background, which then narrows from 7.7 em. Any suggestions on how
to fix this discontinuity would be appreciated.


body{border-left:7.7em solid #930; height: 100%;margin:0; padding: 0;}

#left{position: absolute; top: 0; left: 0; width: 7.7em; background-color:
#930; }

#navfirst{ margin-top: 3.2em;}


#navlastdesign{ margin-top: 113.8em;}

#navlastdesign1 {margin-bottom:5%;}

#navlast20s{mar gin-top: 98.26em;}

#navlast30s{mar gin-top: 83em;}

#navlastshawls{ margin-top: 67.74em;}

#content{ margin-left:0; margin-right:0;}


{padding: .3em 0em .1em 0em;

margin-left: 0;

background: #930;


..sidelist li

{list-style: none;

margin: 0;

border-top: 1px solid #930;

text-align: left;}

..sidelist li a

{ display: block;

text-decoration: none;

background: #930;

padding: .35em 0.5em .35em 0em;

border-left: 1em solid #930;

font:bold 0.61em Verdana, Arial, Helvetica, sans-serif;}

..sidelist li a:link { color: #FFF; }

..sidelist li a:visited { color: #FFF;}

..sidelist li a:hover

{border-color: #FE3;

color: #FFF;

background: #332;}


body {margin: 0; padding: 0; color: Black; background-color: White;

font-family: "Times New Roman", Times, serif; }

..lnk {color:#FFFFFF; }

a:visited{color :#993399;}

a:hover,{color: #0000FF}

h1 {height: 1.7em; padding:.3em .3em .3em 1em; color: White;
background-color: Black;

font:1.48em "Times New Roman",Times,Se rif; margin-bottom:

h2.click{positi on:relative; top:.2em; color:#FF8040;

font: italic bold medium "Times New Roman", Times, serif;}

#logo {position: relative; left: 44%;}

#itemtable { width: 100%; table-layout: fixed; }

#itemtable #col1 { width: 166px; }

#itemtable #col2 { width: 166px; }

#itemtable .row1 { vertical-align: top; background-color: #e5e5e5; }

#itemtable .row2 { vertical-align: top;background-color: #FFFFFF; }

#itemtable td.details {"Times New Roman", Times, serif; padding: .5em 4em
..5em 1.8em;

vertical-align: middle; font-size: 1em;}

#itemtable a img { border: none;width="166 px" height="285px"}

.reserved { color: Red; font-weight: bold;}

.bi { font-weight: bold; font-style: italic;}

.at {font-style: italic; font-weight: normal; }

#navcontainer {background-color: #FF8040; margin-left: auto; margin-right:

padding-top: .45em; width: 100%;}

#navlist ul{ margin-left: 0; padding-left: 0; white-space: nowrap; }

#navlist li{display: inline; list-style-type:none;}

#navlist a{padding: 0 3em; font-size: 1em; }

#navlist a:link { color: #fff; text-decoration: none;}

#navlist a:visited { color: #fff; text-decoration: none;}

#navlist a:hover {color: #fff; background-color:#369; text-decoration:

a:link { color:#0000FF; } a:hover { color: #FF0000}
Jul 20 '05 #1
1 2290
The odd thing is that when looked at on a 19" monitor, there is a
discontinuity in the background as described in my original posting. But
when looked at on a 17" monitor, there is not discontinuity.
Jul 20 '05 #2

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

Similar topics

by: Markus Mohr | last post by:
Hi, everyone, I have a special problem: For every monitor resolution in 200 pixel steps from 800 to 1600 pixels I have an image to be shown as centered background-image. Those images all have the same name and reside in the following physical path structure:
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I have tried lot's of things and spent hours on this, I thought I might give it a try here. One of the TD's uses HTML to set the background, the other one uses CSS styling:
by: Viken Karaguesian | last post by:
Hello all, I need somehelp with background tiling. I have a sneaking suspicion that what I want to do is not possible, but I'll ask anyway. :>) First some background: Here's the site in question: www.sayatnova.com (I'm sure many of you have seen this before as I've often asked for help). I've come a long way since I first created the site many moons ago and I'm trying to convert it to a (1) Table-less, (2) Frame-less and (3) Validated...
by: nicky77 | last post by:
Hi, I've created a nav bar using a background image for rollover effects. Everything works as I had hoped, however, for some reason it seems that an area of whitespace (the same size of the background image) is hyperlinked underneath the nav bar. I can't see any errors in the coding below. Any ideas what may be causing this? the page is at http://www.maguiresonline.co.uk/wosis/files/nickysnav.html the html.... <body...
by: XedinUnknown | last post by:
Hi! I am new to this forum, but not new to web design and programming. Nevertheless, I have never tried to use PNG so extensively in my pages. here's the problem. First, I have found that the PNG backgrounds and images had no transparency and grey around them when viewed in IE6, but I solved this bug using this hack. It works great, but then another problem came up: a background image that had the solution applied to was not repeating...
by: stevedude | last post by:
CSS newbie again. I have a problem trying to get coffee mug images within anchor tags to center with my link text for a vertical list menu. If I use the horizontal/vertical properties of "background" or "background-image", the positioning only works with specifying pixels. If I specify the vertical position in pixels, the image gets cut-off at the bottom. I don't know what to do and would appreciate anyone's help. Specifically the code...
by: VividWeb | last post by:
Hi. I am relatively new to CSS and HTML but have a basic understanding of most things. One of my backgrounds is not positioning correctly in IE 7 or AOL. The background behind the content (small chocolate area) is positioning slightly down the page instead of at the top. I have used the same techniques in the navigation and it positions fine. Its fine in Fire Fox Opera & Safari. I have run my HTML & CSS through W3c and all is clean. ...
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm really confused as to what is going on in IE. FF renders the page exactly as I expect. IE renders the page with everything in the correct location, but it seems to double the background image for a sub-div section that is moved up using a negative...
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: 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,...
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: 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: 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: 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

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.