Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Different alignments on different computers?
Old 04-05-2007, 02:09 PM Different alignments on different computers?
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Hey guys, I haven't worked on HTML for a while and getting kinda rusty.

Anyway, I redesigned a home page for this church.
Everything looks fine on my computer, in both FF and IE
However, on other computers, both FF and IE are messing up.

The "right column" is what is getting screwed up.

Can you guys tell me if alignments are looking good on your computers or not?
I did it in CSS but I am couldn't remember a lot, so it might have been done poorly.


Link
CSS

I would like to add a vertical line to the left side of the "right content" or a border of you will. I don't really know how to do that, can anyone help me?
I really don't

Thanks a lot.
__________________
I work on Turbo'd Honda's for fun :)

Last edited by RNPoo7; 04-05-2007 at 08:03 PM..
RNPoo7 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-05-2007, 04:04 PM Re: Different alignments on different computers?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Looks fine in Firefox, screwed up in IE.
Remove the position: absolute on the blue right column and go with float:right instead, that should pull it back into the container in IE.

The make sure you CLEAR your floats after you close the content area.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-05-2007, 08:01 PM Re: Different alignments on different computers?
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
I'm sorry, I provided the wrong links to an older version I was working on.

I updated the links in the first post
__________________
I work on Turbo'd Honda's for fun :)
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 12:20 AM Re: Different alignments on different computers?
Banned

Posts: 905
Name: Travel Agent
Trades: 0
First of all, you need to fix the following 16 code warnings:

Code:
line 48 column 5 - Warning: missing <li>
line 129 column 92 - Warning: unescaped & or unknown entity "&task"
line 129 column 106 - Warning: unescaped & or unknown entity "&gid"
line 129 column 114 - Warning: unescaped & or unknown entity "&Itemid"
line 135 column 1 - Warning: missing </ul> before </div>
line 220 column 48 - Warning: entity "&nbsp" doesn't end in ';'
line 220 column 55 - Warning: entity "&nbsp" doesn't end in ';'
line 221 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 221 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 223 column 66 - Warning: entity "&nbsp" doesn't end in ';'
line 223 column 73 - Warning: entity "&nbsp" doesn't end in ';'
line 224 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 224 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 229 column 43 - Warning: entity "&nbsp" doesn't end in ';'
line 229 column 50 - Warning: entity "&nbsp" doesn't end in ';'
line 133 column 1 - Warning: <div> anchor "heading" already defined
travelagent is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 12:58 AM Re: Different alignments on different computers?
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Quote:
Originally Posted by travelagent View Post
First of all, you need to fix the following 16 code warnings:

Code:
line 48 column 5 - Warning: missing <li>
line 129 column 92 - Warning: unescaped & or unknown entity "&task"
line 129 column 106 - Warning: unescaped & or unknown entity "&gid"
line 129 column 114 - Warning: unescaped & or unknown entity "&Itemid"
line 135 column 1 - Warning: missing </ul> before </div>
line 220 column 48 - Warning: entity "&nbsp" doesn't end in ';'
line 220 column 55 - Warning: entity "&nbsp" doesn't end in ';'
line 221 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 221 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 223 column 66 - Warning: entity "&nbsp" doesn't end in ';'
line 223 column 73 - Warning: entity "&nbsp" doesn't end in ';'
line 224 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 224 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 229 column 43 - Warning: entity "&nbsp" doesn't end in ';'
line 229 column 50 - Warning: entity "&nbsp" doesn't end in ';'
line 133 column 1 - Warning: <div> anchor "heading" already defined
It would be kind of nice if you tell me what page those errors are in. Those errors don't' exist in my index page AT ALL

Ok, I got the left border finished.
Changing the Position:absolute to float:right; fixed the left and right alignment pretty good.
But now, the right column is positioned at the very bottom of the page, instead of under the header and the menu.

Lady, could you tell me about about clearing the floats. Not too sure on what that does/mean.

Thanks again!
__________________
I work on Turbo'd Honda's for fun :)

Last edited by RNPoo7; 04-06-2007 at 01:14 AM..
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 02:18 AM Re: Different alignments on different computers?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Those errors may not exist in your home page (or they may...I'm not sure where TA got that from). Whether they do or don't doesn't matter, though, since you've got a bunch of errors on the homepage anyway:

http://validator.w3.org/check?uri=http%3A%2F%2Fgreenvillecopts.org%2F

PM me this thread link. I'll look at it again when I get home (at my GF's).
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 04-06-2007, 03:30 AM Re: Different alignments on different computers?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
LNR: the position of the absolute was to be there in the particular instance in question. The reason I know that is because I recognize bits and pieces of SEFL code when I see it, even when it's been mixed with a whole bunch of other stuff.

(#rightcolumncontent gets dumped into #rightcolumn via Javascript, although I've since developed a better way to do this...I just haven't put it on the SEFL site yet).

Anyway, RNPoo7, your problem appears to be that your content div is 745 pixels wide, whereas the sum total of your contentarea (550 pixels) + rightcolumncontent (200 pixels) + border (1 pixel) = 751pixels. Take at least 6 pixels out of your contentarea div and all should fit (I'd recommend taking 11 out just so you've got a 5-pixel cushion).

That should at least get your two columns to play nicely across the board, although you will need to clear both floats immediately after, and within the #content div itself...ideally, do it just before you close the #content div.

Other than that, well...you just need to fix those code errors. One thing you may want to consider, if it becomes too much, is to rebuild each section a bit at a time. Take one section...create the code for it...validate it...cross-browser check it...and move on to the next one. Repeat as necessary. Sometimes this really is quicker.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 04-06-2007, 03:42 AM Re: Different alignments on different computers?
Kirtan's Avatar
Who Am I?

Posts: 377
Name: Venkat Raj
Location: Salem, South India
Trades: 3
I was bored. So i tried this "light weight" version of markup.
http://www.genexint.com/wmt/antest.html
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 04-06-2007, 08:53 AM Re: Different alignments on different computers?
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Adm, I changed the content area to 539 + 200 right column + 1 border = 740
but it's still not moving up.

Kirtan's version works good in FF but it moves the entire site to the left on IE.
But the right column is in the correct position. I would have look at his good after work.
Also, there is empty spaces around the border. Haven't figured out why that's happening yet.

I appreciate the help guys. I still don't know what clearing means or does, can someone explain that to me please? Thanks again.
__________________
I work on Turbo'd Honda's for fun :)
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 09:25 AM Re: Different alignments on different computers?
Kirtan's Avatar
Who Am I?

Posts: 377
Name: Venkat Raj
Location: Salem, South India
Trades: 3
I think you are talking about ie7. Its fixed now.
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 04-06-2007, 12:28 PM Re: Different alignments on different computers?
Banned

Posts: 905
Name: Travel Agent
Trades: 0
Quote:
Originally Posted by RNPoo7 View Post
It would be kind of nice if you tell me what page those errors are in. Those errors don't' exist in my index page AT ALL

Ok, I got the left border finished.
Changing the Position:absolute to float:right; fixed the left and right alignment pretty good.
But now, the right column is positioned at the very bottom of the page, instead of under the header and the menu.

Lady, could you tell me about about clearing the floats. Not too sure on what that does/mean.

Thanks again!
Actually, the errors still exist on the "Link" you have in your original post -- in Firefox, the site is still hosed up and these are the existing errors:

Code:
line 117 column 92 - Warning: unescaped & or unknown entity "&task"
line 117 column 106 - Warning: unescaped & or unknown entity "&gid"
line 117 column 114 - Warning: unescaped & or unknown entity "&Itemid"
line 123 column 1 - Warning: missing </ul> before </div>
line 208 column 48 - Warning: entity "&nbsp" doesn't end in ';'
line 208 column 55 - Warning: entity "&nbsp" doesn't end in ';'
line 209 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 209 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 211 column 66 - Warning: entity "&nbsp" doesn't end in ';'
line 211 column 73 - Warning: entity "&nbsp" doesn't end in ';'
line 212 column 65 - Warning: entity "&nbsp" doesn't end in ';'
line 212 column 72 - Warning: entity "&nbsp" doesn't end in ';'
line 217 column 43 - Warning: entity "&nbsp" doesn't end in ';'
line 217 column 50 - Warning: entity "&nbsp" doesn't end in ';'
line 121 column 1 - Warning: <div> anchor "heading" already defined
travelagent is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 03:59 PM Re: Different alignments on different computers?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
How to clear floats:
http://css-discuss.incutio.com/?page=ClearingSpace

AS for all those warnings -
- remove the non-breaking spaces you have everywhere, but if you have to have them, the correct notation is &nbsp; - gotta have the ending semi-colon.
- You can only use an ID ONCE per page, you've got <div id="heading"> at least twice. If you want to re-use it, turn it into a CLASS instead.
- You're missing the closing tag for the <ul> - put in in there !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-06-2007, 09:19 PM Re: Different alignments on different computers?
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Ok I fixed the ul issue. Working on using a class for the "heading".

Here's what I fail to understand. The rest of the warnings are from LINKS. That's not my code. That's exactly how I copied them from other sites...?

They are links to other pages. I'm suppose to fix that too?
__________________
I work on Turbo'd Honda's for fun :)
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-07-2007, 04:06 PM Re: Different alignments on different computers?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
It'd be a good idea if you did. Most code that other sites provide is subpar code at best. 99% of the time, if I want to link to something, I just create my own code...that way I know I did it right. If the site owner is picky and wants it done his/her way with his/her code and his/her code sucks, I just remove the link.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Different alignments on different computers?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.81259 seconds with 12 queries