Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...IE 7 CSS display issue driving me insane!IE 7 CSS display issue driving me insane!
Previous
 
Next
New Post
1/20/2010 12:20 PM
 

Having an issue that's probably an easy "hack" but I can't seem to figure it out. Where I’m styling a simple “search area” of my navigation (black bar in header) that’s causing the anchor tag text to dip down in IE 7 and not in Firefox, IE 8 or Safari.

I put the search anchor inside of a div that’s floated next to another floated div. I do this all the time. However, in this case, the anchor (and text) are dipping lower in IE 7. I’ve tried all kinds of things to work this out but, no solutions yet.

Screenshot attached…

You can view our dev site here: http://174.37.48.36

You’ll land on the home page of Wines.com (our new version of Wines.com, not yet launched on the WWW).

Anyway, look up towards the top right of the container, in the black navigation area. You’ll see a text input box with the word “search” to the right of that. If you view this URL in Firefox, you won’t see anything strange. If you view it in IE 7, you’ll see that the word “search” is falling too far down - below the text input box.

I’ve tried ZERO padding, ZERO margin, taller height, wider width, display as a block element, etc. Right now I’ve placed about 4px of padding on the word “search” to make things line up in Firefox, Safari, and even IE 8. However, that exasperates the issue in IE 7.

Any ideas?

Happy to share the host login, CSS file, etc.

If you view the code in Firebug, look at the “skin.css” file and then under the “search contain” content area for the classes related to the issue!

Thanks a million for your consideration!

 
New Post
1/22/2010 11:51 AM
 

Have you tried using vertical-align=middle; ?

Jeff

 
New Post
1/22/2010 12:07 PM
 

For consistent vertical centering of text across browsers, set "line-height" for the text to be the same as the pixel height of its parent element.

http://www.w3schools.com/css/pr_dim_line-height.asp

Nik

 


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
New Post
1/22/2010 12:42 PM
 

Victor:

Very nice site.  I did not see the problem as I'm using IE8 but wanted to bring to your attention that you may have a typo on picture #2 of the slideshow, which reads "THE put grape on tape!"

Carlos

 

 
New Post
1/22/2010 2:11 PM
 

I dont have IE7 near me to test tonight. But it looks different in Chrome to what it looks in FF or IE8. Generally, I personally would never design a high contrast search box with such small margins against in middle of the black strip. It is just asking for trouble. I would talk to your client if it is not your own site and revise positioning the search in such a location that requires pixel accurate margins to look right.

Salar 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...IE 7 CSS display issue driving me insane!IE 7 CSS display issue driving me insane!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out