473,769 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with my header (help!)

I'm trying to get my header to have 2 images, one for the top left and
one for the top right. Here's a link to my page...

http://levelwave.com/dev/div/index.html

[Left Logo] and [Right Logo] will eventually be images but what I'm
wanting is for the [Left Logo] to be aligned left and [Right Logo] to
be aligned right. As of now they're both squished to the left and I'm
not sure how to change my CSS to do this.

Here's my CSS for my header div

div#header{heig ht:80px;line-height:80px;mar gin:0;}

The entire code page is below... any ideas?

thanks,

~john

-------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 24</title>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1">
<meta name="generator " content="HAPedi t 3.1">
<style type="text/css">
html,body{margi n:0;padding:0}
body{font: 76% arial,sans-serif}
p{margin:0 10px 10px}
a{display:block ;color: #981793;padding :10px}
div#header{heig ht:80px;line-height:80px;mar gin:0;
padding-left:10px;backg round: #EEE;color: #79B30B}
div#content p{line-height:1.4}
div#navigation{ background:#B9C AFF}
div#extra{backg round:#FF8539}
div#footer{back ground: #333;color: #FFF}
div#footer p{margin:0;padd ing:5px 10px}

div#wrapper{flo at:right;width: 100%;margin-left:-200px}
div#content{mar gin-left:200px}
div#navigation{ float:left;widt h:200px}
div#extra{float :left;clear:lef t;width:200px}
div#footer{clea r:both;width:10 0%}
</style>
</head>
<body>
<div id="header">[Left Logo] - [Right Logo]</div>

<div id="wrapper">
<div id="content">
</div>
</div>

<div id="navigation" >
</div>

<div id="extra">
<p><strong>3) More stuff here.</strongvery text make long column
make filler fill make column column silly filler text silly column fill
silly fill column text filler make text silly filler make filler very
silly make text very very text make long filler very make column make
silly column fill silly column long make silly filler column filler
silly long long column fill silly column very </p>
</div>

<div id="footer"><p> Here it goes the footer</p></div>

</body>
</html>

Aug 28 '06 #1
2 1690
~john wrote:
I'm trying to get my header to have 2 images, one for the top left and
one for the top right. Here's a link to my page...

http://levelwave.com/dev/div/index.html

[Left Logo] and [Right Logo] will eventually be images but what I'm
wanting is for the [Left Logo] to be aligned left and [Right Logo] to
be aligned right. As of now they're both squished to the left and I'm
not sure how to change my CSS to do this.
http://k75s.home.att.net/banner.html

--
-bts
-Motorcycles defy gravity; cars just suck.
Aug 28 '06 #2
Replace this line:

<div id="header">[Left Logo] - [Right Logo]</div>

With:

<div id="header"><im g src="right logo url" style="float: right;"><img
src="left logo url"></div>

Aug 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
34290
by: bob | last post by:
I use the following code to redirect the browser on an error, header("location:error.php"); exit; Is it possible to pass POST variables on as if a form was submitted, using header()? Thanks for your help, Ben.
11
2316
by: DaRemedy | last post by:
Hiya, just need help with PHP headers. I have an index php page which has the following code within a header redirect: <?php if ( empty($_GET) ) if (empty($_GET) ) { $month = date(n);
0
1103
by: george1069 george1069 | last post by:
Hi, I'm repeating <fo-table> using loop and there is <fo-table-header> to generate a title for each of the table generated. In one of the output pages, a new table is generated near to the bottom area. Howe only the table header is shown at the bottom and the body content has splitted into the next page. It is because the remaining space is only enough for the table-header but not the content.
0
1647
by: Prasanth U | last post by:
Hi All, We are facing a problem while integrating a HTML help file (chm version 1.x) to our windows .net application (C#). The help topic for the controls in the application are shown using the following command Help.ShowHelp(helpParent, @HelpFile, HelpNavigator.Topic, topicName); The problem is like this. Our application has two modes of operation 1) Wizard mode - a new file is created by the wizard.
3
2204
by: Gandu | last post by:
Could some C++ guru please help me? I have a very odd problem with respect templates and inheritance. I have templatized List class, from which I am inheriting to create a Stack class. All works fine till I have to create a Stack object - all sorts of error messages are generated. I have included source files below: The List class: #include "List.h" template <class T>
31
4604
by: Extremest | last post by:
I have a loop that is set to run as long as the arraylist is > 0. at the beginning of this loop I grab the first object and then remove it. I then go into another loop that checks to see if there are more objects that match the first object that i grabbed. If they match then I put them in an array. I would like to remove each match from the arraylist as I find them to speed things up and so that they don't get checked again. If I try...
2
2940
by: vinit_mahajan99 | last post by:
Hello All. I am designing the master page for my site. I have used a table and ther are three rows in a table. Table lies in the 1. Header 2.ContentHolder 3.Footer
1
3114
by: innivive | last post by:
I am having a problem with having margins display correctly in IE7, Firefox and Safari. I am not sure if it is the "double margin error" or something else. Any help would be appreciated. The file tabs at the top content area should be flush left and the light blue frame should line up under the logo graphic. Looks great in Safari and Firefox but I can't get it to line up in IE7. http://www.thinairdigital.com/tdi Any help would be...
0
1375
by: sa6113 | last post by:
I want to connect to a Windows machine in my network , using ssh, I use paramiko but I have problem in authentication, would you please help me? 1- I have installed freeSSHD in server machine? Is it necessery ? or may I have to install another program? 2- I have entered server's Ip insted of hostname.Is it correct? 3- I have creat a user in server machine with a password to connect. Am I right?
0
9579
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
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10208
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
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
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
6662
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();...
2
3558
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.