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

vertical alignment

I am trying move the stacked green blocks, so that they of lower down,
semi-covering the black bar. I want the two boxes to be stacked how they are
(although it doesn't matter which of the two blocks is at the top - the
light or dark green).

The current code is here:-

http://www.bytronic.com/tests/test4.html

Note, I want to modify only the last two styles (if possible), as the
previous ones are used for other graphs that behaved slightly differently.
Otherwise, I will have to make more classes like barType2 etc. to cover this
graph.

Thanks,
Martin

--
Martin Eyles
ma**********@NOSPAM.bytronic.com
Nov 1 '05 #1
5 1307
"Martin Eyles" <ma**********@NOSPAM.bytronic.com> wrote:
I am trying move the stacked green blocks, so that they of lower down,
semi-covering the black bar.
Sorry, I can't parse that sentence.

http://www.bytronic.com/tests/test4.html

In addition show some context so that it is clear what it is that you
are actually trying to do.
http://www.bytronic.com/


Btw, you graphics look poor due to browser resizing, don't do that, use
an image editor.

--
Spartanicus
Nov 1 '05 #2
"Spartanicus" <in*****@invalid.invalid> wrote
"Martin Eyles" <ma**********@NOSPAM.bytronic.com> wrote:
I am trying move the stacked green blocks, so that they of lower down,
semi-covering the black bar.
Sorry, I can't parse that sentence.


I want to see roughly this:-
_
| |
_|_|_
| |
|_____|
| |
|_____|
00:00:00
label
http://www.bytronic.com/tests/test4.html

In addition show some context so that it is clear what it is that you
are actually trying to do.


The context is that a program I am writing will be a web app that will
display some bar charts. Server side code will simply add heights for each
of the bars, and change the text of the labels. Here, I am just using
example heights etc.
http://www.bytronic.com/


Btw, you graphics look poor due to browser resizing, don't do that, use
an image editor.


I assume you're refering to the main Bytronic website (as there are no
graphics in the example). Any particular images - I did resize several in an
image editor, but if I missed some then it would help to have a pointer

--
Martin Eyles
ma**********@NOSPAM.bytronic.com
Nov 1 '05 #3
Martin Eyles schreef:
Btw, you graphics look poor due to browser resizing, don't do that, use
an image editor.

I assume you're refering to the main Bytronic website (as there are no
graphics in the example). Any particular images - I did resize several in an
image editor, but if I missed some then it would help to have a pointer


1st link I checked: http://www.bytronic.com/company.html
the "The solutions partner" image is resized by using browser-resizing.

--
Niek
Nov 1 '05 #4
"Martin Eyles" <ma**********@NOSPAM.bytronic.com> wrote:
http://www.bytronic.com/tests/test4.html

In addition show some context so that it is clear what it is that you
are actually trying to do.


The context is that a program I am writing will be a web app that will
display some bar charts.


Googling should produce plenty of methods to do bar charts, pick one.
>http://www.bytronic.com/


Btw, you graphics look poor due to browser resizing, don't do that, use
an image editor.


I assume you're refering to the main Bytronic website (as there are no
graphics in the example). Any particular images - I did resize several in an
image editor, but if I missed some then it would help to have a pointer


Afaics all images are resized in the browser, example pages:
http://www.bytronic.com/24maintenance.html
http://www.bytronic.com/news.html

--
Spartanicus
Nov 1 '05 #5
Martin Eyles wrote:
http://www.bytronic.com/


And then there is that horrible aqua background color.

Oh wait. That's *my* ugly default color! You need to assign a background
color to all your pages. Not everyone uses white as a default. A quick
visit to:

<http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.bytronic.com/index.html>

...and note the warnings would have shown you this.

--
-bts
-Warning: I brake for lawn deer
Nov 1 '05 #6

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

Similar topics

8
by: abracad | last post by:
Hi Is it possible to vertically align an image in the middle of a DIV of fixed height?
10
by: Markus Ernst | last post by:
Hi I have a strange problem with vertical-align. The case can be viewed at http://www.brainput.info/geschichte.html. HTML code: <div id="bild"><img src="geschichte.gif" width="274"...
3
by: Frank Wheeler | last post by:
Why am I unable to attain proper vertical alignment between a DIV and a TABLE here: http://www.whbvillage.com/agenda-archives/agendex.html The DIV is coded: <DIV style="float: left;...
1
by: Kenneth | last post by:
Okay, I've been scouring Google for hours looking for a solution to this problem, but as of yet I can't find one. XHTML Transitional seems to specify that I can no longer set a table's height to...
5
by: Rico | last post by:
I have label that I need to be vertical. The problem is that when I select "Vertical=yes" the label reads from top to bottom rather than bottom to top (which i need). Can this be done? Any...
6
by: Andy Mabbett | last post by:
Please can someone remind me of the most elegant fix for the way Firefox fails to vertically align cell content by default? For example, the second event on: ...
11
by: C.W.Holeman II | last post by:
I what to hide an input element and the following text. I have the selector for the input working and just need to grab the text following it. CSS: form{ display:table; text-align:center; }
2
by: esteuart | last post by:
I need to get the right combination for a div to clip any text inside and allow vertical alignment. I only have this problem in FireFox. I have 3 divs nested within each other. The outer div has...
8
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag:...
13
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't...
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
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,...
0
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...

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.