473,382 Members | 1,657 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,382 software developers and data experts.

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 1664
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
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...
14
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...
1
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...
0
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...
2
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...
31
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
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...
0
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...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.