473,378 Members | 1,175 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,378 software developers and data experts.

setting logo/text position with stylesheet

Hi

At my site www.engoi.com I have a logo positioned right on the
titlebar, with a "oneliner" (the text next to it) by it. The oneliner
should end close to the logo, as it currently does.

Right now I have a nasty mix of floats and relative offsets to get the
effect I want.

I actually want the one liner ("The Multi Language Vocabulary Learner")
to be multilingual too, meaning it's length will change.

How can I improve this layout so that the right hand side of the text
holds it's correct position with respect to the logo, even the the
actual oneliner changes content?

(Actually all constructive comments on the design and layout of this
site are welcome.)

Thanks

Daniel

Jan 31 '06 #1
1 2124
Els
da*************@gmail.com wrote:
Hi

At my site www.engoi.com I have a logo positioned right on the
titlebar, with a "oneliner" (the text next to it) by it. The oneliner
should end close to the logo, as it currently does.
No, it doesn't (in Opera). I can see "The Multi Language Vocabulary ".
The word "Learner" hides behind the logo.
Right now I have a nasty mix of floats and relative offsets to get the
effect I want.
I won't look in the stylesheet then ;-)
I actually want the one liner ("The Multi Language Vocabulary Learner")
to be multilingual too, meaning it's length will change.

How can I improve this layout so that the right hand side of the text
holds it's correct position with respect to the logo, even the the
actual oneliner changes content?


I would change your HTML to:
<div id="header">
<h1 id="engoilogo"><img src="../img/engoi.gif" alt="engoi - the
multilanguage vocabulary learner">The Multi Language Vocabulary
Learner</h1>
<div id="membermenu"></div>
<div id="menu"></div>
</div>

and do this in the stylesheet:
h1#engoilogo{
text-align:right;
}
h1#engoilogo img{
float:right;
margin-left:10px;
}
div#membermenu{
clear:both;
}

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: Jon Anderson - Meeting (Garden Of Geda) / Sound Out The
Galleon
Jan 31 '06 #2

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

Similar topics

6
by: Matthew Rees-George | last post by:
I want this example xml:- <xxx>text before <yyy att="value"/> text in the middle <zzz>ignored but transformed</zzz> text after</xxx> To be transformed to this:- text before value text in the...
21
by: Atanas Boev | last post by:
Is there any CSS way to make a <hr /> noshadow so I don't get the default 3D look in Netscape? I tried to use some border-bottom to make the line, but my "line" should be under text that is...
3
by: ManChild | last post by:
I am kinda new to CSS and undertook a project to big for a noob. Either way I am almost done and have learned a lot, even in the last few days. I had an issue where I could not get a border to...
9
by: fleemo17 | last post by:
I'm hoping a CSS guru can help me with what seems like a simple enough goal. What I'm going for is a large photo centered in the browser with text positioned on top of it. Using the CSS below,...
1
by: alvinpoon | last post by:
Hello, I have a problem setting the scrollbar position of a div region on a webpage which is posted at http://www.geocities.com/virtuosity999/Logon.htm If the page is loaded with Netscape,...
4
by: sweep | last post by:
Hi there, I have a problem with some CSS I'm writing and I was looking for a little help. I have a nav bar at the top and left side of my page in CSS which work fine. The remaining space has a...
3
by: Matthias Lohrer | last post by:
Hi, my XML-Document hat this structure <book> <section> <para /> <para /> </section> <section> <para />
6
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I want to insert a CSS Stylesheet file in a <LINKtag inside my MasterPage so that it will work in all of the the ASPX pages that use that MasterPage (no matter where the page is in the directory...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.