HTML Formatting, Background color bleeds into main content.

I am trying to make a site for one of my classes using HTML and CSS. However, I have no experience with either one. Nevertheless, I am trying to design the GUI of the site. So, the log-in protocol does not need to work and my buttons do not necessarily need to function properly.
 
Please help me with these problems:

 - There is a gray bar that shows up below my navigation on some of the pages. (it is the same color as my background color)
- I can not change the color of my log-out button in the top right corner from blue to white.
- The table on the track inventory page is not centered.
MsSchlienAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MsSchlienAuthor Commented:
the site address is: http://myweb.uiowa.edu/mhekker
0
quincydudeCommented:
1) there are more than one <body> element in your pages, each html page should only have one. Remove the redundant one (<body id="public"> ).

2)you commented out the style1 replace that by
<style type="text/css">
.style1 {color: #FFFFFF}
</style>

3) edit the div contentwrap

<div id="contentwrap" style="text-align:center;margin:auto;">

Hope this helps
0
MsSchlienAuthor Commented:
thanks, I removed the extra body tag. However, my track inventory and flood alert page still have that grey bar below the navigation.

Where should i add:
<style type="text/css">
.style1 {color: #FFFFFF}
</style>
??? does it go in the header of each page?

Lastly, i added the last line to the content wrap on the inventory page however, only the text became centered instead of the whole table
0
quincydudeCommented:
Since you have already a css, some style may be overwritten, I modified it a bit.

<style type="text/css">
a.style1:link { color: #FFFFFF; }
a.style1:visited { color: #FFFFFF; }
a.style1:hover { color: #000; background:#FFFF66; }
a.style1:active { color: #FFFFFF; }
</style>

You can put this code in every page or put

a.style1:link { color: #FFFFFF; }
a.style1:visited { color: #FFFFFF; }
a.style1:hover { color: #000; background:#FFFF66; }
a.style1:active { color: #FFFFFF; }

in the style.css included in your code.


In my web browsers (IE7 and chrome) I saw your table is centered with no problem. You can try to add this also to check if it help hiding the grey bar.
<div id="contentwrap" style="text-align:center;margin:auto;margin-top: 0px; padding-top: 0px;"> 

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MsSchlienAuthor Commented:
Thanks a bunch. I was able to get most of the problems fixed. : )
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.