[SOLVED] My page numbers are falling off of my website!!

This is a discussion on "[SOLVED] My page numbers are falling off of my website!!" within the Web Page Design section. This forum, and the thread "[SOLVED] My page numbers are falling off of my website!! are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 16th, 2008, 17:55
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Angry [SOLVED] My page numbers are falling off of my website!!

Hello,

I would like to have a go at sorting out a problem on my website

http://www.letsrent2me.com/list_properties.php

All of the old pages for my website are being cut off at the edge and they need re-arranging.

I don't really want to use a web designer and would like to have a go myself, does anyone know if this is achievable and if so what would be involved.

I don't know much about web design but would like to learn by doing a few little jobs myself appreciate any help which you could give me, thks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 16th, 2008, 19:15
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: My page numbers are falling off of my website!!

moved to css forum
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 17th, 2008, 12:06
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: My page numbers are falling off of my website!!

Are you aware of CSS?

In your CSS folder there's a file called basic.css. You need to find the line
Code: Select all
.viewpageslinksbar{background:#A0CFFD;border-bottom:1px solid #4489AA;border-top:1px solid #72B3D1;margin-bottom:4px;}
and add width: 532px so you end up with
Code: Select all
.viewpageslinksbar{background:#A0CFFD;border-bottom:1px solid #4489AA;border-top:1px solid #72B3D1;margin-bottom:4px;width:532px}
Save the file and refresh your website - if it's not fixed let us know
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 17th, 2008, 16:20
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Re: My page numbers are falling off of my website!!

Thanks a lot I will try that and let you know how I got on, really greatful to you for all your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Mar 19th, 2008, 15:43
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: My page numbers are falling off of my website!!

Hello again

I have managed to locate the basic css file which you mentioned and found the line which you quoted, currently it reads;

.viewpageslinksbar{background:#A0CFFD;border-bottom:1px solid #4489AA;border-top:1px solid #72B3D1;margin-bottom:4px;}

I just wanted to confirm with you before I change it, do i get rid of -bottom:4px;} and type width: 532px and also do i need to close it with the
;}

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Mar 19th, 2008, 16:13
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: My page numbers are falling off of my website!!

aso has said

replace it all with this

Code: Select all
.viewpageslinksbar{background:#A0CFFD;border-bottom:1px solid #4489AA;border-top:1px solid #72B3D1;margin-bottom:4px;width:532px}
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 19th, 2008, 17:07
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Re: My page numbers are falling off of my website!!

I'm sorry... misunderstood I could only see the first part of the code in my browser but have now highlighted the whole code and will paste it in, thks once again for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Mar 20th, 2008, 08:35
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: My page numbers are falling off of my website!!

i've updated the file but it hasn't changed the page numbers, the right hand side of the website is wider..if i remember correctly last time i think the web designer had to put more properties per page, can you help?thks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Mar 20th, 2008, 11:39
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: My page numbers are falling off of my website!!

my suspicions are that this data is dynamically created via php or some other means, if that is so there could be some css within the php code itself that needs adjusting,

could you me if i am right
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Mar 20th, 2008, 11:54
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Re: My page numbers are falling off of my website!!

I'm not sure if this is a problem solver, but the links for each page don't have a space between them. Maybe make sure they have a space?

Also, I noticed all the page numbers are in a span with a class of "selector", I had a look at your CSS and there doesn't seem to be a class with that name, so maybe get rid of that span altogether?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Mar 20th, 2008, 11:55
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Re: My page numbers are falling off of my website!!

Quote:
Originally Posted by saltedm8 View Post
my suspicions are that this data is dynamically created via php or some other means, if that is so there could be some css within the php code itself that needs adjusting,

could you me if i am right
That's unlikely because if there is any CSS/HTML within the PHP code it will always display in the HTML.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Mar 21st, 2008, 13:53
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Re: My page numbers are falling off of my website!!

I don't know anything about css or php i'm afraid, is there a way of knowing if there is css within the php code? Thank you both for your help but I think I will leave it as it is at the moment as I dont know anything about css and am unsure about how to insert a space between the pages or how to get rid of the span, unless it is a simple job and you could explain in very simple terms. I think I will read up on css to get a better understanding of the terminology as at the moment I haven't got a clue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Mar 21st, 2008, 17:30
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: My page numbers are falling off of my website!!

62vye, I can't see the changes you've made.

Are you sure you modified the basic.css file with the correct changes and re-uploaded it?

If you do exactly as I said in my original post, and upload the modified file, then we can see the changes and recommend another fix if needed.

You don't have to know anything about CSS, PHP or HTML. Just copy and paste-replace the line I originally quoted.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Mar 23rd, 2008, 03:17
New Member
Join Date: Jul 2004
Location: Olympic Penninsula WA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: My page numbers are falling off of my website!!

Seems you have 34 pages listed in:<div class="viewpageslinksbar">
Remove page numbers 21 -->34 from your HTML.
Right after that you have <span class="selector">
There is NO .selector class in your stylesheet

Add to this class:
.viewpageslinksbar
{background:#A0CFFD;border-bottom:1px solid #4489AA;border-top:1px solid #72B3D1;margin-bottom:4px;width:532px;}

To your Health, Wealth and Success
ClaireP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Mar 23rd, 2008, 11:00
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: My page numbers are falling off of my website!!

capture, you've just reiterated what everyone else has said!
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Mar 24th, 2008, 07:57
Junior Member
Join Date: Mar 2008
Location: rochester, kent
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: My page numbers are falling off of my website!!

Sorry about that I have changed the code to what you said as I did originally change it but amended it back to the original code when it didn't work, it is now changed to the code that you recommended.

For this part;
Seems you have 34 pages listed in:<div class="viewpageslinksbar">
Remove page numbers 21 -->34 from your HTML.
Right after that you have <span class="selector">
There is NO .selector class in your stylesheet

Where do i find the code please is it still in my basic.css folder as i can't find this or do i need to find the html code, and if so where would it be? thks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old Mar 24th, 2008, 12:49
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: My page numbers are falling off of my website!!

I wouldn't worry too much about this. All that's being said, is in your HTML you have a <span> element with a class of selector, but no reference to that class in your CSS.

Back to the problem, here's a shot in the dark. Where you previously edited your basic.css file, there's another line that looks like this:
Code: Select all
.viewpageslinksbar a{background:#5FA2C1; padding:0px 4px;text-decoration:none; color:#254B65; margin:0px 1px;}
Replace it with this:
Code: Select all
.viewpageslinksbar a{background:#5FA2C1; padding:0px 4px;text-decoration:none; color:#254B65; margin:0px 1px;float:left}
That should fix things
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.us