473,803 Members | 4,192 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Aligning 3 items to LHS, Centre, & RHS respectively

CJM
I want to create a footer with 3 items, one of which will always stay to the
left, one will be in the centre, and the 3rd will be at the right. As you
might imagine, I want the Right & Centre items to adjust accordingly as the
window is resized.

I know this is a relatively simple task, but I've gone wrong somewhere on my
initial attempts..!

http://aif-advocacy.org.uk/new/

Cheers
Jul 20 '05 #1
3 2796
On Fri, 8 Aug 2003 09:44:01 +0100, "CJM" <cj*****@m.co.u k> wrote:
I want to create a footer with 3 items, one of which will always stay to the
left, one will be in the centre, and the 3rd will be at the right. As you
might imagine, I want the Right & Centre items to adjust accordingly as the
window is resized.

I know this is a relatively simple task, but I've gone wrong somewhere on my
initial attempts..!


Something like I have on my site, for example? (see sig). Feel free to
pinch the markup if so.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #2
"Stephen Poley" <sb*****@xs4all .nl> wrote in message
news:bj******** *************** *********@4ax.c om...
On Fri, 8 Aug 2003 09:44:01 +0100, "CJM" <cj*****@m.co.u k> wrote:
I want to create a footer with 3 items, one of which will always stay to theleft, one will be in the centre, and the 3rd will be at the right. As you
might imagine, I want the Right & Centre items to adjust accordingly as thewindow is resized.

I know this is a relatively simple task, but I've gone wrong somewhere on myinitial attempts..!


Something like I have on my site, for example? (see sig). Feel free to
pinch the markup if so.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


OT, in your site, what is the purpose of the links rel=Contents, Home,
Search, Author?

Jul 20 '05 #3
On Fri, 8 Aug 2003 11:14:34 -0500, "Steven Dilley"
<steven.dilley. at.compuware.co m> wrote:
"Stephen Poley" <sb*****@xs4all .nl> wrote in message
news:bj******* *************** **********@4ax. com...
On Fri, 8 Aug 2003 09:44:01 +0100, "CJM" <cj*****@m.co.u k> wrote:
>I want to create a footer with 3 items, one of which will always stay to the
>left, one will be in the centre, and the 3rd will be at the right. As you
>might imagine, I want the Right & Centre items to adjust accordingly as the
>window is resized.


Something like I have on my site, for example? (see sig). Feel free to
pinch the markup if so.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


OT, in your site, what is the purpose of the links rel=Contents, Home,
Search, Author?


In Opera and some other browsers these are used to populate a standard
navigation bar which the reader can switch on or off as desired. The
HTML spec covers them briefly in section 12.1.2, and IIRC there's a more
detailed description somewhere on the W3C site.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #4

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

Similar topics

3
4741
by: Hal Vaughan | last post by:
I have a JComboBox with a list of numbers, from 1 digit to 5 digits. Numbers with more than 3 digits have a comma in them. I've been aligning them with leading spaces. Is there any simple and quick way to align all the items in a JComboBox with the right edge of the box (which, in this case, would mean all columns keep the same place value)? Thanks! Hal
2
3170
by: Iain Hallam | last post by:
Hi. I've got a few divs on a page that are positioned as "fixed". I now want my text to centre itself both horizontally and vertically. "text-align: center" on the body works for horizontal, but I can't seem to get the text to move from the top of each div. Any suggestions? Incidentally, the page layout I'm aiming for is as follows: ..-------------------------------------------.
6
1895
by: Colin Walls | last post by:
I am writing some HTML and CSS that will eventually be produced by a program for running fencing tournaments. Everything is fine apart from column alignment for numbers. Have a look at http://murorum.demon.co.uk/engarde/poules.html. The V/M column should be centred, while the Indicator and HS columns should be right aligned. Since I was defining column widths within a <colgroup> I thought it would be cleaner to define the alignment of...
27
3863
by: Daniel Vallstrom | last post by:
I'm having problems with inconsistent floating point behavior resulting in e.g. assert( x > 0.0 && putchar('\n') && x == 0.0 ); holding. (Actually, my problem is the dual one where I get failed assertions for assertions that at first thought ought to hold, but that's not important.) At the end is a full program containing the above seemingly
2
2765
by: Dave | last post by:
Hello all, I need to know if you can vertically align Items within an ItemTemplate. For example I have two columns, one column has a stack of 6 textboxes, my second column can have 1 to n number of textboxes, but when there is only one textbox I need to be able to anchor it to the top of the column, at present it centers itself in the middle. Does anyone have any idea how to accomplish this?
1
1053
by: =?Utf-8?B?U2FzaGE=?= | last post by:
If Help & support centre will not open, how can it be found and used?
0
1114
by: =?Utf-8?B?Q2hyaXNzaWUgUg==?= | last post by:
Help! Would you believe have just bought my first MP3 player (mind you I am in my fifties). Although not a computer whizz - I manage to do most things on my PC. Loaded CDs onto Windows Media Centre - when i push 'sync' box comes up saying 'windows media centre has to shut down'. Also icon at bottom of screen representing windows media connect has a cross through it and if i click on it it says 'folder sharing has been stopped. A...
14
2437
by: gaijinco | last post by:
I was a hobbist web coder for years but I had to sidestep for a while. Now I'm trying to return to it and I'm trying to clarify how am I supposed to do somethings with CSS v.s. HTML and I'm specially having difficulties with center alignment of elements like images and tables. How is the "right" way to do it? (books that I have checked seemed to dodge the issue) I also have a doubt. html-atributes width and height are preferred over...
2
2127
by: brixton | last post by:
Hello, I have an "accordion menu" where I want the structure to be like this for a menu item with "children" who are supposed to drop down when an "expand image" is clicked: <li> <span>some text</span> <img src="the_expand_image.gif" /> </li> Now, for each menu item like that I want to align the span to the left, and the img to the right in my <li>. I haven't been able to find a cross-browser solution, setting float:left and...
0
9564
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
10548
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...
1
10295
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,...
0
10069
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
9125
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...
0
6842
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
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
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.