[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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
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
Reply With Quote

  #2 (permalink)  
Old Mar 16th, 2008, 19:15
saltedm8's Avatar
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,217
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saltedm8
Re: My page numbers are falling off of my website!!

moved to css forum
__________________
My Recipe forum...don't click here
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Reply With Quote
  #3 (permalink)  
Old Mar 17th, 2008, 12:06
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 942
Blog Entries: 2
Thanks: 5
Thanked 18 Times in 16 Posts
Send a message via Skype™ to Aso
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)
Reply With Quote
  #4 (permalink)  
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.
Reply With Quote
  #5 (permalink)  
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
Reply With Quote
  #6 (permalink)  
Old Mar 19th, 2008, 16:13
saltedm8's Avatar
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,217
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saltedm8
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}
__________________
My Recipe forum...don't click here
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Reply With Quote
  #7 (permalink)  
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
Reply With Quote
  #8 (permalink)  
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
Reply With Quote
  #9 (permalink)  
Old Mar 20th, 2008, 11:39
saltedm8's Avatar
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,217
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saltedm8
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
__________________
My Recipe forum...don't click here
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Reply With Quote
  #10 (permalink)  
Old Mar 20th, 2008, 11:54
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 147
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?
Reply With Quote
  #11 (permalink)  
Old Mar 20th, 2008, 11:55
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 147
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.
Reply With Quote
  #12 (permalink)  
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.
Reply With Quote
  #13 (permalink)  
Old Mar 21st, 2008, 17:30
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 942
Blog Entries: 2
Thanks: 5
Thanked 18 Times in 16 Posts
Send a message via Skype™ to Aso
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)
Reply With Quote
  #14 (permalink)  
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
Send a message via MSN to capture Send a message via Yahoo to capture
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
Reply With Quote
  #15 (permalink)  
Old Mar 23rd, 2008, 11:00
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 942
Blog Entries: 2
Thanks: 5
Thanked 18 Times in 16 Posts
Send a message via Skype™ to Aso
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)
Reply With Quote
  #16 (permalink)  
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.
Reply With Quote
  #17 (permalink)  
Old Mar 24th, 2008, 12:49
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 942
Blog Entries: 2
Thanks: 5
Thanked 18 Times in 16 Posts
Send a message via Skype™ to Aso
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)
Reply With Quote
  #18 (permalink)  
Old Mar 24th, 2008, 13:49
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!!

ok, i've just done that, there is more room for the numbers but it looks like the top property has been squeezed out, do you know if i can alter it so that the property can drop down into place? thks
Reply With Quote
  #19 (permalink)  
Old Mar 24th, 2008, 16:53
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 942
Blog Entries: 2
Thanks: 5
Thanked 18 Times in 16 Posts
Send a message via Skype™ to Aso
Re: My page numbers are falling off of my website!!

Ok, this should hopefully be the last fix!

Add this to your CSS:
Code: Select all
.viewpageslinksbar:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
What this does, is inserts a period after the viewpageslinksbar and clears the previous floats, so that the next element does not wrap around them.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #20 (permalink)  
Old Mar 24th, 2008, 17:38
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!!

Absolutely Brilliant, thank you so much for helping me it looks so much neater and you explained it so well you have given me the confidence to try things myself and i will def. learn all about css to start with. many thks
Reply With Quote
Reply

Tags
classes, stylesheet

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Incrementing numbers RubyRue ASP.NET Forum 3 Mar 12th, 2008 03:25
[SOLVED] new page, with page numbers saltedm8 PHP Forum 9 Oct 5th, 2007 14:45
Problems with random numbers... Pheonix PHP Forum 3 Jan 21st, 2007 23:02
Selecting Numbers WillisTi Flash & Multimedia Forum 1 Nov 16th, 2005 16:56


All times are GMT. The time now is 04:21.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43