473,324 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Separate alignments within a division

http://rehatch.net

I'm trying to place text in the upper right hand corner, across from
the banner image (in the "banner" div). I've tried text-aligning the
div to right and aligning the image left, but it creates a strage
side-effect in IE. Any ideas? TIA.

Relevant portions of my stylesheet:

body {margin: 0; padding: 0; font-family: "Trebuchet MS", Helvetica,
Arial, sans-serif; font-size: 14px; text-align: center; color:#000000;
background-color: #FFFFFF;}

#wrapper {margin: 20px 0; width: 680px; text-align: center; border: 1px
solid #CC0000;}

#banner {text-align: left;}
#header {clear: both; height:40px;
background-image:url(../gradient.gif); text-align: center;
border-bottom: 1px solid #CC0000;}

Jul 21 '05 #1
1 1354
st******@msu.edu wrote:
http://rehatch.net

I'm trying to place text in the upper right hand corner, across from
the banner image (in the "banner" div). I've tried text-aligning the
div to right and aligning the image left, but it creates a strage
side-effect in IE. Any ideas? TIA.


Instead of left aligning the image, make it float left.
Place the text in question inside a new div and float it right.
Then add a clear:both to your header div.

--
Gus
Jul 21 '05 #2

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

Similar topics

4
by: Lorentz | last post by:
Greetings. I have a process that takes data from a MS Access2000 database and produces .pdf files. Everything works fine... but I'm trying to format the header and footer of the pdf file so...
3
by: Oddball | last post by:
I have a problem with the positioning of two divisions. They are containined within a content division in which all the page content happens (ie not the menus, etc.). The behavior I would like...
28
by: kfrost | last post by:
I know this is probably simple but I have a C# form and the class for the form is called sbaSynch. I have a textbox name txtServerName. I'm creating a class to manipulate XML functions so I...
17
by: seb.haase | last post by:
Hi, Is it true that that "Python 3000" is dead ? Honestly I think that e.g. changing 5/2 to be 2.5 (instead of 2) would just break to much code :-( On the otherhand I'm using Python as "Matlab...
10
by: Mike S | last post by:
Does anyone know the logic behind why in VB.NET the result of a floating-point division ('/') is -rounded- on being converted to an integer type, such as with statements like Dim x As Integer =...
2
by: kermit | last post by:
For a long time,, There has been a discussion of trueFor division versus integer division in Python. I myslef prefer that / be used for integer division since almost always, I want the...
13
by: jamesonang | last post by:
Supposed unsigned int(32 bits) is the largest number that computer can represent with a single variable. Now, i have a big integer ( less than 64 bit, but great than 32 bit) . i represent it by...
2
by: paleopete | last post by:
I'm a complete novice trying to write some xhtml 1.0 transitional script, so I apologize for asking such a simple-minded question. When trying to validate my page on w3c markup validator, I'm...
4
by: =?Utf-8?B?RC1Tb21lb25l?= | last post by:
We have a very large enterprise type of application developed in VB.NET, SQL Server, RS 2005, using win forms and web forms. We are a major international company with 200+ divisions around the...
1
by: Lagon666 | last post by:
Is it possible to change #wrapper's inner elements alignments to center of page? I think its possible by using TABLE, but what about DIV? <style> #left { background: red; width: 100px;...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.