473,800 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Border extends to undesired elements; incorrect menu display (background image).

Hi all!

I'm a web designer who's valiantly struggling, with occasional moments
of triumph, to build my first fully CSS site. Hope that you can answer
a couple of quick newbie questions.

Page: http://adamabrams.com/tnd/spaprofits/hometest.html
CSS: http://adamabrams.com/tnd/spaprofits/voknew.css

Two issues right now:

1) The border around the photo-collage (set in the #headimages style)
wraps around the menu and content elements which are below it. Thus the
double-thick border. Yet these two are not within the #headimages tag
on the page.

2) The menu: I'm edging closer to my desired menu which will also work
in IE 5 on the Mac. My previous attempt looks how I want it to in
Safari (but breaks in IE). But I can't get the rollover background
(white with a black bar) to appear, and the text isn't centered. Both
of these were the case in my previous version here:

Page: http://www.adamabrams.com/tnd/spaprofits/index.html
CSS: http://www.adamabrams.com/tnd/spaprofits/vok-new.css

Can someone point me in the right direction? Feels like I'm so close...

Thanks!
Adam

Nov 30 '05 #1
2 1679
cosmo_canuck wrote:
Hi all!

I'm a web designer who's valiantly struggling, with occasional moments
of triumph, to build my first fully CSS site. Hope that you can answer
a couple of quick newbie questions.

Page: http://adamabrams.com/tnd/spaprofits/hometest.html
CSS: http://adamabrams.com/tnd/spaprofits/voknew.css
If this is a new design, why is it using a Transitional doctype? That's
for legacy pages; you should use Strict.
Two issues right now:

1) The border around the photo-collage (set in the #headimages style)
wraps around the menu and content elements which are below it. Thus the
double-thick border. Yet these two are not within the #headimages tag
on the page.
In Firefox 1.0.7 and in Opera 8.5, I don't see that.
2) The menu: I'm edging closer to my desired menu which will also work
in IE 5 on the Mac. My previous attempt looks how I want it to in
Safari (but breaks in IE). But I can't get the rollover background
(white with a black bar) to appear, and the text isn't centered. Both
of these were the case in my previous version here:


No Mac here, sorry.

While we're here, why are you setting the font to 80% of my desired
size? body {font: 0.8125em ...
That should be 100%. And I've never had to mess with line-height in any
normal situations. Leave it out.

The topphoto.jpg is slightly mis-sized in the HTML. Causes it to jump
around a bit while scrolling.

Is that a US phone number?

Is that you on the 404 page? :-)

--
-bts
-Warning: I brake for lawn deer
Nov 30 '05 #2
Thanks for the advice, bts. Coming back to the page, I see now that
one of the DIV tags wasn't properly closed. Should have seen that right
away - there were certainly enough clues. Guess it's good to just walk
away for a little while!

Mainly concerned now with the menu and why I was able to get "full
height" of white on rollover in the earlier version, but not the
current one. But I'll keep plugging away on that one.

As for your last 2 questions - it's a B.C. (Canada) phone number... and
yes, that's me on the error page!

Thanks,
Adam

Nov 30 '05 #3

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

Similar topics

2
2686
by: Michael Winter | last post by:
I have the familiar 'thumbnail' scenario. I want to place a small border around the image when the cursor hovers above it. I use a 1 pixel, solid border around the image that changes between normal and hover. This works fine in Internet Explorer, but in Opera 7.22, the bottom border is 3 pixels thick. If I expand all borders to 3 pixels, this bottom border is still 2 pixels thicker than the others, which suggests that padding or a...
14
14501
by: Sheila King | last post by:
Hello, Am at my wits end, after spending quite a bit of time looking at online CSS docs, reading FAQs, searching this newsgroup and validating my CSS document. Was trying to copy, to some extent, the "stylish buttons" tutorial here: http://www.webreference.com/programming/css_stylish/ and have had mostly success with it, however one stupid thing isn't
1
7544
by: Trent L | last post by:
Hello, I'm having a problem where a style for a <a> tag isn't working in IE: border : 1px solid red; If you use my code below, you'll see what I mean. In IE6 on WinXP, I'm not seeing a red top and bottom border. My HTML validates. It looks
0
2735
by: yurps | last post by:
Hello here is my html, if you click the missing image in the first column on the left, the div is shown, when clicked again the div disappears...but the bottom border disappears as well...Is there anyway to stop this...??? <HTML> <HEAD> <title>Conform Inbox</title> <meta content="False" name="vs_snapToGrid">
2
5292
by: Jon | last post by:
Hi all, I am trying to create a page that contains a number of div elements, with links on the left side of the page allowing the user to select which div to display. Some of the pages contain tables with border styles used to block off the columns and the headers, but not the individual rows. The pages will be displayed using IE 5.5 and later in the finished app. Now to the problem, which is a little awkward to describe:
31
7248
by: jcrouse | last post by:
Is there a quick and easy way to change the color of a label controls border from the default black to white? Thank you, John
16
3286
by: FuzzyLogik | last post by:
By width, I don't mean weight. I have a row of <li>'s, with a bottom-border. I want the bottom-border to only go 90% of the <li> (centered) Is there any way to do this? I have it in this format: CSS: li {
0
2609
by: eggsurplus | last post by:
<em>I just posted this in the wrong forum so sorry if anyone gets a dup!</em> I'm working on a slide down horizontal menu and I'm having issues getting the border around the submenu to display correctly. I'm trying to get a 1px border on the left and right side and an image on the bottom for rounded corners. I finally got it to display correctly in FF but now the right border is 2px instead of 1px in IE because of the
16
4940
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...
0
9690
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
9551
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
10274
jinu1996
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...
1
7576
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
5469
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
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.