473,799 Members | 3,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Minor CSS Problem. Need a quick fix

2 New Member
I am trying to modify some CSS to shift some text over slightly and raise it up. Here is the HTML code and CSS I am working with:

-------------
THE HTML CODE
-------------


<div id="header">
<div id="headerimg" >
<h1><a href="http://www.blogtheinte rnet.com/testblog/">Professio nal Product Reviews</a></h1>
<div class="descript ion">A professional product review blog on the Internet</div>
</div>
</div>

----------------------------
INFORMATION IN THE STYLE.CSS
----------------------------

#header {
background: #73a0c5 url('http://www.blogtheinte rnet.com/testblog/wp-content/themes/default/images/kubrickheader.j pg') no-repeat top center;
}

#headerimg {
margin: 7px 9px 0;
height: 192px;
width: 740px;
}

h1, h2, h3 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-weight: bold;
}

h1 {
font-size: 4em;
text-align: center;
}

#headerimg .description {
font-size: 1.2em;
text-align: center;
}

What I want to do is raise the <h1> test up to be pretty much level with the gold seal and maybe about 10 pixels away from it.

From there I want to add a 468x60 Google Adsense code below the gold seal. I have been working on this for a few hours now, can anyone throw me a bone real quick and possibly modify the CSS included above?

* NOTE: Here is a Mock Up image I did in photo shop to illustrate what I am wanting to do. Granted the headerimage as you see it now will be a different background... more less a solid or standard gradient color.

http://www.blogtheinternet.com/testb...er-example.jpg

Best Regards,
Garry
Jun 22 '07 #1
2 1438
garryconn
2 New Member
Just a bump.

I want to see if I can get someone to offer a few minutes of help.

Thanks in advanced.

Garry
Jun 23 '07 #2
jhardman
3,406 Recognized Expert Specialist
Just a bump.

I want to see if I can get someone to offer a few minutes of help.

Thanks in advanced.

Garry
You nasty little bumper!

There are several ways to do things like this, using just padding and margins you could try:
[html]<style type="text/css">
#header {
width:760px;
background: #73a0c5 url('http://www.blogtheinte rnet.com/testblog/wp-content/themes/default/images/kubrickheader.j pg') no-repeat top center;
}

#headerimg {
margin: 7px 9px 0;
padding: 20px;
height: 70px;
width: 740px;
}

h1, h2, h3 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-weight: bold;
}

h1 {
font-size: 2.5em;
text-align: center;
margin: 0px;
}

#headerimg .description {
margin: 0px;
font-size: 1.2em;
text-align: center;
color: white;
}

a {
color: white;
text-decoration: none;
}[/html]
you also might want to look up relative and absolute positioning, especially since old versions of ie notoriously mis-interpret padding and margins

Jared
Jun 23 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1861
by: Christian Seberino | last post by:
I am looking at the ELSE home page and trying to figure out if I should invest the time to learn about the ELSE minor mode for Emacs. Is there any programmer out there using ELSE that is getting great benefit from it? What does ELSE minor-mode for Emacs do that is so great for you? Chris
1
2645
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a < b simply means that b < a can't be set, also it must be a != b. >And with three objects a < b , b < c means a < c > >I studied Quick Union Find algorithms a bit and if I understood them >correctly, once the user gives the input setting the...
0
944
by: jaYPee | last post by:
i have downloaded an example of a combobox in datagrid from this site http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q480q it works great except that there are some minor problem. this is what i have discover from this sample. when i go to the new row in datagrid with this combobox bound and click the combobox sometimes there is a default value from the value of that combobox and when u click some value it is not changing right...
6
2950
by: Frank V. | last post by:
Hello, I'm new to VB.net, moving from VB6 to VB.net. My question is "In VB.net what is the equivalent of the App.major (and others) VB6 property. I, like a lot of people I imaging, display the current version number on my about form. Though I've used some code, I can't get a version number that seems to update properly. I've read some other posts that have mentioned 2 main things that I've learned. 1. <Assembly:...
4
2483
by: Michael C# | last post by:
Given a DateTime variable, what's the best way to check "minor" status (i.e., less than age 18 years) based on today's date? I came up with this: Dim minor As Boolean = true 'dtDOB is a DateTime variable set to Date of Birth If (DateTime.Now.Subtract(dteDOB.Value.AddYears(18)).TotalDays >= 0) Then minor = false End If This appears to work, but seems a little obfuscated. I was just wondering
0
3169
by: ksjayhawk | last post by:
This isn't very important to me, but my brain is arguing that there is an elegant way of performing the below "cho+protein+fat" calculation -- without repeating the calculations many times (below is just a simple version of the problem at hand). I attempted to select "cho+protein+fat" as a new column name, and then use that column name as the demoniator in the percentage calculations, but that failed. Of course, that doesn't work in...
5
1115
by: jupiter | last post by:
hi friends, I am anil. I have begining level experience of c++ so I need ur advice. I have a problem for all think tanks in the group. what i want is 1. Access a web page (html) say ebay's page for particular item (I need to access different pages for several items approx. 1500) 2. Save that page in comp memory or on disk for processing 3. I am not sure if I can process that html in c++ or need to convert to txt first
15
2100
by: lucky | last post by:
Hi Guys You are probably my last chance to avoid getting crazy To help you understand my problem I have put images online showing the issue I have: http://www.australix.net/images/pb I have an XML file containing links and I use an XSL file to build a
2
5574
by: piyushd.ganj | last post by:
i want any topics (not too much complex)on the c language for minor project in college....
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.