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

CSS Formatting issue

My apologies, Spartanicus, but your layout does not work out at all.

Any other suggestions how I can achieve this layout?

<div>
xxxxxxxxxx
x x
x IMG x
x x
x x
x x <h2>Headline</h2>
xxxxxxxxxx <h3>Subheadline</h3
<p>blablablablablabla</p>
</div>

Peter
Jul 21 '05 #1
13 1951
Peter Diedrich wrote:
My apologies, Spartanicus, but your layout does not work out at all.

Any other suggestions how I can achieve this layout?

<div>
xxxxxxxxxx
x x
x IMG x
x x
x x
x x <h2>Headline</h2>
xxxxxxxxxx <h3>Subheadline</h3
<p>blablablablablabla</p>
</div>

Peter


Check out this method which works for all:

http://www.home.golden.net/~richterf...ageLeft_1.html

--
Gus
Jul 21 '05 #2
pd*******@gmx.de (Peter Diedrich) wrote:
My apologies, Spartanicus
Hint: if you follow up to another message, use that message and not your
own, it messes up message threading. Also: quote a minimal bit of what
you are responding to and put your reply beneath it.
, but your layout does not work out at all.
It's your layout, and I told you it was broken.
Any other suggestions how I can achieve this layout?


Time to show us the actual problem instead of a non realistic ascii
drawing using bogus content. Upload an example using the real content.

--
Spartanicus
Jul 21 '05 #3
Gus Richter <gu********@netscape.net> wrote:
Peter Diedrich wrote:
My apologies, Spartanicus, but your layout does not work out at all.

Any other suggestions how I can achieve this layout?

<div>
xxxxxxxxxx
x x
x IMG x
x x
x x
x x <h2>Headline</h2>
xxxxxxxxxx <h3>Subheadline</h3
<p>blablablablablabla</p>
</div>

Peter


Check out this method which works for all:

http://www.home.golden.net/~richterf...ageLeft_1.html


Funny definition of 'all'. It works in IE5 and that's about it. In
Opera and Firefox there's a horizontal scrollbar (because the green
bordered box has a width of 100%) and in IE6 it falls apart completely
(same cause). Remove the width: 100% from .inside and it will work
better.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #4
Steve Pugh wrote:
Gus Richter <gu********@netscape.net> wrote:

Peter Diedrich wrote:
My apologies, Spartanicus, but your layout does not work out at all.

Any other suggestions how I can achieve this layout?

<div>
xxxxxxxxxx
x x
x IMG x
x x
x x
x x <h2>Headline</h2>
xxxxxxxxxx <h3>Subheadline</h3
<p>blablablablablabla</p>
</div>

Peter


Check out this method which works for all:

http://www.home.golden.net/~richterf...ageLeft_1.html

Funny definition of 'all'. It works in IE5 and that's about it. In
Opera and Firefox there's a horizontal scrollbar (because the green
bordered box has a width of 100%) and in IE6 it falls apart completely
(same cause). Remove the width: 100% from .inside and it will work
better.

Steve


Hey, I thought about changing the width to a fixed value, but decided to
leave it as is. I thought that people would have enough sense ......
guess not, huh?
The demo/example is to fulfill the OP's request and guess what, it does.
Now bitch about spelling errors somewhere.

-- Gus
Jul 21 '05 #5
Steve Pugh wrote:
Funny definition of 'all'. It works in IE5 and that's about it. In
Opera and Firefox there's a horizontal scrollbar (because the green
bordered box has a width of 100%) and in IE6 it falls apart completely
(same cause). Remove the width: 100% from .inside and it will work
better.

Steve


Aside from the fact that you're right about the width, the majority of
your response is a negative putdown of the solution. Your first sentence
sets the tone of your response. Even the ending leaves a lot to be
desired. It is the only perfect solution which you, nor anyone else,
could not come up with. Now come back with, "Funny definition of perfect".

I don't recall why I included the width at all. I did notice the overset
and contemplated a fixed value or a margin-right to compensate for the
margin-left, but left it as was since that was not the meat of the
thing. The meat is the concept. I removed the width altogether now, so
look at it again. It should be "better".

_ Peter: _ I hope that I gave you a good explanation of how the thing
works. Let me know if it meets your needs.

--
Gus
Jul 21 '05 #6
Peter Diedrich wrote :
My apologies, Spartanicus, but your layout does not work out at all.

Any other suggestions how I can achieve this layout?

<div>
xxxxxxxxxx
x x
x IMG x
x x
x x
x x <h2>Headline</h2>
xxxxxxxxxx <h3>Subheadline</h3
<p>blablablablablabla</p>
</div>

Peter


This may be something your can use. Not perfect I know, but perhaps
can be helpful....
http://mycoolfish.com/t/thing_with_the_thing.html

--
eating alone is medicinal

Jul 21 '05 #7
Gus Richter <gu********@netscape.net> wrote:
Steve Pugh wrote:
Funny definition of 'all'. It works in IE5 and that's about it. In
Opera and Firefox there's a horizontal scrollbar (because the green
bordered box has a width of 100%) and in IE6 it falls apart completely
(same cause). Remove the width: 100% from .inside and it will work
better.


Aside from the fact that you're right about the width, the majority of
your response is a negative putdown of the solution.


Because the solution failsed in three out of the four browsers I
tested it in. That demonstrates a certain lack of care on your part.
Fix the width and it worked better.

But it works with the sample copy and image size that you used.

As you used absolute positioning then it is entirely possible that in
real world situations some of the text will extend off the top of the
page and be impossible to reach with scrolling.

We don't know what the actual height of the image will be, we don't
know how long the actual heading and subheading will be. We don't know
what the user's font size will be and we don't know what the user's
window width will be.

As the heading and subheading have their _bottom_ fixed a set distance
from the _top_ of the page and as, being absolutely positioned, they
don't contribute to the height of their parent it is entirely possible
that at some point the text will extend off the top of the screen.

This is a typical downside to using aboslute positioining and one that
people should be aware of.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #8
Steve Pugh wrote:
Gus Richter <gu********@netscape.net> wrote:
Steve Pugh wrote:
Funny definition of 'all'. It works in IE5 and that's about it. In
Opera and Firefox there's a horizontal scrollbar (because the green
bordered box has a width of 100%) and in IE6 it falls apart completely
(same cause). Remove the width: 100% from .inside and it will work
better.
Aside from the fact that you're right about the width, the majority of
your response is a negative putdown of the solution.

Because the solution failsed in three out of the four browsers I
tested it in.


BS - The meat works! Point out an improvement; don't negate the whole thing!
That demonstrates a certain lack of care on your part.
My personal failings have no relevance in this thread. Perhaps you could
have added that I forgot to remove the borders (placed as an aid to
understand)? Pointing out errors and/or improvements 'politely' are
always welcome.
Fix the width and it worked better.
It works perfectly per the OPs requirements.
But it works with the sample copy and image size that you used.
At least that is some acknowledgement, thanks.
As you used absolute positioning then it is entirely possible that in
real world situations some of the text will extend off the top of the
page and be impossible to reach with scrolling.

We don't know what the actual height of the image will be, we don't
know how long the actual heading and subheading will be. We don't know
what the user's font size will be and we don't know what the user's
window width will be.

As the heading and subheading have their _bottom_ fixed a set distance
from the _top_ of the page and as, being absolutely positioned, they
don't contribute to the height of their parent it is entirely possible
that at some point the text will extend off the top of the screen.

This is a typical downside to using aboslute positioining and one that
people should be aware of.


As with most anything, there are caveats and reasonable care must be
taken to ensure that everything works as required. For example, sizing
the first heading to 144 point will cause the top half of this heading
to go irretrievably beyond the top of the screen. Also, depending on
image size and headings content, resizing the screen may also produce
undesirable results. All this is understood. So what is your point, to
never use absolute positioning and that this method is useless? Do you
have another solution?

--
Gus
Jul 21 '05 #9
Gus Richter <gu********@netscape.net> wrote:
Steve Pugh wrote:

Because the solution failsed in three out of the four browsers I
tested it in.


BS - The meat works! Point out an improvement; don't negate the whole thing!


The only negation of the whole thing is in your mind. I pointed out
that there was horizontal scrolling in Opera and Firefox and vertical
misalignment in IE6 (and surely vertical alignment is "the meat" as
you put it), and how to fix those problems.

In fact those problems create a worse visual impression than just
leaving the headings aligned with the top of the image.
That demonstrates a certain lack of care on your part.


My personal failings have no relevance in this thread.


Your, apparantly hurt, personal feelings seem to be the only reason
this thread is continuing.

I have no idea how you get from my statement about your lack of care
and attention in testing your solution to some sort of issue
concerning your personal feelings. It's a rather puzzling non
sequiter.

I've said what I wanted to say - I've pointed out the correction
needed to make your technique workable in more than just IE5 and I've
explained the potential problems with the technique in general. There
is no point in continuing the discussion.

Steve

--
"Grab reality by the balls and squeeze." - Tempus Thales

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #10
Steve Pugh wrote:
Gus Richter <gu********@netscape.net> wrote:
Steve Pugh wrote:
Because the solution failsed in three out of the four browsers I
tested it in.
BS - The meat works! Point out an improvement; don't negate the whole thing!

The only negation of the whole thing is in your mind. I pointed out
that there was horizontal scrolling in Opera and Firefox and vertical
misalignment in IE6 (and surely vertical alignment is "the meat" as
you put it), and how to fix those problems.

In fact those problems create a worse visual impression than just
leaving the headings aligned with the top of the image.


And yet still you infer here that the method is unacceptable.
That demonstrates a certain lack of care on your part.


My personal failings have no relevance in this thread.

Your, apparantly hurt, personal feelings seem to be the only reason
this thread is continuing.

I have no idea how you get from my statement about your lack of care
and attention in testing your solution to some sort of issue
concerning your personal feelings. It's a rather puzzling non
sequiter.


I said *failings* not *feelings* - you ventured into the wrong area.
BTW, it's spelled *sequitur* and there was no conclusion drawn from any
inference since you bluntly and unnecessarily point out a "lack of
care". The tone of your responses rankle.
I've said what I wanted to say - I've pointed out the correction
needed to make your technique workable in more than just IE5
Excellent contribution to remove the horizontal scrollbar.
I appreciate the quasi-approval of this method subject to your contribution.
and I've
explained the potential problems with the technique in general.
And I've pointed out that caveats and care should be understood.
There is no point in continuing the discussion.


Quite so. I'm done with this thread as well now. You were not able to
come up with this solution, so you negate it. You're unable to offer any
other solution except to change the requirements. The thread could have
been shortened if you had simply said, "Remove the width and it works
fine". Thanks for the dance.

--
Gus
Jul 21 '05 #11
Gus Richter <gu********@netscape.net> wrote:
And yet still you infer here that the method is unacceptable.
You infer. I might imply (but in this case didn't). If you want to
start a language pissing contest (as you seem to want to elsewhere in
your post) then the distinction between those two is something you
should get straight.
I said *failings* not *feelings* - you ventured into the wrong area.


Apologies for the misreading.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #12
Steve Pugh wrote:
Gus Richter <gu********@netscape.net> wrote:

And yet still you infer here that the method is unacceptable.

You infer. I might imply (but in this case didn't).


Please check your Webster's dictionary.

--
Gus
Jul 21 '05 #13
Gus Richter <gu********@netscape.net> wrote:
Steve Pugh wrote:
Gus Richter <gu********@netscape.net> wrote:
And yet still you infer here that the method is unacceptable.


You infer. I might imply (but in this case didn't).


Please check your Webster's dictionary.


If Webster's lists infer as a synonym for imply (which is how you used
it) then they are merely documenting a sloppy but widespread usage.

As the Guardian style guide succinctly puts it:
"to infer is to deduce something from evidence; to imply is to hint at
something (and wait for someone to infer it)"

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #14

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

Similar topics

4
by: brAccess | last post by:
I recently installed Access 2003 and immediately noticed problems with applications that work fine in 2000 and XP. I use conditional formatting on continuous forms for a number of reasons. When...
2
by: Megan | last post by:
Can you write conditional VBA code that affects only one or two records on a continuous subform? I have a form with a subform on it. The parent/ child field that links the forms is CaseID. The...
2
by: Alan | last post by:
I have a database I created on a network share when I print a report from my computer the printed copy contains the colors specified in conditional formatting but if I go to another computer on the...
2
by: Von Bailey | last post by:
I have a form where the conditional formatting is set on some fields to bold if certain conditions are met. However, when the conditions are met some of the data that is to bold is either not...
5
by: Andrew Chanter | last post by:
Does anyone know a way you can use conditional formatting to create a banded style view as is commonly seen on the internet. (In othe words the first record appears on a gray background, the 2nd...
9
by: sck10 | last post by:
Hello, I have a page with an ImageButton that is used to redirect to another page. When the page first opens, everything looks as expected. However, when I click on the image, the new page...
8
by: gopal | last post by:
Hi I am trying to write to log file but the formatting of string is not properly aligned in log file result The results looks some thing like this OK move.xml Successful OK ...
5
by: CarrieR | last post by:
I am working within a DB I have been devolping in Access 2003, and have encountered a report coding issue I was hoping someone could help me with: I have 18 reports, each running off some smaller...
2
by: =?Utf-8?B?VG9jbw==?= | last post by:
Hello. My goal is to pain the entire row fore color as Red. If the value of column 24 is true (boolean), I wish to paint the row as Red. Otherwise, leave row as default (no formatting). The...
6
by: Tomasz J | last post by:
Hello developers, I bind my TextBox control specyfying a format stored in my application global ApplicationContext object - it has a static string CurrencyFormat property. The problem - this...
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...
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?
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...
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
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,...

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.