vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: Smal CSS problem - View Topic (Page 1 of 2)Page: 1 2
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Smal CSS problem (13th Jan 10 at 1:16am UTC)
On my site The Directory, There is a slight CSS problem, Dwight had it working then all of a sudden it stopped working, and he cant fix it .

Code:
 
  1. .borderhead {
  2. overflow: hidden;
  3. margin-top: 10px !important;
  4. background-image: url('../images/top.png')
  5. height: 25px;
  6. width: 756px;
  7. }
  8.  
  9. .bordercenter {
  10. background-image: url('../images/middle.png')
  11. background-repeat: repeat-y;
  12. background-position: top center;
  13. }
  14.  
  15. .borderfoot {
  16. overflow: hidden;
  17. margin-bottom: 5px !important;
  18. background-image: url('../images/bottom.png')
  19. height : 25px;
  20. width: 756px;
  21.  
 


everything looks fine, but it still does not show up on any of the pages.

http://www.thedirectory.2x.nu/index.php

http://www.thedirectory.2x.nu/css/style.css
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Smal CSS problem (13th Jan 10 at 1:18am UTC)
Would help if you told us what the problem was, site looks fine to me! {Unsure}
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Smal CSS problem (13th Jan 10 at 1:26am UTC)
Whoops. >_< The borders do not show up around the table.

The borders are

http://www.thedirectory.2x.nu/images/top.png
http://www.thedirectory.2x.nu/images/middle.png
http://www.thedirectory.2x.nu/images/bottom.png
dog199200
Guest
Re: Smal CSS problem (13th Jan 10 at 2:59am UTC)
yea and it should work {Unsure} I tried adding a border around everything. It was showing up and then it all just stopped showing up without having edited anything. I revised the code and yet nothing is wrong. The CSS should be right, and so should the div calling the classes to place the border.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Smal CSS problem (13th Jan 10 at 3:04am UTC)
It stopped working after you took out that one image I told you to take out. I'm 45% sure it's that.

http://i185.photobucket.com/albums/x20/magedesigns/directory/gradbar.png
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Smal CSS problem (13th Jan 10 at 3:12am UTC)
Where is each image meant to be?
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Smal CSS problem (13th Jan 10 at 3:28am UTC)
well the top middle bottom is supposed to be like this http://thedirectory.vforums.co.uk
dog199200
Guest
Re: Smal CSS problem (13th Jan 10 at 3:34am UTC)
no cause it worked for a little bit after i removed the table class like you told me too {Unsure} and i know its not a class problem cause i went though and made sure i removed all the table classes afterwards
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Smal CSS problem (13th Jan 10 at 3:38am UTC)
I honestly don't see what it's meant to look like! O.o
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Smal CSS problem (13th Jan 10 at 3:38am UTC)
Ahh ok, I see. I'm stumped with this one too, as all the CSS looks right. >_>
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Smal CSS problem (13th Jan 10 at 3:39am UTC)
The whole site is displaying how you've coded it to. Except I think you might have made a mistake in that you've referenced the 3 aforementioned parts as 'ID', but in the CSS they're a 'class'.

Chance one or the other! {Smile}
dog199200
Guest
Re: Smal CSS problem (13th Jan 10 at 3:53am UTC)
i cant tell you know it still doesn't help any, I was trying both class and id to get it to work and forgot to change it back to class. I changed it back now, but as you can see it still doesn't work.



Edit: as for what is suppose to look like, its suppose to add a frame around the site, and even when it was working before it wasn't working exactly right it was putting it behind the table and not around it, which didn't look to bad.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Smal CSS problem (13th Jan 10 at 3:59am UTC)
Your CSS has a missing semi-colon on the end of the background-image lines, meaning that it's not registering! {Smile}
dog199200
Guest
Re: Smal CSS problem (13th Jan 10 at 4:04am UTC)
i can't believe i actually forgot that...
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Smal CSS problem (13th Jan 10 at 4:05am UTC)
and that fixed it! {Cheesy}


But not aligned correctly. {Tongue Out}
 Printable View
Page: 1 2

All times are GMT+0 :: The current time is 5:38am
Page generated in 0.801 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums