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

Why is right column not aligned with left?

Does anyone have any idea why the right column is not aligned with the left
column? It is much lower from the top.

Please comment: http://officeactivate.com/newest/test.shtml

Is it because of the absolute positioning?

thanks for any tips.

Jan 5 '06 #1
4 2292
Els
Dan V. wrote:
Does anyone have any idea why the right column is not aligned with the left
column? It is much lower from the top.

Please comment: http://officeactivate.com/newest/test.shtml

Is it because of the absolute positioning?


Didn't check your stylesheet, but your first element inside that right
hand column is a <p>. The space you see above the white area is
probably the margin-top of the <p> element. I'm guessing that if you
set a border-top for the right column, the white area will extend to
encompass this margin, and thus be level with the left column.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jan 5 '06 #2
Dan V. wrote:
Does anyone have any idea why the right column is not aligned with the left
column? It is much lower from the top.

Please comment: http://officeactivate.com/newest/test.shtml
Had you validated the page you would have found the problem. There is a
trailing backslash after <doctype>.
Why use HTML Transitional? It was meant only as a temporary spec for
converting legacy pages to HTML v4. Use HTML Strict.

Also:
In #rh_col get rid of position:relative, top:, and left:. Adjust
margin-top (about 180px, or 14em) to align with #lh_col.
Is it because of the absolute positioning?

There is no reason to use position:absolute on the header. And a
float:left for #lh_col would work as well.
Instead of using px to set the top coord for the divs, use ems. The
positioning then scales with changes in font size.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jan 5 '06 #3

"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:i9******************************@giganews.com ...
Dan V. wrote:
Does anyone have any idea why the right column is not aligned with the
left
column? It is much lower from the top.

Please comment: http://officeactivate.com/newest/test.shtml

Had you validated the page you would have found the problem. There is a
trailing backslash after <doctype>.
Why use HTML Transitional? It was meant only as a temporary spec for
converting legacy pages to HTML v4. Use HTML Strict.

Also:
In #rh_col get rid of position:relative, top:, and left:. Adjust
margin-top (about 180px, or 14em) to align with #lh_col.
Is it because of the absolute positioning?

There is no reason to use position:absolute on the header. And a
float:left for #lh_col would work as well.
Instead of using px to set the top coord for the divs, use ems. The
positioning then scales with changes in font size.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


I validated the page with Macromedia Dreamweaver 2004 MX, but it didn't
catch it. Do you have another way to quickly validate an entire web site?
The reason I used absolute positioning is because it is for Search Engine
Optimization. It is better to have the main content listed first, instead
of menus and headers ....
That is what I am trying to accomplish. But good point, I never much like
using absolute positioning.

I also feel like an idiot because the stylesheet was pointing to "new" not
"newest"... Ooops!

Thanks for all the tips everyone, it seems to work now.
Jan 7 '06 #4

"Dan V." <d@d.com> wrote in message
news:-r********************@golden.net...
Does anyone have any idea why the right column is not aligned with the
left column? It is much lower from the top.

Please comment: http://officeactivate.com/newest/test.shtml

Is it because of the absolute positioning?

thanks for any tips.


Maybe this is not possible, but this is what I am trying to do first of all
before I do scaleable, more compliant CSS.

1) Have the text content in right column listed first in page source code
for SEO, before banner and left column
2) Have the banner image fixed at the top, so when you decrease the size of
the window it does not wrap
3) Have the top nav menu and banner text wrap though
4) Have the left column a fixed width and the right column stretch to window
size.

I don't have this yet, as I am trying to use absolute positioning for the
left column and that is messing me up. I tried a float left but it always
appears under the right-column block.

Any tips? http://www.officeactivate.com/newer/test.shtml

thanks.
Jan 7 '06 #5

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

Similar topics

22
by: Marek Mand | last post by:
How to create a functional *flexible* UL-menu list <div> <ul> <li><a href=""></li> <li><a href=""></li> <li><a href=""></li> </ul> </div> (working in IE, Mozilla1.6, Opera7 (or maybe even...
6
by: Craig Thomson | last post by:
How can I have some text aligned to the left of the page and some more text aligned to the right using only CSS without a table? SPAN doesn't have any alignment, and there is only a single DIV...
2
by: esther s via SQLMonster.com | last post by:
there are one table with a column with 16 varchar, eg. ________1245678( _ stands for space.).the database size is 15 MB. when using bcp, right-aligned data will be display. Can i change it...
0
by: PJ | last post by:
I have two blocks, one aligned to the left and one aligned to the right. I'm having issues getting the left block aligned to the bottom when the content height is less than that of the right block....
1
by: Martin | last post by:
Dear group, I have a list in an access97 database that causes me trouble. The problem is that as default all the columns in the (multiselect) list are aligned to the left. I guess the trick...
0
by: David Lindgren | last post by:
Hello! I am using a thirdparty gridcontrol which has a bug in it. It consists of that when setting a column to be right aligned it doesn't work as it should. The column gets rightaligned, but...
19
by: JB | last post by:
Hi All, Why doesn't this work in Firefox but is perfect in IE6? In IE6, the text is on the same line but in Firefox, the left aligned text is on the line above the right aligned text. ...
3
by: Sjef Janssen | last post by:
Is it possible to have a box (div) which sets a background-color and which contains (on the same line) text which is left aligned and text which is right aligned. (as in a table: two td's left one...
5
by: OtisUsenet | last post by:
Hi, I'm killing myself trying to get a "horizontal nav bar" where some text is left aligned, and some is aligned to the right, kind of like this: LEFT ...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
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...
0
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...

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.