News:

Join the Facebook Fan Page.

Main Menu

Problem with Style Sheets

Started by amir103, August 18, 2005, 06:02:53 AM

Previous topic - Next topic

amir103

What is the code to put in my style.css to put a picture as the backround, where exactly in the CSS to I put it (on the top of the page?)

And where do i put the code for a different colour scrollbar? (i have the code but i tried putting it and it doesn't work so can you please tell me where exactly?)

Also the simple machines logo which is shown as the board logo when you first create it (i just made my board) well i want to replace it with my own logo but i want it to take it off and replace it with my own 1230 x 340 . I replaced the actual image with my own, but it resizes it so i just get my huge logo which i want to span the whole top width of the page into a small photo. How do i make my image stay the same size so that it crosses the whole page. To see the image: i uploaded it here:hxxp:img353.imageshack.us/img353/3582/vbblogo2nm.gif [nonactive][/url]. My board url is hxxp:www.clubsega.com/forum [nonactive](i just created it, i have done absolutely no changes to it yet)

Thanks

gerrymore

For your banner/logo try a search for "Adding a Banner" This has come up loads of times.
SMF RC1, Tiny Portal 0.75, Coppermine 1.3.3, Flashchat.

codenaught

Quote from: amir103 on August 18, 2005, 06:02:53 AM
What is the code to put in my style.css to put a picture as the backround, where exactly in the CSS to I put it (on the top of the page?)

Search your style.css file for: #bodyarea

And add the image like this:

background-image: url(http://www.domainname.com/image.gif);

or if the image is in your Themes image directory you could just do:

background-image: url(images/image.gif);
Dev Consultant
Former SMF Doc Coordinator

amir103

Hey, thanx i managed to get  my banner working and the backround. But shall i add the Style code for my scrollbar in the #bodyarea too? many thanks, I wouldn't have been able to do it without your help

Advertisement: