Hello all. I am very new to CSS and have found myself in a bind.
I am trying to insert a background image, that is in the right margin. The image appears fine in the editor, but when it is viewed, it is cut off. Also, I would like for the text that will be placed there to have some space between the borders of the image.
Can you send us a screenshot, and annotate what should be where? In IE6 I'm not sure what the problem is.
In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
"And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.
Thank you Ray. That solved the first part of my problem. Now I would like to know how to make sure the text is within the the borders of that image. As you can see, the words, "Quick Links" is right on the border. The url is: http://iwdtestsite.com/Premier/home.htm. Here is a link to the CSS: http://iwdtestsite.com/Premier/main.txt.
Thank you Sam. Since you influenced me to use CSS in the first place, how do you think I did for my first try at an all CSS page? I still have a lot to learn. But I would like to send a big THANK YOU for your assistance.
a few things i noticed:
the image on the top, with all the people, repeats at higher resolutions
the padding on the top of quick links is a bit to much in firefox
Looks nice. From a symantic standpoint you might consider replacing that into para with an h2 and consider using an h2 for the quick links heading followed by a ul of links.
I've been consistently working to improve that same page with CSS. I have run into what I hope is the final two problems.
1. The top navigation (which now has a list style)- I have text decoration set at none, yet it is still underlining the links. the stylel is as follows:
#nav {font-size: 95%; line-spacing: 2em; border-bottom: 1px solid #1a46a0; background-color: #ece7aa; width: 120px; padding-left: 2em; margin-top: 3px;}
#nav ul {list-style-image: url(image/arrow_top) inside none; margin-left: -1em; padding-left: 0; width: 12em; margin-top: .5em;}
#nav ul li a:link: {color: #1a46a0; text-decoration: none; }
#nav ul li a:visited: {color: #1a46a0; text-decoration: none; }
#nav ul li a:hover: {color: #CC0000; text-decoration: none; }
2. I still can't get the quick link to work, meaning, the text is too close to the margins. That style is:
Bookmarks