garyhol
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningFor those who are encountering the same problem, you might find the following numbers useful. I tried to get them to match as close as possible and these are the figures I ended up with:
<!--[if IE]> <style type="text/css"> .iename {margin: -18px 0px 0px 0px; padding: 0px 0px 0px 0px;} .iedesc {margin: -28px 0px 28px 0px; padding: 0px 0px 0px 0px;} </style> <![endif]--> <div class="iename"> <h1><a>/"><?php bloginfo('name'); ?></a></h1> </div> <div class="iedesc"> <h2><?php bloginfo('description'); ?></h2> </div>And this is an image for comparison: http://www.veggyplease.com/images/comparison2.JPG
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningThanx csleh. I found this problem with my IE7. I don’t have older versions of IE. Anyway, I had to try many variations before I finally got it to work. Here’s the modifications I did:
<!--[if IE]> <style type="text/css"> .iename {margin: -20px 0px 0px 0px; padding: 0px 0px 0px 0px;} .iedesc {margin: -25px 0px 25px 0px; padding: 0px 0px 0px 0px;} </style> <![endif]--> <div class="iename"> <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> </div> <div class="iedesc"> <h2><?php bloginfo('description'); ?></h2> </div>Adam and Csleh: Thanks for your help!
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningI think that it might be possible with javascript as well, but I’m not familiar with javascript at all. Is there anyone here who is?
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningI was looking around, and found a conditional comment <!–[if IE]> that supposedly affect changes in IE browsers only. Could I use that somehow to alter the header top-margin/padding?
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningErm, fixed the errors. The irregularity still shows 😐 Here’s a picture showing the bit: http://www.veggyplease.com/images/comparison.png
The header has extra margin on the top in the IE browser.
Forum: Themes and Templates
In reply to: Different Browsers = Different Title PositioningOk thanx so much, adam. I’ll look at that.