News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Style.css Image Question

Started by 2bz2p, June 24, 2007, 09:34:14 AM

Previous topic - Next topic

2bz2p

Hi all,

So I have search high and low and found a dead end. My question is this and I may be completely off with this

In my style.css file I did this:
/* My edit to Create the Header */
.title
{
   color: black;
   font-style: normal;
   background: url(images/Tubes.jpg) #E9F0F6 repeat-x;
   border-bottom: solid 1px #9BAEBF;
   border-top: solid 1px #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}


Which I copied from this:
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   color: black;
   font-style: normal;
   background: url(images/titlebg.jpg) #E9F0F6 repeat-x;
   border-bottom: solid 1px #9BAEBF;
   border-top: solid 1px #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}


I then did this to my Index.Template.PHP:
<td class="title" height="32" align="center">

<img src="', $settings['images_url'], '/fdlogo.gif" style="margin: 2px;" alt="" />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>';


My goal was to change the Background image of Just the top Table, no other table in the site.

Any Help would be greatfully appreciated.

Thanks
2B
USVAF.COM || Flyvang.org <-- My sites with SMF

m3talc0re

What's with all the &nbsp; space codes? Also, what exactly is your question? Is that not working or what?
The real hell is your life gone wrong.

2bz2p

#2
The &nbsp; is because I have a habit of indenting and for what ever reason these forums add the space. Sorry about that.

For my question I did all that and the Tubes.jpg doesnt show up behind my logo. So I was wondering what I did wrong

Edit: Huh, Ididnt realize that it put the space codes with in the Code boxes
USVAF.COM || Flyvang.org <-- My sites with SMF

spottedhog

...just assuming here....  you did put the Tubes.jpg in the images folder within the Theme folder you are using, right?

2bz2p

#4
Yeah I actually grabbed thaat file because it was there lol

Edit: didnt want to double post

I tried entering in the image via the URL
http://flopdogg.com/Themes/Flopdogg/images/Tubes.jpg
and nothing changed I dont know
USVAF.COM || Flyvang.org <-- My sites with SMF

Advertisement: