font-family: Arial, sans-serif;
font-family: Tahoma, Arial, sans-serif;
In your sample above, you have white text on a blue background (h1) and black text on a yellow background (h2)....
Maybe post a link to your site so we can see what you're wanting to do?
Which page element has that background image? If it is the body (would be logical), change the css for the body to include it:
font-family: Tahoma, Arial, sans-serif;}
If it is a small image that has to be tiled to cover the whole page, then the above code is ok, but if it is a large image that is not to be repeated, add the line:
When you have contents on top of the background image, don't specify any background colour, and your background image will show through. It is of course possible to add the line
but it is not necessary.
I built my 75 pg site with html and and bunch of wysiwyg editors starting in 1996. I afraid I don't speak much css. I'm starting to rebuild site starting with this page www.upholster.com/newpage.html to replace my homepage. www.upholster.com
here is css www.upholster.com/style.css
I'm having trouble with converting tables to css and word wrap.
I would like my banner logo with nav horizontal under it on every page along with footer and right side bar.
I can break these question down in separate post if you like.
Here's are other pages if you have suggestions.
In order to better understand what you are aiming at, I have attached a wee mockup of how I understand it. If you want something else, then let us know, and we can guide you though the work.
I just put in my old homepage text and images into the content area of new page and it displays ok whereas the CC code would not. I would like horiz nav bar www.upholster.com/newpage.html
Also I would like to fill up the right side panel with products. Having trouble with css but can easily do it with html table. Is it really necessary to use css?
I will be using images and text a lot in the content area like this page
all suggestions welcome.
There are more considerations to be made, e.g. if you want to have your site responsive to all kind of monitor sizes or not. Having a responsive site is also a criteria by the search engines.
If you need help, just holler! Someone here will always be able to guide you. I'm packing up for the day though, then in Europe we have night time now. I'll be checking this thread in the morning.
I surrender-I'll try to quit resisting css.
I would like the code and where to put it for about 6 images with descriptions around or to the sides in the sidebar area.
Can this be done so they will come in style.css to be on every page?
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
This is a site I built for use in my job.(HTML Editor)
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
Don't know if you can use the files in the attachment. It is meant as a start help. If you include the link to the style sheet on every page, the styles will work throughout.
All the awful coloured borders are only there so that you can see what you have got, and when you don't need them, then just remove them from the css. Also all the <br> tags in the html file should be removed when you insert your own contents. They are also just put in to visualize the various page elements. You also have to adjust the % widths of the content and the sidebar to fit your needs. As you see, I have made them 69 and 30%. When the borders have been removed, you can change the 69 to 70, or to any values that add up to 100.
There are many more refineries that can be made to the css. If you need help, just get back to us.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.