473,385 Members | 2,004 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,385 software developers and data experts.

New Problems with Positioning

This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and the
link area on the right) the same length? Do I have to specify pixels or
is there another way around that?

2) In the main section: I'd like to make the text sit to the right of the
icons, not flow around it. I'd also like the description text to be
smaller. Hopefully the sections wouldn't overlap if the display size was
reduced.

Any suggestions, criticisms, etc extremely welcomed!

Thanks everyone!
Susan
Jul 20 '05 #1
6 1737
Susan wrote:
This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and the
link area on the right) the same length? Do I have to specify pixels or
is there another way around that?
I can only see one white section. Screenshot:

<URL:http://www.jimdabell.com/screenshots/ucm-01.png>

That was in Firebird 0.6, but it was pretty much the same in Konqueror.
There are a number of errors in your HTML, so the first step is to fix
them:

<URL:http://validator.w3.org>

2) In the main section: I'd like to make the text sit to the right of
the icons, not flow around it.
Put each paragraph into a <p> element and set the left margin on those <p>
elements. The left margin is necessary because floating elements will only
affect the line boxes, not the element as a whole.

I'd also like the description text to be smaller.


If you are using Internet Explorer, you can change your settings under
"Internet Settings", I believe. At the moment, the description text is
using 100%; that is to say that it's using the font size you have
configured your browser with. Lowering it any further may present problems
to your visitors, but if you must, then simply set the font-size property
on the <p> elements in that section.
--
Jim Dabell

Jul 20 '05 #2
Susan wrote:
This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and the
link area on the right) the same length? Do I have to specify pixels or
is there another way around that?


If you want to achieve an effect you would get with tables,
1) use HTML tables or (if you're not dealing with tabular data)
2) use CSS tables (display: table-cell), but notice that WinIE doesn't
support them.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

Jul 20 '05 #3
Oof. That is pretty horrid. Let me try to upload that once more....

Susan

"Jim Dabell" <ji********@jimdabell.com> wrote in message
news:ON********************@giganews.com...
Susan wrote:
This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and the link area on the right) the same length? Do I have to specify pixels or is there another way around that?
I can only see one white section. Screenshot:

<URL:http://www.jimdabell.com/screenshots/ucm-01.png>

That was in Firebird 0.6, but it was pretty much the same in Konqueror.
There are a number of errors in your HTML, so the first step is to fix
them:

<URL:http://validator.w3.org>

2) In the main section: I'd like to make the text sit to the right of
the icons, not flow around it.


Put each paragraph into a <p> element and set the left margin on those <p>
elements. The left margin is necessary because floating elements will

only affect the line boxes, not the element as a whole.

I'd also like the description text to be smaller.
If you are using Internet Explorer, you can change your settings under
"Internet Settings", I believe. At the moment, the description text is
using 100%; that is to say that it's using the font size you have
configured your browser with. Lowering it any further may present

problems to your visitors, but if you must, then simply set the font-size property
on the <p> elements in that section.
--
Jim Dabell

Jul 20 '05 #4
Okay, that seems to have fixed it. Please take a look now. :)

Thanks!

Susan

Jul 20 '05 #5
"Susan" <na**@nowhere.com> wrote in message
news:vg************@corp.supernews.com...
Oof. That is pretty horrid. Let me try to upload that once more....

Susan

"Jim Dabell" <ji********@jimdabell.com> wrote in message
news:ON********************@giganews.com...
Susan wrote:
This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and the link area on the right) the same length? Do I have to specify pixels
or
is there another way around that?


I can only see one white section. Screenshot:

<URL:http://www.jimdabell.com/screenshots/ucm-01.png>

That was in Firebird 0.6, but it was pretty much the same in Konqueror.
There are a number of errors in your HTML, so the first step is to fix
them:

<URL:http://validator.w3.org>

2) In the main section: I'd like to make the text sit to the right
of the icons, not flow around it.


Put each paragraph into a <p> element and set the left margin on those

<p> elements. The left margin is necessary because floating elements will

only
affect the line boxes, not the element as a whole.

I'd also like the description text to be smaller.


If you are using Internet Explorer, you can change your settings under
"Internet Settings", I believe. At the moment, the description text is
using 100%; that is to say that it's using the font size you have
configured your browser with. Lowering it any further may present

problems
to your visitors, but if you must, then simply set the font-size property on the <p> elements in that section.
--
Jim Dabell


Okie doke, most of the problems are fixed and its looking a lot better than
the first try! I've got the paragraphs set up for the descriptions and the
font size within those reduced to 80%. But how do I get it to sit next to
the icon rather than underneath it? I'd also like to make the bottom of the
two white areas to match up. Is there a way to do this that will work well
when someone resizes their screen?

Many thanks!

Susan
Jul 20 '05 #6
Jacqui or (maybe) Pete wrote:
In article <vg************@corp.supernews.com>, na**@nowhere.com says...
This time I've got a url!
http://www.wmich.edu/ucm/testing/index_pos.htm
1) How can I make the lengths of the white sections (the main area and
the
link area on the right) the same length? Do I have to specify pixels
or is there another way around that?


I thought this would be easy & knocked up :
http://porjes.haxorz.org/ucm.html
http://porjes.haxorz.org/ucm.css

Unfortunately, IE6 gets it very wrong (seems to be ignoring the left
margin on '#rest'). I don't know if anyone has a fix for that?


I encountered a bug a while back with Internet Explorer where it was
randomly dropping left margins, setting an explicit height fixed it (of
course, you'll want to override it back to 'auto' for other browsers). I
think the problem only showed itself when the page was too short for a
vertical scrollbar, and setting a height large enough to trigger the
scrollbar made the left margin appear.

This could well be what you are facing. Odd, but not unexpected really :)

--
Jim Dabell

Jul 20 '05 #7

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

Similar topics

9
by: Bryan R. Meyer | last post by:
Hello Everyone, The problem of browser resizing has become an issue for me. While redesigning my webpage, I set the left and right margins to be auto so that my content would be centered. ...
36
by: Jack Hughes | last post by:
This argument has come up two or three times lately. We have a web standards document at our company that say "Use valid HTML 4; We don't recommend switching to DIV-based CSS-P for layout just...
1
by: Frances Del Rio | last post by:
don't know if I'll succeed, have spent a lot of time already trying to figure this out: I would like to position a footer (co. name, address, etc..) at the bottom of browser page, in such a way...
9
by: Frances Del Rio | last post by:
I have a pg with lots of divs, one of them is a gray bar about 150px down from the top and 20px from the left... this bar (an image) is 767px wide and 1px high.. however, even though all divs are...
2
by: kevinC | last post by:
Hello, I know most of you are probably going seeing positioning:absolute; and centering in the title and saying, oh no! not again! Do a google search! Actually, I've found many helpful...
2
by: nonsensitor | last post by:
I'm just learning xhtml & css, primarily from westciv's online tutorials and css guide. I've run into a couple of problems with a page I'm developing that I can't figure out. The first problem is...
1
by: alice | last post by:
Can someone point me to a page that has good info on how the different browsers handle positioning? I'm finding that position:absolute works differently between Safari and IE7. Sort of ironic if...
3
Mobius Evalon
by: Mobius Evalon | last post by:
I've been staring at this problem and stabbing in the dark at it for a few hours now, and I've finally broken down to the point where I realize I need some help. I'm absolutely positioning most of...
14
by: Fistro | last post by:
I'm trying to find a design that would allow me to build web pages without having to worry about compatibility issues (not too much, in any case,,,) I've came across this CSS layout technique:...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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.