Support Forums

text alignment problem in search page

This is a discussion on text alignment problem in search page within the Technical Support forums, part of the Technical Support Forums category; Hi, As I don't see anything about how to fix this issue I post my question: Is there a way ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 05-02-2010, 11:02 AM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 16
magicosta is on a distinguished road
Default text alignment problem in search page

Hi,

As I don't see anything about how to fix this issue I post my question:

Is there a way to fix this text currency misalignment besides the field price range in IE search.tpl?

Thank you for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-02-2010, 02:20 PM   #2
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,529
Rep Power: 89
seymourjames is a jewel in the rough
Default

How about a screenshot to see what you mean?
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 05-02-2010, 02:59 PM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 16
magicosta is on a distinguished road
Default

Thank you for your reply,

here is a screen shot.

Hope you can help me as the problem shows up as well for every extra field.

Thank you
Attached Images
File Type: jpg currency-misalignment.jpg (31.9 KB, 10 views)
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-02-2010, 05:23 PM   #4
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,427
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That's an age old problem with IE, which incorrectly ignores any text alignment within a form element.

I can't remember exactly, but if I'm not mistaken you can correct it by putting the text in a <span> element and then in a separate ie only stylesheet set it something like this:
#search form span
{
height: 1;
}

Again, this is off the top of my head, so I may be wrong. If that doesn't work for you try searching in google along the lines of "css ie form text line-height" I'm sure you'll be inundated with articles about it!
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-03-2010, 04:41 AM   #5
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 16
magicosta is on a distinguished road
Default

hi Mike,

Thank you for your reply.

Do you mind to explain what do you mean by...a separate ie style sheet?

I don't know how to code a style sheet specialy just for internet explorer.

Thanks again for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-03-2010, 08:24 AM   #6
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 37
bowers01 is on a distinguished road
Default

If you make a new style sheet you can use
Code:
<!--[if lt IE 8]>
   <link rel="stylesheet" href="location-of-file/ie.css" type="text/css" />
<![endif]-->
Which basicly says to Internet Explorer use this as well, but other browers will ignore it.
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 05-03-2010, 01:11 PM   #7
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 16
magicosta is on a distinguished road
Default

Thank you Nick, I will use it in the future
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Categories alignment problem dvanhoose52 TemplateCodes 1 02-22-2010 03:38 PM
step 3 listing details text alignment rainie Templates, HTML, CSS, and Design Help 5 12-07-2009 06:52 PM
simple alignment problem napes Templates, HTML, CSS, and Design Help 5 12-17-2008 07:50 AM
Browse Categories Text mis-alignment napes Off Topic 2 10-30-2008 09:04 AM


All times are GMT -4. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0