-
AuthorPosts
-
August 10, 2009 at 3:25 am #143345
I am creating a site for my school newspaper and inserted the name of our school into the HTML in the header to help our SEO. After I did this I changed the color of the text and made the background black so that it matches the rest of the site. There is however a white bar above that text that I added that I would like to get rid of. I thought that it might just be some padding somewhere in the css but cant find it.
The HTML in the header where I added the text
<blockquote><!– BEGIN: HEADER –>
<div style=”background-color:black”>
<font color=”#FFFFFF” face=”Tahoma, Arial, Verdana, sans-serif”>
<p>FRANCIS HOWELL NORTH HIGH SCHOOL – SAINT CHARLES, MO 63303</p>
</font><div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix”><h1>
<a href=”index.php”>
<?php echo $tmpTools->sitename();?>
</a>
</h1>
</div>
</div></div>
<!– END: HEADER –></blockquote>Just above the text that I added there is a white box. The url to see the problem is http://test.fhntoday.com/
If anyone can help me out with getting rid of that white space that would be great.
Thank you
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
August 10, 2009 at 6:49 pm #313762Hi fhntoday,
I tried looking at your problem, although can not provide best solution to you, may be you can try the following to minimize the odd line :
Open your template_css.css Line 103.
Change :
[PHP]margin:10px 0;padding:0;}[/PHP]
to:
[PHP]margin:0 0;padding:0;}[/PHP]
Just give it a try and let us know.
regards
Arvind
1 user says Thank You to Arvind Chauhan for this useful post
August 10, 2009 at 7:07 pm #313766That does not show up for me on line 103. Could you give a larger example of what should be above or below it, so that I can find the correct area that you are talking about?
Thanks for your help.
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
August 10, 2009 at 7:12 pm #313768Hi,
Open your template_css.css on line 103
Change :
[php]p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
padding: 0;
}[/php]To :[php]p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
margin: 0px 0;
padding: 0;
}[/php]Also check if this change in code affects any other part of your template.
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by fhntoday 15 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum