473,395 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Discontinuity in background

I have a design of a frameless page on my practice website:
http://home.ne.rr.com/thespar/designerN.htm

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
window.

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.



Side.css

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;}

..navtop{margin-top:34em;}

#navlastdesign{margin-top: 113.8em;}

#navlastdesign1{margin-bottom:5%;}

#navlast20s{margin-top: 98.26em;}

#navlast30s{margin-top: 83em;}

#navlastshawls{margin-top: 67.74em;}

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

..sidelist

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

margin-left: 0;

background: #930;

width:7.7em;}

..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;}

categories.css

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,Serif; margin-bottom:
0.5em;}

h2.click{position:relative; top:.2em; color:#FF8040;
padding-left:2em;

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="166px" 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:
auto;

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:
none;}

a:link { color:#0000FF; } a:hover { color: #FF0000}
Jul 20 '05 #1
1 2264
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.
Puzzling!
CMA
Jul 20 '05 #2

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

Similar topics

2
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...
3
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 | +---+---+
5
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...
3
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...
1
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...
2
XedinUnknown
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...
16
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...
10
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.