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

CSS Poll. Help on code ... Example online.

Hello,

I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html

At the moment I have two problems:

1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.

2. The percentage labels is not centered in vertical

Could someone, please, help me out?

Any improvements are welcome.

Thanks,
Miguel
Oct 21 '08 #1
9 4585
In article
<5a**********************************@l64g2000hse. googlegroups.com>,
shapper <md*****@gmail.comwrote:
Hello,

I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html
Wow, Miguel, you have supplied a URL! This is a rare event in your case!
Never mind that it does not validate nor that the CSS has faults that
you can see by checking with validators.
At the moment I have two problems:

1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.

2. The percentage labels is not centered in vertical

Could someone, please, help me out?

Any improvements are welcome.
It is simply ridiculous not to use an HTML table for this. Just plain
absurd. It is so silly that it even beats every single one of John
Cleese's silly walks and all the silly walks even within the Ministry of
Silly Walks.

http://www.youtube.com/watch?v=IqhlQfXUk7w

--
dorayme
Oct 21 '08 #2
On Oct 21, 10:58*pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<5af31f2e-0b3a-40d8-bdba-79ac2bc72...@l64g2000hse.googlegroups.com>,

*shapper <mdmo...@gmail.comwrote:
Hello,
I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html

Wow, Miguel, you have supplied a URL! This is a rare event in your case!
Never mind that it does not validate nor that the CSS has faults that
you can see by checking with validators.
At the moment I have two problems:
1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.
2. The percentage labels is not centered in vertical
Could someone, please, help me out?
Any improvements are welcome.

It is simply ridiculous not to use an HTML table for this. Just plain
absurd. It is so silly that it even beats every single one of John
Cleese's silly walks and all the silly walks even within the Ministry of
Silly Walks.

http://www.youtube.com/watch?v=IqhlQfXUk7w

--
dorayme
It seems I can't even post once without hearing something ... getting
tired. Really ...

I am following this article:
http://www.alistapart.com/articles/a...avisualization

Which seems a good source when it comes to CSS ...

Anyway, if you don't want to help it is ok ...

I prefer to use lists instead of tables ... it is just a personal
option.

Thank You Anyway,
Miguel
Oct 21 '08 #3
rf

"shapper" <md*****@gmail.comwrote in message
news:43**********************************@y71g2000 hsa.googlegroups.com...
On Oct 22, 3:26 am, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<61cf0e43-94cd-455d-9f17-b0edfca3a...@a18g2000pra.googlegroups.com>,
[stuff]
>dorayme
>I see. I tried to find an example of creating a poll using tables but
I couldn't find any. Do you know such example?
<sigh>

No. dorayme, don't. You have too much time on your hands already.

>Should I post a thread on alt.html asking for the HTML markup of a
poll?
No. You should start with a <table></tableelement, fill it in as you best
can and then ask over at alt.html why it does not work.

Anybody will help you fix your code. Nobody will give you code.
Oct 22 '08 #4
On Oct 22, 12:34*pm, "rf" <r...@invalid.comwrote:
"shapper" <mdmo...@gmail.comwrote in message

news:43**********************************@y71g2000 hsa.googlegroups.com...
On Oct 22, 3:26 am, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<61cf0e43-94cd-455d-9f17-b0edfca3a...@a18g2000pra.googlegroups.com>,

[stuff]
dorayme
I see. I tried to find an example of creating a poll using tables but
I couldn't find any. Do you know such example?

<sigh>

No. dorayme, don't. You have too much time on your hands already.
Should I post a thread on alt.html asking for the HTML markup of a
poll?

No. You should start with a <table></tableelement, fill it in as you best
can and then ask over at alt.html why it does not work.

Anybody will help you fix your code. Nobody will give you code.
Please, please don't tell ... ui ui ... Jesus, I am dealing with
children.

RF, I was not asking for code!!!!! I was asking if someone knew a good
article on using tables similar to the one in AListApart since I
couldn't find any.

Back to what really matters. Yes I have my code! Here it is:
http://www.27lamps.com/Beta/Poll/Table.html

But it is still not similar to my objective which is the poll in
AListApart ...

Thanks,
Miguel
Oct 22 '08 #5
shapper schrieb:
If I remember well I had a few problems with HTML 4.01 and Google
Adsense, because of iFrame, which I need to have on this web site.
So I went to Xhtml strict ...
Do you think, XHTML 1.0 Strict contains the iframe element, whereas HTML
4.01 Strict does not?

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Oct 23 '08 #6
On Oct 23, 1:17*pm, Johannes Koch <k...@w3development.dewrote:
shapper schrieb:
If I remember well I had a few problems with HTML 4.01 and Google
Adsense, because of iFrame, which I need to have on this web site.
So I went to Xhtml strict ...

Do you think, XHTML 1.0 Strict contains the iframe element, whereas HTML
4.01 Strict does not?

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
* * * * * * * * * * * * * * *(Te Deum, 4th cent.)
I remember reading at the time something related to AdSense ...
I know I had a problem with HTML 4.01 strict that I couldn't solve but
I don't remember exactly what ...

I have been Googling for articles on this to try to remember what
issued led me to XHTML but until now ...

In a few days I will finish this and I am planning to create a version
with Html Strict and check if I can make the changes so it validates.
.... if Html 4.01 strict is really the way to go.
Oct 23 '08 #7
shapper wrote:
I am not Spanish! Guess again!
You are Portugese of course. I can normally find your nearest city, but
not in this case, at least not yet.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 24 '08 #8
You are Portugese of course. I can normally find your nearest city, but
not in this case, at least not yet.
Uh scary ... :-) ... I am from Lisbon

Oct 24 '08 #9
shapper wrote:
>You are Portugese of course. I can normally find your nearest city
Uh scary ... :-) ... I am from Lisbon
The trick is quite simple. I trace the route to the IP address that made
the post (which would normally have been yours unless you are using some
form of anonomising proxy) and if I'm lucky, the intervening IP names
would resolve to place names. If the last hop before your IP address
(typically, your ISP) had contained ".lisbon." then I would have known.
I didn't see any "local" information in your case, so you needn't worry.

If you "tracert 81.146.18.153" you'll see your traffic routed to the UK,
then to Reading. After that you don't learn anything, but Reading is
about 30Km from me.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 27 '08 #10

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

Similar topics

10
by: JDJones | last post by:
I'd like to put up two polls on my web site on a single page. I will be using a free remotely hosted poll service. That part is easy. But I want to remove the two individual <a href> links that...
17
by: Doug Holton | last post by:
George W Bush, as certified by Florida's election commission. Which decorator syntax do you like the most? See http://wiki.wxpython.org/index.cgi/PythonDecoratorsPoll A. @classmethod def...
28
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
71
by: Greg | last post by:
Is it your general opinion that C# is generally designed/intended/ready to replace C++? I know the answer is not black and white but please repond YES or NO (add any comments if you would like) ...
1
by: adamjgb | last post by:
Hi. I'm a newbie to Javascript and I have been tasked with creating an online poll to grade and/or rate a particular story that is being put out on my church's website. From what I have read, I...
0
by: jinfeng_Wang | last post by:
I have writen the following souce code : m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); m_Socket.Blocking = false; try {...
5
by: pbd22 | last post by:
Hi. I am trying to poll a long-running process via a hidden IFrame. I am noticing that the online errata gives advice for handling a server response: window.parent.handleServerResponse(); ...
4
by: 7stud | last post by:
Hi, What is the difference between: 1) getting the returncode directly from the subprocess object 2) calling poll() on the subprocess object? Here is an example:
1
by: Sunfire | last post by:
Does anybody know how to create an online poll generator? or be able to put me to a place that can help me out?
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

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.