Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 General Forums > Lounge / Off Topic > Web Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2006, 09:11 PM
Jeff F Jeff F is offline
Newbie
 
Join Date: Oct 2006
Location: Michigan
Posts: 9
Default CSS Formatting Problem

Hi All;
I installed SiteSearchPro on my web site and I really like it. The results page posted to a plain white page that was somewhat unappealing. There is a section in the admin part of the program for formatting the page to match the rest of your site. I don't know much about css but I managed to get the major elements of my page in place. The problem I'm having is with the entire page being displayed to the left of the screen as opposed to centered like the rest of my pages. Its a fairly simple page with a banner logo, a few css navigation buttons and a footer. The program displays its results right below the navigation buttons. Can someone point me in the right direction on this?
Take a look at www.tequilatrippin.com go to the recipe section and search for a tequila recipe (margaritas for example). The resulting page is the one I'm concerned with.
Thank in advance!
Jeff
Reply With Quote
  #2  
Old 10-20-2006, 05:24 PM
Brian Brian is offline
Newbie
 
Join Date: Sep 2006
Posts: 3
Default

There are a couple of errors in the code on the initial search page

The style sheet for the site search pro has to be in between the head tags. Move it up and place it within the css that is already there so you end up with

<style type="text/css">
<!--
.style1 {font-family: Georgia, "Times New Roman", Times, serif}
sp2_field {border: 1px double #999999;background-color: #d7d1d4;font-family:Times New Romans;font-style:normal;color: #000000;font-size:12px;font-weight:normal;
}.sp2_btn {font-family:Times New Romans;font-style:italic;color: #000000;font-size:14px;font-weight:bold;
}a.sp2_title:link,a.sp2_title:active,a.sp2_title:v isited {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #7777cc;font-size:12px;font-weight:bold;
}a.sp2_title:hover {font-family:Times New Romans;font-style:normal;text-decoration:underline;color: #7777cc;font-size:12px;font-weight:bold;
}.sp2_result {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #000000;font-size:12px;font-weight:normal;
}.sp2_select {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #990000;font-size:12px;font-weight:bold;
}.sp2_address {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #008000;font-size:10px;font-weight:normal;
}.sp2_page {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #000000;font-size:12px;font-weight:normal;
}a.sp2_page:link,a.sp2_page:active,a.sp2_page:visi ted {font-family:Times New Romans;font-style:normal;text-decoration:underline;color: #000000;font-size:12px;font-weight:normal;
}a.sp2_page:hover {font-family:Times New Romans;font-style:normal;text-decoration:underline;color: #000000;font-size:12px;font-weight:normal;
}.sp2_nowpage {font-family:Times New Romans;font-style:normal;text-decoration:none;color: #a90a08;font-size:12px;font-weight:bold;
}
-->
</style>

Then delete the <style type="text/css"> and </style> that are left in the site search pro code

Also delete

<hr />
<h4 align="center">


The <h4> doesn't have a closing tag and as far as I can see the <hr /> isn't required.

Once those changes are made, the results page *may* be OK, but I would need to test it afterwards.

Also, and you may do this anyway, but always save a copy of the page before you make changes in case you have to go back to the original version.

Email me if you need clarification

webmaster@bgrdesign.com
Reply With Quote
  #3  
Old 10-20-2006, 10:11 PM
Jeff F Jeff F is offline
Newbie
 
Join Date: Oct 2006
Location: Michigan
Posts: 9
Default

Thanks Brian;
I appreciate the response. SearchPro doesn't actually allow (although I'm sure it can be done) for the editing of the results page. They have a section in the admin for adding css or html code. They were a little less than helpful when I e-mailed them for advice. No problem though, I added the css coding from my web pages, got rid of the un-necessary coding and it seems to be good now.
Can you recommend a good book for beginning CSS coders?
Thanks again for your help.
Jeff
Reply With Quote
  #4  
Old 10-21-2006, 12:49 AM
morones5 morones5 is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 66
Default Books

Hey let me know about the recommendation for teh CSS Books. I would definitely like to learn more about that.
Reply With Quote
  #5  
Old 10-21-2006, 08:51 PM
Brian Brian is offline
Newbie
 
Join Date: Sep 2006
Posts: 3
Default

Sorry, I haven't used a book in quite a while so my reference is out of date. Maybe do a search on Amazon?

There are a couple of online sites that are fairly good

http://www.w3schools.com/css/default.asp - although it looks like it doesn't go into much detail on inheritence and cross-browser problems. But there are a fair number of examples where you can change the various codes and see the result.
Reply With Quote
  #6  
Old 10-21-2006, 10:10 PM
morones5 morones5 is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 66
Default

Cool, I will check it out. Maybe the local JC has a course and I could get the books they use.

Thank you,

Michael
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dns Problem pranet Reseller Hosting 3 10-17-2009 06:09 PM
problem with FBI A.M.J.A.D Web Hosting 2 05-16-2008 04:00 AM
Email Problem Hub Reseller Hosting 1 01-20-2008 01:49 PM
SSH Problem Ralgha Shared Web Hosting 5 12-27-2007 06:32 PM


All times are GMT -5. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.